SMC_CheckLimits (FB)ΒΆ
FUNCTION_BLOCK SMC_CheckLimits
This function block may be employed for checking whether the current set points
of the drive exceed the maximum values configured in the controller.
The result of the check will be indicated by output bLimitsExceeded.
- InOut:
Scope
Name
Type
Initial
Comment
Inout
AxisInput
bEnableBOOLTRUE: Starts the execution of function block.bCheckVelBOOLTRUE
TRUE: Checks the velocity.bCheckAccDecBOOLFALSE
TRUE: Checks the set acceleration and the set deceleration.Output
bBusyBOOLTRUE: Execution of function block has nor been finished yet.bErrorBOOLTRUE: Error has occurred within the function block.iErrorIDSMC_ERRORError identification
bLimitsExceededBOOLTRUE: The current set points exceed the limits which are defined within the PLC configuration and stored within AXIS_REF_SM3 (fSWMaxVelocity,fSWMaxAccelerationorfSWMaxDeceleration).