Hi,
I use a motor (PCi 7344, Labview 7.1) and a pulley to establish a rotary motion of a ring with attached parts. This ring can rotate only about 220 degree and therefore I planed to install two limit switches. Unfortunately it is very hard to find positions for two switches and therefore I thought about using only one switch which can be triggered from both ends of the rotation. Moreover I want to use this switch as a reference point. When the ring rotates in the reverse direction the attached parts trigger the switch from one direction and a reference can be found. That idea seems to work good for my application. However, I have a problem.
First I wired the limit switch in the reverse switch input of the (UMI 7764). When I run the motor with MAX (1D-Interactive) the limit switch stopped the rotation in either direction when triggered. Also the find reference position in my LabVIEW program works. However, when I perform a move with the LabVIEW program, the switch only works in the reverse direction because no forward switch is pugged in. Since the motor rotates in the foward direction the system doesn't expect the signal from the reverse switch and it doesn't work.
Therefore I decided to wire the switch into both the reverse and the forward input of the UMI. When I trigger on of the switches MAX tells me that "botch limit switches are active". So far so good. But now does the find reference.vi not work. The system expects the reverse switch to be activated but both are... it gets confused I suppose.
Now my question: Is there a way to use only one switch for two limits and as a reference? Or do I need an extra home switch? Since I don't really have space to mount another switch I would really appreciate it there is a solution for the problem.
Thank you very much!!!
Malte