Welcome to our new forum
All users of the legacy CODESYS Forums, please create a new account at account.codesys.com. But make sure to use the same E-Mail address as in the old Forum. Then your posts will be matched.

## Calculating Stopping Position Of A servo Motor. document.SUBSCRIPTION_OPTIONS = { "thing": "topic", "subscribed": false, "url": "subscribe", "icon": { "css": "fa fa-envelope-o" } };

zeroptr
2022-07-29
5 days ago
• zeroptr - 2022-07-29

Hi All,

I have a servo motor axis can be accepted as no load on it. The motor moving at 15000 mm/s with MC_MoveVelocity (Speed can change)

If I give MC_Stop to the same axis with deceleration 45000 I want to calculate the length that motor stop, before I give the MC_Stop command..

Do we have a formula to calculate it?

Best Regards

• ph0010421 - 2022-08-02
```v^2 = u^2 + 2as

(v^2 / 2a) = s

(15000 * 15000) / (2 * 45000) = s
```

Last edit: ph0010421 2022-08-02
• zeroptr - 5 days ago

Thank's A LOT it worked.. :)

π
1
• ph0010421 - 5 days ago

I credit Isaac Newton π