MC_GrpReadError
Function - Reads the Group ErrorID in state ERRORSTOP.
Inputs
Input |
Data Type |
Range |
Unit |
Default |
Description |
---|---|---|---|---|---|
En |
BOOL |
FALSE, TRUE |
N/A |
No default |
Enables execution. |
AxesGroup |
No range |
N/A |
No default |
The axes group the GroupErrorID is read from. |
Outputs
Output |
Data Type |
Range |
Unit |
Description |
---|---|---|---|---|
OK |
BOOL |
FALSE, TRUE |
N/A |
Indicates the function executed successfully. |
GroupErrorID |
INT |
No range |
N/A |
Shows the Error ID for the given Axis Group. |
Remarks
-
-
This function or function block returns cached data.
See Program a Multi-Core Controller.
- See Coordinated Motion, the top-level topic for Coordinated Motion.
- This function or function block does not generate any motion.
Figure 1: MC_GrpReadError
FBD Language Example
FFLD Language Example
IL Language Example
Not available.
ST Language Example
//Read a group error number
GroupErrorID:= MC_GrpReadError( Axis_Group );
See Also