Motion Control and Motor Drives

cancel
Showing results for 
Search instead for 
Did you mean: 

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 ?
0 Kudos
Message 1 of 5
(3,725 Views)
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.
0 Kudos
Message 2 of 5
(3,725 Views)
The polarity settings for the limits are correct. I want to start a find reverse reference while sitting at the reverse limit (this is a situation that may happen for the user of the machine). I tried with the smart enable as you suggested but didn't work.
If flex_find_reference is used to find the home sensor while sitting at the sensor, the behavior is to slowly moves away from the sensor. Why the function dosen't have the same behavior for the reverse limit ?
0 Kudos
Message 3 of 5
(3,725 Views)
The difference between the home sensor and the limit sensor is that the limit is a safety signal more than a reference signal. However, what version of the driver/firmware do you have on ytour controller? I recall having fixed a similar problem to this when we updated from 6.0 to 6.0.1 so you could give it a try and let me know how it works. You can download this from:

http://digital.ni.com/softlib.nsf/websearch/E9123A9601A27E4F86256D900051773A?opendocument&node=132070_US

If this doesn't fix it, please let us know immediately by calling motion support at 1-800-433-3488.
0 Kudos
Message 4 of 5
(3,725 Views)
I perform the update from 6.0 to 6.0.1 and now its working.
Thanks Alex.
0 Kudos
Message 5 of 5
(3,725 Views)