MC_GroupReadError
The function block MC_GroupReadError returns the error code for the group. It does not return any errors for function blocks (e.g. invalid parameterization).
TF5410 | TF5420 | |
---|---|---|
| MC Group with Pick-and-Place | MC Group Coordinated Motion |
|
Inputs
VAR_INPUT
Enable : BOOL;
END_VAR
Name | Type | Description |
---|---|---|
Enable | BOOL | The command is executed as long as Enable is active. |
Inputs/outputs
VAR_IN_OUT
AxesGroup : AXES_GROUP_REF;
END_VAR
Name | Type | Description |
---|---|---|
AxesGroup | AXES_GROUP_REF | Reference to a group of axes (see Cyclic Group Interface). |
Outputs
VAR_OUTPUT
Valid : BOOL;
Busy : BOOL;
Error : BOOL;
ErrorId : UDINT;
GroupErrorId : UDINT;
END_VAR
Name | Type | Description |
---|---|---|
Valid | BOOL | This output indicates that other output values are valid for this function block. |
Busy | BOOL | This output becomes TRUE when the command is started with Enable and remains so as long as the function block executes the command. |
Error | BOOL | This output becomes TRUE if an error has occurred during command execution. |
ErrorId | UDINT | Contains the command-specific error code of the last executed command. Details of the error code can be found in the ADS error documentation or in the NC error documentation (error codes 0x4nnn and 0x8nnn). |
GroupErrorId | UDINT | Returns the error ID of the group (see NC error documentation). |
Requirements
Development environment | Target platform | PLC libraries |
---|---|---|
TwinCAT V3.1.4018.26 TF5400 Advanced Motion Pack V3.1.1.17 | PC or CX (x64) | Tc3_McCoordinatedMotion, Tc2_MC2 |