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.

Similar Messages

  • Limit switches with MID-7604

    I am trying to integrate a forward and reverse limit switch with a linear actuator. I need the actuator to find the forward limit, offset from the switch enough the disengage the switch, stop there while another task is occuring, then retract to the reverse limit, and finally offset from the reverse switch enough to disengage the switch.
    I'm able to get this procedure to work one time through when the driver is just turned on, but after it's gone through the procedure more than once, the actuators no longer offset. I'm defining the offset amount in Measurement and Automation Explorer. It appears that the "find reference" VI longer finds the forward and reverse limits after the first time because if I probe the output of the "check reference" VI, the value is false even when the actuator has stopped on the limit switch.
    Is there something I need to clear after each cycle? Any suggestions would be great. 

    Hello,
    Do you have any data acquisition board? You will need one to capture the signal and process in labview.
    If you don´t have one, you can search in NI website. The NI has several models.
    Best regards.

  • 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

  • Mid-7604 not detecting limit switch

    Hi there,
    I have a stepper motor PI M-110-2S plugged in a NI MID-7604.  I have been using this setup for about 3 years without any problems.  Now it seem t hat one of the limit switch (signal negative) is not reading anymore.  I’m not sure if the problem come from the stepper motor or the motor drive, but I need help to diagnose it.  I have tried to check the signal between pin #7 and pin #8 and I get a constant 5V.
    Any help would be greatly appreciated as my product line is down because of this problem.
    Thank you,

    AnalogKid2DigitalMan wrote:
    Have you tried to activate/deactivate the switch manually to see if there is a change of state?
    Could be a defective limit switch, what type is it (mechanical, optical, magnetic...)?
    -AK2DM
    I think that I've finally nailed it.  I have been able to try another stepper that was on another production station and it's working fine.  So the problem come from the stepper itself. The reverse limit switch doesn't seem to be working. I think the limit switch is a hall effect detector.
    I'll keep you updated.

  • 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

  • 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

  • Is possible to give a 5V input to the umi 7764 connector blick for the limit switch inputs

    I am using a umi7764 connector block for my 7344 controller. My motion control hardware provides me a 5V output in case the limit switches are enabled. But the umi 7764 connector block connections for the limit swithces are in such a way that it doesnt get any input, instead it has to be directly connected to the limit switches.Is there any way to come around this problem so that the limit switch inputs read the 5v given out by my motion control appplcation

    If your drive has individual outputs for the forward, reverse, and home switches, then you could connect these to the their respective terminals on the UMI. You will need to either disable limit functionality on one component (controller or drive) or make sure the limit behavior for the devices does not conflict with each other. It probably is best if the controller handles the limits, but this will depend on your application.
    If the drive only has one output to indicate that one of the switches has been activated, then you have fewer options. In this case, you should probably just use the limit protection on the drive and poll that single output with another input on the UMI.
    Regards,
    Brent R.
    Applications Engineer
    National Instruments

  • My iphone 5 screen has gone black in the middle of updating a app. i have tried to back it up using itunes and restore it however it will not restore my phone as i have got the app find my iphone switched on. i cannot turn it off as the screen is black

    my iphone 5 screen has gone black in the middle of updating a app. i have tried to back it up using itunes and restore it however it will not restore my phone as i have got the app find my iphone switched on. i cannot turn it off as the screen is black. can anyone help me please??

    christobell86 wrote:
    ... it will not restore my phone as i have got the app find my iphone switched on.
    You can access iCloud.com on a computer to turn it off.
    http://support.apple.com/kb/PH2702

  • Help! I've just updated my iPhone 5 to iOS 6.1.2 and I can't find the LTE switch only the 3G one.

    Help! I've just updated my iPhone 5 to iOS 6.1.2 and I can't find the LTE switch only the 3G one.
    Settings > General > Cellular *I know that the LTE switch should replace the 3G one 'cause my mom has it
    I updated it from iOS 6.0.2 I think so I skipped 6.1. Is this a possible reason (tho I doubt it)?
    is there any way to fix this?
    thank you in advance!

    Are you using an LTE enabled SIM? What carrier are you using?

  • IPhone 4S using 3G in the background,causing huge battery loss. From last three days I'm finding my phone switched off in the morning when I wake up. Please Help

    iPhone 4S using 3G in the background,causing huge battery loss. From last three days I'm finding my phone switched off in the morning when I wake up. Please Help

    Maybe you hit the power button for 5 sec while you were asleap?
    And what do you want to say us with:
    Abhijeet Gupta wrote:
    iPhone 4S using 3G in the background,causing huge battery loss.

  • How to program limit switches as on/off switches using LabView

    I am attempting to write a program in LabView (using an NI USB-6008 controller) which will turn a pump on or off based on the water level in a container.  I am using a floatation device along with limit switches (something like an electronic version of a toilet float switch) which I would like to use to signal the pump to turn on or off.  When the bottom limit switch is triggered, I want the pump to turn on and remain on until the top limit switch is triggered.  When the top switch is triggered, I want the pump to turn off until the bottom switch is triggered.  I can't just use a case structure because the pump would only stay on when the switch was actually being depressed.  After searching around, I've seen some indication that you could potentially use a toggle command, a trigger command, or an event structure to do this, but I'm not sure which (if any) would actually work best or the particulars about how to configure those commands to do what I want.  I am still learning LabView, so simplicity in answering would be appreciated.  Thank you.

    Use a state machine architecture.
    Read both digital lines for the "limit" switches. Depending on the reading, switch on or off the pump (in case a limit was triggered), otherwise, keep the status of the pump.
    As water level shouldnt rise/sink very fast (i hope), a polling time of about 200-500ms sounds reasonable.
    Norbert
    CEO: What exactly is stopping us from doing this?
    Expert: Geometry
    Marketing Manager: Just ignore it.

  • 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

  • I can't find where to switch from my internal disc burner to my external burning device

    I can not find where to switch from my internal disc burner to my external when burning music in iTunes. Please help.

    First, check to make sure it is plugged in. With all of the devices you may have and limited USB ports, you may have mistaken which is plugged in. When you pull down file to burn a CD, a pop up window should occur giving you a selection of your internal and external CD drives. If you only see your internal drive, try inserting a disc and see if you computer asks what you want to do with the CD. If so, it shows your computer is now seeing the drive. If nothing happens, try restarting your computer with your external drive plugged in.

Maybe you are looking for

  • Powerbook g4 doesn't recognize ipod touch

    i've upgraded my powerbook a bit over the past couple years and i believe it to be compliant with the specs for the use of an ipod touch. i recently upgraded to OS X 10.4.11, i have the newest version of itunes and i believe the usb ports are 2.0 (bu

  • Mountain Lion/Mavericks 'breaks' wifi base station - Snow Leopard works fine

    Greetings all, (Tried this in the OSx forum with no answers, so I figured I'd try the MacMini community and this one.) I've been reading my way toward blindness through countless threads, here and elsewhere, from countless people, having problem with

  • Problem: Can anyone help?

    Hi everyone, New to the forum and to the iPod world, got a iPod nano for my birthday yesterday and was well chuffed. The only problem I could foresee was the fact that my brother already had a reguler iPod and all the associated software installed on

  • Memory Leak Acrobat 9.3.1 Batch Conversion

    I set Acrobat to the task of converting ~3.5k text documents to PDFs, using the File | Create PDF | Batch Create Multiple Files menu option. The interface was slow handling the list of 3500 items, but it began processing them at a rate of about 1/sec

  • ITS version compatabiity with ECC 6.0

    Hi Experts, I have to install ITS (server components) at one of my client side to some transaction on web, earlier they were using R/3 4.6 and they switched to ECC 6.0 Please tel me which ITS version is comatable with ECC 6.0 I installed server compo