From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

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,466 Views)

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

 

Ben64

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

Thank you, Ill try it! 

 

Regards!

 

Loras

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