MC_Halt

The MC_Halt FB leads to stopping of motion. The motion stop is always jerk-limited with the constant set input "Jerk" for the braking rate. It aborts every ongoing command by other motion FBs. Contrary to the FB MC_Stop the FB MC_Halt may be aborted by commanding another motion FB. In this case, the output "CommandAborted" is set.

The MC_Halt FB sets the "Done“ output as soon as the axis has stopped.

Block diagram

MC_Halt 1:

Parameter of the FB

VAR_IN_OUT

 

Axis

AXIS_REF

Axis reference

VAR_INPUT

 

Execute

BOOL

Start the action at rising edge.

 

Deceleration

LREAL

Value of the deceleration (always positive).

Range [1.0, 2147483647.0]
Default unit [1mm/s2 or 1°/s2]

 

Jerk

LREAL

Value of the Jerk (always positive).

Range [1.0, 2147483647.0]
Default unit [1m/s3 or 1000°/s3]

VAR_OUTPUT

 

Done

BOOL

Zero velocity reached and execute is not True.

 

CommandAborted

BOOL

Command is aborted by another command.

 

Error

BOOL

Indicates if an error has occurred.

 

ErrorID

WORD

Error identification.

Behavior of the FB