This function block reads the error information relative to the most recent detected error.
Input |
Data type |
Description |
---|---|---|
Enable |
BOOL |
Value range: FALSE, TRUE. Default value: FALSE. The input Enable starts or terminates execution of a function block.
|
Output |
Data type |
Description |
---|---|---|
Valid |
BOOL |
Value range: FALSE, TRUE. Default value: FALSE.
|
Busy |
BOOL |
Value range: FALSE, TRUE. Default value: FALSE.
|
Error |
BOOL |
Value range: FALSE, TRUE. Default value: FALSE.
|
ErrorID |
WORD |
Returns the value of a diagnostic code. Refer to Library Diagnostic Codes. If the value is 0 and if the output Error of this function block is set to TRUE, then the diagnostic code can be read with the output AxisErrorID of the function block MC_ReadAxisError. |
AxisErrorID |
WORD |
Initial value: 0 This output shows library-specific and drive-specific error codes. Refer to the chapter Library Diagnostic Codes for a list of the library-specific error codes. Refer to the drive documentation for an overview of the drive-specific error codes. |