07-29-2008 03:38 PM - edited 07-29-2008 03:39 PM
Solved! Go to Solution.
07-30-2008 02:28 AM - last edited on 06-08-2024 10:55 AM by Content Cleaner
Ted,
there are several potential reasons for this behavior. Here is a link that could help:
Limit Switches Do Not Work Correctly With NI-Motion Hardware
If the problem is not caused by a wrong cable as described in the link above, there is a chance, that the output impedance of your limit switch is too high. The input circuitry for limit switches on 73xx boards looks like this (for limit switches the UMI is just a passive connector block):
The 73xx boards in combination with a UMI-7764 are designed for direct connectivity to mechanical limit switches. Proximity sensors typically have a significant output impedance, which results in a voltage divider and there is a chance that the voltage at the input never drops below a value that could be detected as a low level. Please note, that the output voltage of your sensor should be between 0 and 5 V.
For proximity sensors it's not recommended to use the UMI-7764 but the UMI-7774, which has opto-coupled inputs which are compatible to typical proximity sensors.
If exchanging the UMI is not an option for you, you could try to put a resistor in parallel to your sensor to decrease the voltage level in the low state. The resistor shouldn't be too low, as this would reverse the effect (high level can't be detected anymore). You could try to find the correct value by using a potentiometer.
Still I recommend the UMI-7774 as a clean solution.
Kind regards,
Jochen Klier
National Instruments
Message Edited by Jochen on 07-30-2008 09:29 AM