SMC_GroupAcceptsMovements (FUN)ΒΆ

FUNCTION SMC_GroupAcceptsMovements : BOOL

Returns whether the AxisGroup will immediately accept a non-aborting movement command, i.e. whether the movement function block will immediately report CommandAccepted.

Note

  • A return value of TRUE means that at least one non-aborting movement can be accepted. If there are movements already waiting to be accepted, it is only guaranteed that the movement with the lowest MovementId will be accepted.

  • After a movement function block reports CommandAccepted, this function can be called again to check whether another movement can be accepted.

InOut:

Scope

Name

Type

Comment

Return

SMC_GroupAcceptsMovements

BOOL

Inout Const

AxisGroup

AXIS_GROUP_REF_SM3

Reference to a group of axes