LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How to program home switch?

Hello, 

 

I have a question regarding home switch programming.

I have a motor doing a sine velocity profile with two limit switches, one on each end. There is a third limit switch in the middle (the home switch) and I'd like to program somehow that no matter when I stop the vi and the motion of the motor that this motor comes back to the home position. Is there a way to program it to slow down nicely, since its going pretty fast so not to destroy equipment by stopping abruptly? and also how to make it find a way to home switch no matter which side of the switch it is? Im using a soft motion with 9012 on cRIO 9067.

 

Thanks in advance!

 

 

 

0 Kudos
Message 1 of 3
(2,731 Views)

Use the Find Reference Move block, look at the help file for details.

 

Ben64

0 Kudos
Message 2 of 3
(2,718 Views)

Thank you, Ill try it! 

 

Regards!

 

Loras

0 Kudos
Message 3 of 3
(2,706 Views)