03-06-2017 04:59 AM
Good day.
I want to use limit switches with SoftMotion. I have NI-9503 and NI-9421 modules. I added DIO Loop for reading limit switches and switch on Forward and Revers limits in axis settings, but it`s not work. What I do wrong?
03-07-2017 05:08 PM
CMiR,
How are the limit switches not working with the application? Have you configured them in the Axis Configuration or tested this with just one axis from the example project?
Josh
Applications Engineer
National Instruments
03-09-2017 02:00 AM - edited 03-09-2017 02:15 AM
@SoarOnSon wrote:
CMiR,
How are the limit switches not working with the application? Have you configured them in the Axis Configuration or tested this with just one axis from the example project?
Josh
Applications Engineer
National Instruments
I configured them in the Axis Configuration. The motors do not stop when limit switches are reached. If I look at the status of the limit switches through the indicators, they work, but through the invoke node for the axes (read Motion I / O) the state is FWD./REV. Limit Active does not change.
03-10-2017 01:48 PM
It may be worth trying to run the example 9503 Stepper Drive (Position Profile with Encoder) without the Encoder loop to see if you can get it working on Axis 1. Then try to wire a boolean control directly into the reverse and forward limits in the Unbundle by Name function if that does not work.
Josh
Applications Engineer
National Instruments