Chapter 6 Motion Function Blocks
6.5.7 Sets the position of all axes in the group without moving (MC_GroupSetPosition)
MC_GroupSetPosition
DoneExecute
AxesGroup AxesGroup
BOOL
BOOL
UINT UINT
Position
BOOL Relative
Busy BOOL
CommandAborted BOOL
Error BOOL
ErrorID WORD
Active BOOL
UINT ExecuteMode
Select the group to set the current position. (1 ~ 16 : Group 1 ~ Group 16)
BOOL Execute
Give group current position setting command to the relevant group in the rising
0: Position value=Absolute position, 1: Position value=Relative position
UINT ExecuteMode
0: Immediately applied the position value,
1: Applied at the same point with ‘Buffered’ of Buffermode
Indicate the state of motion function block completion.
Indicate that the execution of motion function block is not completed.
Indicate that the current motion function block is controlling the relevant axis.
Indicate that the current motion function block is interrupted while it is running.
Indicate whether an error occurs or not.
Output the number of error occurred while motion function block is running.
(1) This motion function block sets the current position of the relevant axis group.
(2) Specify the position of each axis in the group to the array. When executing this motion function block, if Relative input is Off,
the position of the relevant axis is replaced by the Position input value, and if Relative input is On, the Position input value is
added to the current position of the relevant axis. Values in the array and the axis in the group correspond in the order of [①,
②, … ⑨, ⑩]. (①~⑩ are the axis ID in the axis group)