SMC3_BrakeControl (FB)ΒΆ
FUNCTION_BLOCK SMC3_BrakeControl
This function block, if supported by the drive and its SoftMotion driver, it determines the behaviour of a mechanical brake. By use of this function block in the application the brake can be closed or opened or it can be switched to automatic mode, in which the opening and closing is handled by the drive itself. The function can be used if it is not possible to use the automatic mode due to special requirements (i.e. manual move of a component) of the application where the brake must be controlled manually. The function block does not take on any further monitoring or other intelligent functions (i.e. time delayed opening of the brake).
- InOut:
Scope
Name
Type
Initial
Comment
Inout
AxisInput
bExecuteBOOLFALSE
TRUE: Activates FB, else inactive.eSetBrakeSMC_BRAKE_AUTO
Sets the brake state.
fTimeOutLREALIf the time since enabling the FB is larger than this value,
bTimeOutis set; this mechanism is deactivated, iffTimeOut= 0.Output
bDoneBOOLTRUE: Signal has been sent to the drivebBusyBOOLTRUE: FB is not idle.bErrorBOOLFALSE
TRUE: Error has occured within the function block.nErrorIDSMC_ERROR0
Error identification