Skip to main content
Submitted by Its_Rumble on Wed, 04/25/2018 - 13:48

Hello I am very new to Galil, currently teaching it to myself.(DMC-4143 is the controller I am using) For some experimenting I have a brushed servo jogging at a set speed. I would like to press a limit switch and have the servo move a set distance and then stop. Intro to registration move basically. The limit switch is plugged into DI4. I am running an A-M-C driver everything is tuned and I can spin the motor. Any direction would be great thanks for your time.

Comments 1

andriys on 04/27/2018 - 14:43

Hello Its_Rumble,
If you are wiring a limit switch into a digital input, you can use Input Interrupt command (II) to arm digital input that will get the controller into Input Interrupt subroutine (#ININT) when triggered.
Inside #ININT you can define motion that you want your motor to perform. For more details please see Command Reference for II and #ININT commands and User Manual for your controller.
Best regards,
Andriy Stasyuk
Applications Engineer
Galil Motion Control