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
Axis
Input
bExecute
BOOL
FALSE
TRUE
: Activates FB, else inactive.eSetBrake
SMC_BRAKE_AUTO
Sets the brake state.
fTimeOut
LREAL
If the time since enabling the FB is larger than this value,
bTimeOut
is set; this mechanism is deactivated, iffTimeOut
= 0.Output
bDone
BOOL
TRUE
: Signal has been sent to the drivebBusy
BOOL
TRUE
: FB is not idle.bError
BOOL
FALSE
TRUE
: Error has occured within the function block.nErrorID
SMC_ERROR
0
Error identification