Axes group enabled
This section describes enabling an axes group.
Control details
Specify AxesGroup and change the axes group status (AxesGroupName.Md.GroupStatus) into the "4: GroupStandby" status.
• An axes group can start the motion FB only when the axes group status (AxesGroupName.Md.GroupStatus) is the "4:
GroupStandby" status.
• MC_GroupEnable can be executed only when the axis status (AxisName.Md.AxisStatus) of all configuration axes is the "4:
Standstill" or the "0: Disabled" status.
• When an axes group is set to the "4: GroupStandby" status, AxisName.Md.UseInGroup of the configuration axes becomes
TRUE.
• When specifying another axes group including a configuration axis which is AxisName.Md.UseInGroup and executing
MC_GroupEnable, the error "Axis Status Incorrect (When Axis Group is Valid)" (error code: 3494H) will occur.
• If the error occurs in any of the configuration axes, the axes group status (AxesGroupName.Md.GroupStatus) will be "1:
GroupErrorStop".
■Timing chart
[When the operation is normally completed]
AxesGroupName.
0: GroupDisabled
Md.GroupStatus
Execute
Busy
Done
Error
ErrorID
[When an error occurs]
AxesGroupName.
Md.GroupStatus
Execute
Busy
Done
Error
ErrorID
0
■Details of setting items
• Done (Execution completion)
It turns TRUE when the axes group status (AxesGroupName.Md.GroupStatus) has turned to "4: GroupStandby".
• Busy (Executing)
It turns TRUE during instruction execution. It turns FALSE after the axes group status (AxesGroupName.Md.GroupStatus)
turns to "4: GroupStandby".
• Error (Error)
It turns TRUE when an error occurs in this FB.
• ErrorID (Error code)
It returns error code of the error occurred in this FB.
4: GroupStandby
0
0: GroupDisabled
Error code
0
1
1 AXIS SETTING
57
1.5 Axes Group