MC_GrpReadError
Description
This function describes general axes group errors. This function does not cause any motion.
-
-
This function or function block returns cached data. See Programming a Dual Core Controller for more information.
Related Functions
MC_GrpReset, MC_ErrorDescription
Coordinated Motion, the top-level topic for Coordinated Motion.
Arguments
Input
En | Description | Enables execution |
Data Type | BOOL | |
Range | 0,1 | |
Unit | N/A | |
Default | — | |
AxesGroup | Description | The axes group from which the GroupErrorID will be read. |
Data Type | AXES_GROUP_REF | |
Range | N/A | |
Unit | N/A | |
Default | — |
Output
OK | Description | Indicates the function executed successfully |
Data Type | BOOL | |
GroupErrorID | Description | Displays the Error ID for the given Axis Group. See table in PLCopen Function Block ErrorID Output |
Data Type | INT |
Examples
Structured Text
//Read a group error number
GroupErrorID:= MC_GrpReadError( Axis_Group );
FBD
FFLD