SMC3_BrakeStatus (FB)ΒΆ
FUNCTION_BLOCK SMC3_BrakeStatus
This function block reads the current status of a mechanical brake (if the brake is opened or closed).
- InOut:
Scope
Name
Type
Initial
Comment
Inout
Axis
Input
bEnable
BOOL
FALSE
TRUE
: Activates FB, else inactive.Output
bValid
BOOL
TRUE
: At least one value since enabling has been received.bBusy
BOOL
TRUE
: FB is not idle.bError
BOOL
FALSE
TRUE
: Error has occured within the function block.nErrorID
SMC_ERROR
0
Error identification
bBrakeClosed
BOOL
TRUE
: Brake is closed.