Chapter 11 Motion Control Instructions
11-309
11.7 Axes Group Instructions
DMC_AddAxisToGroup
FB/FC
Explanation Applicable model
FB
DMC_AddAxisToGroup is used to add an axis to an axes group.
DMC_AddAxisToGroup
AxesGroup Done
Axis
Execute
Busy
Error
ErrorID
IdentInGroup
DMC_AddAxisToGroup_instance
Input Parameters
Function Data type
Validation timing
AxesGroup The axes group number USINT
(The variable value
changes from
FALSE to TRUE.
Axis
The axis number of the axis
which is added to the axes
group
USINT
of Section 2.2.
(The variable value
must be set)
When Execute
changes from
FALSE to TRUE.
Execute
The instruction is executed
when Execute changes
from FALSE to TRUE.
BOOL
TRUE or FALSE
(FALSE)
IdentInGroup
The Identity number of an
axis in the axes group
USINT
(The variable value
must be set)
changes from
FALSE to TRUE.
Output Parameters
Function Data type Valid range
TRUE when the instruction execution is completed.
TRUE when the instruction is being executed.
Error
TRUE when an error occurs in execution of the
instruction.
BOOL TRUE / FALSE
ErrorID
Contains the error code when an error occurs. Please
refer to section 12.2.
WORD