Skip to main content
Submitted by Dominic on Thu, 01/04/2018 - 07:43

Hello, I apologize if this is a repeat topic, but I didn't see any way to search the forum for existing discussions.

In my application, I'm using a limit switch to find a home position, which I assume is pretty common. I'm getting very good repeatable results most of the time using Method 2 discussed in this application note: http://www.koenn.co.jp/galil/support/appnotes/optima/note2448.pdf

The only issue I would like to improve is the following:
- Most of the time the stepper motor behaves as I want, and stops essentially immediately upon activating the limit switch (I set deceleration to maximum inside the limit switch interrupt handler).
- However, once in a while, maybe one out of 10 trials, the motor does not stop immediately, it just coasts to a stop and ends up traveling much further and slamming into the body of the limit switch.

How can I eliminate this occasional coasting to a stop behavior?
- I have checked that OE is set to 1, not 3, so limit switch should not cause the motor to turn off.
- Are there any other settings I need to check?

Thank you very much!

Dominic

Comments 2

andriys on 01/04/2018 - 09:58

Hello Dominic,
To help you with this problem I would need more information on what hardware you are using and how your system is setup.
Please email support at galil.com so we can troubleshoot the issue you are experiencing.
Thank you,
Andriy Stasyuk
Applications Engineer
Galil Motion Control

Dominic on 01/04/2018 - 11:51

Thank you, I will email support with more information.

Dominic