SMC_ChangeDynamicLimits (FB)¶
FUNCTION_BLOCK SMC_ChangeDynamicLimits
Sets the dynamic limits (velocity, acceleration, jerk) for an axis.
May only be called if the axis is in state power_off or standstill.
- InOut:
Scope
Name
Type
Comment
Inout
AxisInput
bExecuteBOOLRising edge: Changes the limits.
fMaxVelocityLREALThe maximum velocity in [u/s]. Must be positive.
fMaxAccelerationLREALThe maximum acceleration in [u/s²]. Must be positive.
fMaxDecelerationLREALThe maximum deceleration in [u/s²]. Must be positive.
fMaxJerkLREALThe maximum jerk in [u/s³]. Must be positive.
Output
bDoneBOOLTRUE: New limits have been set.bErrorBOOLTRUE: An error has occurred.bBusyBOOLTRUE: The function block is in operation.ErrorIDSMC_ERRORError identification