MC_UngroupAllAxes
Function Block A function block groups an algorithm and a set of private data. It has inputs and outputs. - Removes all axes from an axes group.
Inputs
Input |
Data Type |
Range |
Unit |
Default |
Description |
---|---|---|---|---|---|
Execute |
BOOL |
0, 1 |
N/A |
No default |
On the rising edge A 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. |
AxesGroupRef |
No range |
N/A |
No default |
The axis group from which to remove all axes. |
Outputs
Output |
Data Type |
Range |
Unit |
Description |
---|---|---|---|---|
Done |
BOOL |
|
|
If TRUE, the command completed successfully. |
Error |
BOOL |
|
|
If TRUE, an error has occurred. |
ErrorID |
INT |
|
|
Indicates the error if Error output is TRUE. See the table in PLCopen Function Block ErrorIDs. |
Remarks
-
- This function block starts a motion-related action and stores data for calculations and error checking.
See Call Function Blocks Multiple Times in the Same Cycle if using a dual-core controller.
- See Coordinated Motion, the top-level topic for Coordinated Motion.
- This function or function block does not generate any motion.
- This function block can be issued in the group states: (GroupDisabled, GroupStandby, or GroupErrorStop).
- The axes group state is changed to GroupDisabled upon successful completion.
- MC_UngroupAllAxes fails if the group is in any state other than GroupStandby or GroupDisabled.
- See Group State Diagrams for more information.
Figure 6-129: MC_UngroupAllAxes
FBD Language Example
FFLD Language Example
IL Language Example
BEGIN_IL "Instruction List" This is a low-level language and resembles assembly
CAL Inst_MC_UngroupAllAxes( ExecuteUngroup, Group1_Ref )
END_IL
ST Language Example
Inst_MC_UngroupAllAxes( ExecuteUngroup, Group1_Ref );
See Also