MC_GrpHalt

PLCopen motion icon Pipe Network motion icon

 Function Block - Performs a controlled motion stop of all axes in the group.

Inputs

Input

Data Type

Range

Unit

Default

Description

Execute

BOOL

FALSE, TRUE

N/A

No default

On the rising edge, the command to halt all of the axes in the group is initiated.

AxesGroup

AXES_GROUP_REF

No range

N/A

No default

The axes group the axes are stopped in.

Deceleration

LREAL

No range

User unit/sec2

No default

The path deceleration rate for all axes in the group.

  • If Deceleration is 0 or negative, the deceleration parameter of the active move is used.
  • If Deceleration is less than the deceleration of the active move, the deceleration parameter of the active move is used.
    • This guarantees the stop action completes before the endpoint of the move is reached.
  • See Limitations on Acceleration and Jerk.

Jerk

LREAL

No range

User unit/sec3

No default

The path jerk for all axes in the group.

  • If Jerk is negative, the jerk parameter of the active move is used.
  • If Jerk is zero, then zero jerk is used.
  • If Jerk is less than the jerk of the active move, the jerk parameter of the active move is used.
    • This guarantees the stop action completes before the endpoint of the move is reached.
  • See Limitations on Acceleration and Jerk.

Outputs

Output

Data Type

Range

Unit

Description

Done

BOOL

FALSE, TRUE

N/A

If TRUE, the command completed successfully.

Busy

BOOL

FALSE, TRUE

N/A

TRUE from the moment the EXECUTE input is TRUE until the halt is complete.

Active

BOOL

FALSE, TRUE

N/A

If TRUE, the halt is still executing.

CommandAborted

BOOL

FALSE, TRUE

N/A

If TRUE, the command was aborted by another function block.

Error

BOOL

FALSE, TRUE

N/A

If TRUE, an error has occurred.

ErrorID

INT

Enumerated

N/A

Indicates the error if Error output is TRUE.

See PLCopen Function Block ErrorIDs.

Remarks

Figure 1: MC_GrpHalt

FBD Language Example

FFLD Language Example

IL Language Example

Not available.

ST Language Example

Inst_MC_GrpHalt ( EnableHalt, Group1_Ref, Deceleration, Jerk );

See Also