Automatically Stopp...
 
Notifications
Clear all

Automatically Stopping on Limit Switches

1 Posts
1 Users
0 Likes
134 Views
(@mcconchiesm)
Posts: 0
New Member Guest
 

I have a motorized gantry where the vertical motion is performed with a SM34165DT-C motor running firmware version 5.0.1.0. The gantry has two Micro Switch LSP1A limit switches installed at the top and bottom of the travel. The switches are currently wired as closed with pin 13 on the I/O port passing through both switches and back to pins 3 and 4. Via the SmartMotor Playground software, I have confirmed that the IN() word knows when the switch lever has been actuated and have a working homing program that can use either IN(2) or IN(3). Is there a way to have the motor detect when the IN(2) and IN(3) changes value during normal motion (not during the homing routine) and stop immediately? Or is there a better way to detect when a lever on a limit switch has been actuated?

In case it's relevant, a custom LabView program uses the CANBus protocol control motion. The same program calls custom subroutine on the motor when the user wants to home the gantry.

I read through the forum topic "Information needed for Right/Left (+/-) Limit input use", but I am unsure if it applies to my case.

Thanks in advance,
Seth

 
Posted : 28/01/2020 6:01 am
Share: