Limit Switches and Contour Moves.

 I am developing a 4 axis contour motion system and need to know how to handle if one of the axis activate a limit switch.  Does the activated axis have to be moved off the switch so the contour move can continue or can you move it off with a co-ordinated contour move?
Configuraton
LabVIEW 2013 SP1
Softmotion 2013
cRIO Crate
NI 9514 C Series Servo Drive Interface with Encoder Feedback (all 4 axis_
Paul

The controller that I am developing is a four-axis inspection delivery tool. It is made up with a vertical pole that can be moved up and down and rotate. At end of the pole there is an "arm" that can be raised and lowered; the arm can also rotate +/-45 degrees. What I want to do is to move 2 to 3 axis simultaneously so the tool end can travel along set paths. For example if the tool end is to move horizontally, the arm has to be raised (rotated) while the overall tool is lowered. To calculate the coordinated time path of each axis, I use an inverse kinematic calculation that creates a table of positions (for each axis) with the set time interval, thus the use of multi-axis contour move.
The problem that I am worried about but have not had a chance to test, is what happens when on the axis activate a limit switch, say for example the tools vertical upper or lower travel limits. With standard single axis point-to-point movement, you can always command to travel off the limit (but not through it) but it is not clear what will happen when using contour moves (single or multiple-axis). Thus the question, how to handle, when one of the axis of a coordinated contour move motion activates a limit switch.
Cheers
Paul

Similar Messages

  • Axis getting stuck at limit switch

    Hi all,
    The problem I'm having is that although I can control the position of the axis fairly well, if it hits a limit switch, I can't get it to move from there. It's a stepper motor controlled by a PCI-7344. I have forward and reverse limit switches as well as a home switch. I actually have two axes doing the same thing. They are facing each other so while one stepper has a positive rotation and the other a negative, they both turn the same way, if you get what I mean. Anyway one of them is working fine and stops at the limits and comes back at the next command, but the other stops and thows up a 70119 error when I try to get it to move back from the limit. I'm pretty sure everything (ie. limit switches) is wired up correctly so assuming it is, can anyone make a suggestion as to what the problem could be???
    Thanks,
    Damo.
    PS. OMG robot smilies!!!!

    Error 70119 means:
    In general this error occurrs, if you either try to move further into the active limit switch or if you try to move out of an active limit switch while the forward limit switch is connected to the input of the backward limit switch and vice versa.
    If you are 100% sure that the wiring is correct, please check the version of your NI-Motion driver and the board's firmware. In NI-Motion 6.0 there was an issue with this error that was fixed in later versions. The current version of NI-Motion is 7.6.
    I hope this helps,
    Jochen Klier
    National Instruments

  • Finding reverse limit switch

    When I issue a flex_find_reference to search for the reverse limit switch and this switch is active I get a modal error -70119. If the switch is not active, the the functions finds the reverse limit without errors. Is this the correct behaviour for this situation ?

    This behavior would be normal if activating the limit also sets it to the state where it would be when the stage enters the limit. This will depend on the polarity that you have configured for the limit switch. An easy way to figure this out is to go inside Measurement and Automation Explorer and under the motion controller settings go into the 1-D interactive advanced panel. If the light for reverse limit is red even when the limit is disabled, it means that you need to change polarity configuration under Axis Configuration and reinitialize your board. You will now be able to run a find reference without getting the error. Also know that if you start a find reference while sitting at a limit (e.g. find forward limit while sitting at reverse limit), you will get this err
    or unless you disable the limit when you first start the move and enable it after half a second or so to ensure that the switch has been cleared. This is easily done by clicking on the Smart Enable/Disable box under the find reference configuration in MAX.

  • How to find center using software limit switches

    Hi,
    I'm using 3 stepper motors w/ incremental encoders (by Agilent technologies), NI 7344 board and NI MID-7604 power controller.
    I don't have hardware limit switches and I don't have a need for them. I found the software limit switch option under MAX and tried configuring them. I've been testing with LabView's One Axis Find Reference with Status Monitor.vi and I'm having problems.
    Under max my motors are configured as closed loop/absolute position/2000 steps per cycle. I set my software limits to 2000 forward and -2000 reverse. In the vi i'm specified Find Center under search type and the motor just seems to keep turning in clockwise direction and then abruptly stops with a modal error: -70166 saying that the axis tripped on the following error.
    I would greatly appreciate detailed information on what I may be wrongly configuring in MAX and how to do it properly. Thanks in advance.
    -Roman

    Hello Jochen,
    I have a correct setting for my encoder counts and my steps per revolution. I have manually checked the rotation and the encoder outputs 1600. That is the number I have set.
    I'm using the load software limits vi and I'm not having any luck with this. I'm including my vi for your review. Your help is greatly appreciated.
    Roman
    Attachments:
    One-Axis Find Reference with Status Monitor.vi ‏120 KB

  • Limit switch to reverse motor movement problem

    Hi guys, recently i am trying to create a robot that uses RF controller, arduino and labview. The issue i facing now is i am unable to trigger my limit switch to make my motor movement reverse when it hits on it. For normal motor trigger from lab view, it is working perfectly. But when comes to limit switch, it has no response. The following files is my VI and arduino coding. For the arduino coding, lets just focus on case '1' since the triggering is not yet complete. The motor i use is only a normal DC motor without encoder and connected to a L298 board. Is it my VI problem?
    Attachments:
    Movement Control Key control5.vi ‏70 KB

    1. Basically, i just remove it?
    2. The limit switch is wired like a (pull up resistor concept) and connected to other digital port in arduino. It sends signal into interupt the motor movement.
    case '1': //if the controller type f
    Serial.println("forward");
    if (switch1 == HIGH)
    digitalWrite(en1,HIGH);
    digitalWrite(en2,HIGH);
    digitalWrite(en1o2,HIGH);
    digitalWrite(en2o2,HIGH);
    digitalWrite(in1,LOW);
    digitalWrite(in2,HIGH);
    digitalWrite(in3,LOW);
    digitalWrite(in4,LOW);
    digitalWrite(in1o2,LOW);
    digitalWrite(in2o2,LOW);
    digitalWrite(in3o2,LOW);
    digitalWrite(in4o2,LOW);
    //delay (500);
    3. The motor is control via wireless; controlled from labview which i assign the key 1,2,3,4

  • Contoured move and move constraints

    The NI-Motion User Manul tells' A contoured move moves an axis or a coordinate space of axes in a pattern that you define. The trajectory generator on the motion controller is not used during a contoured move. The controller takes position data in the form of an array, and splines the data before outputting it to the DACs or stepper outputs' and ' The move constraints commonly used to limit other types of moves, such as maximum velocity, maximum acceleration, maximum deceleration, and maximum jerk, have no effect on contoured moves. However, the NI Motion Assistant prototyping tool can remap a user-defined trajectory based on specified move constraints, preserving move characteristics and move geometry.'. How the move constraints works in NI motion Assistant prototyping tool in  the contoured move?

    Thanks. Can I get the output position data of Smart Contouring?
    In the contoured move, the motion time between two continous points is the sampling period, is it correct? I am really confused with the stepper motor controll by 7344 using closed-loop control.
    I developend an interpoaltor in which I set the time interval between two sequential interpolated point is 1ms and this value can be changed. To get the smaller chorderror, the time interval also should be small. When I do the experiment using contoured move (stepper motor +7344 +closed loop), the velocity is very slow. I think the reason is that time interval of the control loop is much bigger than the  time interval used in the interpolator. This means the motion time between two sequential point is increased consequently decreases the velocity. Anyway I am not sure about this. Is anyone has any idea?
     ^_^

  • How to include limit switches into my control loop and how to access them through Labview

    I'm developing a six degrees of freedom machine with servo motors,UMI flex6 and Labview-5.1.I was unable to access the limitswithes.So I would like to know the connections diagram,UMIflex6 board settings and the Vi's to be included in the program.please help me out in solving this problem.

    Hi Kolakanuru,
    Thanks for using our discussion forums. How you connect your limit switches depends on what type of motion board you are using. For example, if you look at the connection diagram for a PCI-7344, you can see that Forward Limit switches connect to pins 39, 45, 51, and 57. These will then pin out directly to the UMI. For the connection diagram for your particular motion control board, you can go to www.ni.com/manuals and pull up the necessary information. In regards to reading this in LabVIEW, the first thing you will want to check out is Measurement and Automation Explorer. In the interactive windows for your board, you can check the limit switch status there- Press your limit switch on and off and make sure that it changes the LED in MAX. Once that i
    s all set, then you can go into LabVIEW and use the "Read Limit Status" VI which you can find in Functions>>All Functions>>NI Measurements>>Motion>>FlexMotion>>Motion I/O palette. Good luck with your application.
    Regards
    Dan
    National Instruments

  • I am getting a lot of static when using Brookstone wireless headphones and watching movies on the Apple TV. I know it is not headphones, because they work fine when I switch it to cable TV, then the sound is clear with no static. Any suggestions?

    I am getting a lot of static when using Brookstone wireless headphones and watching movies on the Apple TV. I know it is not headphones, because they work fine when I switch it to cable TV, then the sound is clear with no static. Any suggestions? Which wireless headphones work best with the apple TV?

    Ok so I've been doing more testing. It's all videos on the iTunes store. Anytime I try to download a podcast or stream it or anything it's super slow. To download an episode of Diggnation it tells me over 2 hours to download but the time keeps climbing and I just stop the transfer.
    Some people said it's an Open DNS thing? Maybe it is but it's not computer specific and I couldn't find a way to change the DNS settings in my Airport, only on each computer. I tried deleting PLists and restoring my Apple TV and restoring my Airport and nothing is working.
    I don't know if it an issue with me, my ISP or Apple. Anyone else experiencing this problem?

  • Start the program when an external limit switch change its position

    i have a DAQ card 6036E and have a limit switch.
    my problem is:
    when certain contact of limit switch is open, certain loop is work, and when the contact change its status the first loop stop and a second loop starts.
    for details
        limit switch contact open & i press start of the program
               loop one stars which is 10V analog output
                       the limit switch contact closed
                              loop one stops and loop two starts which is (digital out + 5V analog out)
    thank you

    Hello Nick F,
    Thank you very much for your reply and i am so sorry for less details of my previous message so, here more discussion:
    I control the position of a reobatic arm, at starting of the program the arm may be in any position so i must move the arm to a referance position by making a program to give analog 5V through analog output pin of the DAQ to the to the DC motor controller card to then to the motor which drive the arm, when the arm arrives to its referance position  hitting a limit swich which will give a digital signal to digital input pin of the DAQ, here, my object is to stop the obove program (or loop) to stop the arm, at the same time i want to run another program or another while loop on the same program which is an LV example (control single channel.vi) (which is an PID controller program to move the arem to a desired position.
    that's all
    please reply me quickly
    thank you 

  • How to partial stroke a valve using limit switches

    Hi there. I am trying to write a small piece of code which will allow me to perform a partial stroke on a valve from the open position. To perform this test, the valve has to be in the open position, and a partial stroke button needs to be pushed once. Once the partial limit switch indicates high, the valve should return to open. This is done by energising/de-energising a solenoid. The solenoid is energised when the valve is open.
    This is the first time I have used labview and I am struggling to write any code. By using the manuals, I have managed to acquire and write signals, but I am struggling with the logic for this test. I realise this will probably be pretty simple for experience users, so any examples and or advice would be good.
    Thanks.

    Thanks Jeff,
    I have had a look and tried to implement. It works ok for the partial closure part, but I also have a seperate switch for basic open close functionality, and the partial limit switch will also go high as it moves from close to open. How would I go about adding this switch so that my logic still works?
    ie. Switch 1 = Valve open (high) Valve Closed (low). Solenoid is energised to go high, de-energised to go low.
         Switch 2 = partial closure switch. the valve must be open for this operation to be allowed. When this switch is pressed, the solenoid is de-energised until it hits the partial closure limit switch. the solenoid then re-energises and the valve returns to open position.
    Attached is something an old collegue used to perform partial closures. I think he used timing here. I would like to use the partial limit switch to re-energise during my test rather than timing. Can you advise how to modify this code to do this?
    Attachments:
    Example FAT.zip ‏95 KB

  • Limit switches not working as expected

    I'm currently testing my Servo system using MAX. Using the 1D-axis I'm commanding the motor to go through a limit switch. When the limit switch is detected (status goes red) the controller ignores this and carries on to complete the move. Once the command is completed the controller will not allow another move further into the limit but will allow a move out of the limit. This to me confirms that I have wired the limit switches correctly. I do not understand why the PCI-7344 isn't immediately halting the move as soon at the limit switch is detected?
    In addition is there a way configure the default setting to issue a KILL axis signal rather than a HALT on detection of a limit switch?
    Thanks
    Steve

    Hi Steve
    Do you have the inhabit switch enabled in MAX? This should kill the axis signal. Take a look at this I think it might help.
    Regards
    Beejal
    Beejal S
    NI UK & Ireland

  • I used to open many tabs in the same page and i move from one to other by mouse but since3 two days the tabs open in the same page normaly but i can't move from one to other when i clik with mouse on any tab it don't open/ do u have any solve for this?

    i used to open many tabs in the same page and i move from one to other by mouse but since3 two days the tabs open in the same page normaly but i can't move from one to other when i clik with mouse on any tab it don't open/ do u have any solve for this

    Start Firefox in <u>[[Safe Mode|Safe Mode]]</u> to check if one of the extensions (Firefox/Tools > Add-ons > Extensions) or if hardware acceleration is causing the problem (switch to the DEFAULT theme: Firefox/Tools > Add-ons > Appearance).
    *Do not click the Reset button on the Safe mode start window or otherwise make changes.
    *https://support.mozilla.org/kb/Safe+Mode
    *https://support.mozilla.org/kb/Troubleshooting+extensions+and+themes

  • HT1688 I have a PC computer and an I-phone 4s.  I set up an i-tunes acct online w/ icloud.  after a recent update my computer started receiving an error message on start up.  it says "AppleSyncNotifier.exe - Entry Point Not Found".  I click OK and it move

    I have a PC computer and an i-phone 4S.  I set up an i-tunes acct online w/ icloud.  After a recent update my PC started receiving an error message on start up.  It says "AppleSyncNotifier.exe - Entry Point Not Found".  It also says, " The procedure entry point smlTextreaderConstName could not be located in the dynamic link library libxml2.dll".  I click on OK and it moves on.  It doesn't seem to affect my computer, but it's annoying.  Any ideas on correcting this?

    UPDATE - (Made a second post so it'd be clearer)
    I uninstalled Office 2003, then iTunes, then all of the associated software (Mobile Device Support, Apple Update, Quicktime, EVERYTHING)
    Reinstalled Office 2003, then Office 2003's Service Pack 3, then all Microsoft Updates for Office 2003. Then I configured a blank Outlook profile, no data other than the IMAP info for my .Mac/Me account. Then I downloaded (didn't used my existing copy) of iTunes 7.7 and reinstalled. Sync'd phone. Changed MobileMe settings. Told it to sync contacts and calendar with Outlook. It warned me because it was the first sync. Told it to take ALL of the MobileMe data and replace the data on the computer (which was blank.) NOTHING showed up in Outlook. When I tell it to sync Contacts with the Windows Address Book, it works fine.
    In Conclusion, it still won't sync with Outlook, when it's set to Sync with Outlook I still get the annoying MAPI errors. So I switched to to Sync the Contacts with the Windows Address Book, and I'm backing up my WAB file now with my nightly backups.
    I suppose we'll see if it gets fixed when I format/reinstall on Vista Ultimate in the next month or two. If anyone has any suggestions, I'm open and willing to try them.
    On a completely unproductive note: Despite my love for Exchange, I hate MAPI.

  • What's the easiest way to create a new VLAN and then move all existing devices to it?

    One of our locations was implemented using VLAN1 as the main (native) VLAN. My goal is to create a new sub-interface on the router and then move all the existing switches (all Layer 2) into the new VLAN, without disrupting the network (and remotely). I am trying to determine the best way to proceed. Thanks.

    I wanted to shed a little more light on the situation. The "new" VLAN has actually been in existence since the network was initially setup. The network runs VTP and the new VLAN already has an interface on the router and already shows up on all the switches when you do a "sh vlan" command. We have about 10 VLANs in all. In reality, I am simply trying to migrate about 8 switches from VLAN1 (which they never should have been on) to the new VLAN. I know that I need to create an interface for the new VLAN on each of the switches and then swap the management IP to that interface. If I could connectly directly into each switch via the console port, this would be a simple task. However, the switches are in extremely remote locations with special circumstances, thus I have no physical access to them. This fact has me a little reluctant to making the changes, as we can't afford any mistakes that would potentially cause network downtime. I am looking for some guidance on exactly the steps to take to achieve my goal. Let's call the new vlan, VLAN2. During testing, I logged into a local switch that was on VLAN1 (that's where it had it's management address). It did have VLAN2-VLAN10 as well, via VTP. I created an interface for VLAN3 on the switch and then accessed it via VLAN3 to swap the main management interface from VLAN1 to VLAN2. The changes took, but I couldn't access it via VLAN2. I am assuming this is because the router still has VLAN1 listed as the native vlan and the VLAN2 IP address is still assigned to VLAN1 on the router. What would be the best way for me to make the required changes on the 8 switches that need swapped, without losing remote access? It wouldn't hurt if the network went down for 5 minutes or less, but we can't have a big outage. Thanks.

  • Home setup - network switch and 2 Time Capsules

    I have an ADSL modem/router (Billion BIPAC 5200G). I have used it previously with wireless turned off. I then used a time capsule  in bridge mode so that NAT etc is turned off, and then use it to broadcast wifi and as a backup. It is attached to the modern with ethernet. It worked fine.
    I am now in a house with a lot of ethernet ports, linked to a massive hub thing. But it needs a switch to link it all together.
    So I am thinking of this setup:
    PHONE LINE
    to
    BILLION ROUTER (Set as a router with wifi turned off)
    to
    NETWORK SWITCH
    to
    VARIOUS ethernet enabled devices in different rooms (i.e. printers, Apple TV, TV, Time capsule)
    Then I want to use my 2nd time capsule to extend my ground floor network by plugging it in essentially directly into the time capsule via ethernet in roaming mode.
    Is this the optimal setup for this? My other idea was to forgo the network switch and do it this way:
    PHONE LINE
    to
    BILLION ROUTER (Set as a router with wifi turned off)
    to
    VARIOUS ethernet enabled devices INCLUDING the TIME CAPSULE and PRINTER.
    then:
    To the TIME CAPSULE:
    to
    VARIOUS ethernet enabled devices INCLUDING Imac, Apple TV and another TIME CAPSULE in roaming mode.
    My main questions are: which setup will give me better speeds to all devices. Ie: is the switch even necessary? In my 2nd example, will the first time capsule and printer be available to the Imac.
    There seems to be no real advantage to having the TIME CAPSULE in router mode while keeping the BILLION ROUTER as a pass through with NAT off (To avoid Double NAT) except for the guest network capabilities.
    If its just simpler to have the network switch, then perhaps that's the way to go. If so: any suggestions on network switches that work well?

    It doesn't allow me to select ethernet as an option for internet connection, only dchp, ppoe and one more which isn't ethernet.
    DHCP is correct setting. .it will use ethernet but the new AC TC has problems.. it needs a crossover cable with some switches. Or you need to return it and get it replaced as there is something wrong with its wan port.. the new AC model needs a hardware revision and about 3 or 4 firmware upgrades before it hits the status of the Gen4 it replaced.
    My questions are: should I connect my time capsules together directly with ethernet using another available port in my new time capsule. I thought my switch would work better. Also, does one time capsule have to be in router mode instead of having both of them in bridge.
    Both should be in bridge.. but you can rearrange things to see if any of the other devices works better.
    You can use the billion or the old TC.. plug the new TC into those.
    Bob is correct though.. the switch is the correct thing for everything to be plugged into .. but in home situation what works is more important than what is best. It if fails in all of them then the WAN port is proven faulty.
    Should I be able to use the hdd on the 2nd (older) time machine as essentially a networked hdd for putting movies and music on, and use my new time capsule as the sole backup (occurring both over ethernet for my iMac and wifi for our laptops)
    Yes, that is ok.. you just need to get the AC version TC actually working properly.
    Give us a few screenshots of things.. that really helps to see.
    Click on each unit and show the summary pages.

Maybe you are looking for

  • All I want to do is sync one video file from my computer to the iPad

    Hi all- I ripped a "test" mpeg4 video on my home computer that I want to transfer to my iPad. That's all I want to do. I "assume" that this test video has to be placed in a folder somewhere on my main computer's hard drive so that iTunes "sees it" an

  • How can I rotate a screen image on a peripheral monitor?

    I have a MacBook that runs OS 10.5.8.  I bought a Samsung monitor for it that rotates 90 degrees so that I could use certain very large files. The last time I used the MacBook, I used it with  the image rotated 90 degrees (so that the screen is about

  • Adobe Reader X - Format lost during Control+C, Control+V

    I use Adobe Reader X (version 10.1.3.23) to read my manuals in PDF format. Here is an example of those manuals : http://www.redbooks.ibm.com/redpapers/pdfs/redp4815.pdf Whenever i try to copy some code or text from those manuals like the results of c

  • Fatal error when importing Photoshop PSD files in Captivate 5.5 MAC

    Hello, I'm running Captivate 5.5 Trial on MAC OS X Snow Leopard. All of a sudden one of my PSD files started causing a fatal error when I try to import it into Captivate. I tried resaving both captivate and PSD file, saving them under different names

  • Problem with the Moushwheel

    I just download the newest firefox on win7,when I use it I get a problem never happened before with other browsers.My moush is logitech m705, the moushwheel can scroll fast,and the page scrolls fast too,when I stop scrolling, the wheel will not stop