SMC_BrakingDistance (FUN)ΒΆ
FUNCTION SMC_BrakingDistance : LREAL
Computes the (signed) braking distance from a given velocity and acceleration to velocity 0 and acceleration 0. The signed distance is the difference between the position where standstill is reached and the current position.
- InOut:
Scope
Name
Type
Comment
Inout Const
AxisInput
v0LREALVelocity at start
a0LREALAcceleration at start
DecelerationLREALMaximum deceleration in u/s^2 (positive)
JerkLREALMaximum jerk in u/s^3 (positive)
Return
SMC_BrakingDistanceLREAL