MC_UngroupAllAxes
Description
MC_UngroupAllAxes removes all axes from an axes group. This function block can be issued in the group states: (GroupDisabled, GroupStandby, or GroupErrorStop). The axes group state will be changed to GroupDisabled upon successful completion. This function block does not cause any motion.
-
-
MC_UngroupAllAxes will fail if the group is in any state other than GroupStandby or GroupDisabled.
Refer to Group State Diagrams for details.
Figure 7-163: MC_UngroupAllAxes
Related Functions
MC_AddAxisToGrp, MC_RemAxisFromGrp, MC_ErrorDescription
Coordinated Motion, the top-level topic for Coordinated Motion.
-
- This function block starts a motion-related action and therefore stores data for calculations and error checking. Please see Calling Function Blocks Multiple Times in the Same Cycle if you are using a dual-core controller.
Arguments
Input
Execute | Description | On the rising edgeA rising edge is the transition of a digital signal from low to high. It is also called positive edge, request to remove all axes in the axes group |
Data type | BOOL | |
Range | 0, 1 | |
Unit | n/a | |
Default | — | |
AxesGroupRef | Description | The axis group from which to remove all axes |
Data type | AXIS_GROUP_REF | |
Range | n/a | |
Unit | n/a | |
Default | — |
Output
Done | Description | If True, then the command completed successfully. |
Data type | BOOL | |
Error | Description | If True, an error has occurred |
Data type | BOOL | |
ErrorID | Description | Indicates the error identifier if 'Error' output is set to TRUE. See the table in PLCopen Function Block ErrorID Output. |
Data type | INT |
Examples
ST
Inst_MC_UngroupAllAxes( ExecuteUngroup, Group1_Ref );
IL
BEGIN_IL"Instruction list" This is a low-level language and resembles assembly
CAL Inst_MC_UngroupAllAxes( ExecuteUngroup, Group1_Ref )
END_IL
FBD
FFLD