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 manu­ally. 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

AXIS_REF_SM3

Input

bExecute

BOOL

FALSE

TRUE: Activates FB, else inactive.

eSetBrake

SMC3_BrakeSetState

SMC_BRAKE_AUTO

Sets the brake state.

Output

bDone

BOOL

TRUE: Signal has been sent to the drive

bBusy

BOOL

TRUE: FB is not idle.

bError

BOOL

FALSE

TRUE: Error has occured within the function block.

nErrorID

SMC_ERROR

0

Error identification