7.16.11 MC_ReadAxisError
Function
Read axis fault information (e.g. axis error, drive error, communication error).
LD graphics

Parameter description
| Parameters | Type | Declaration | Description | Remarks |
|---|---|---|---|---|
| Axis | AXIS | VAR_IN_OUT | System axis for executing commands | Invoke Function Block |
| Enable | BOOL | VAR_IN | Whether it is enabled | |
| Valid | BOOL | VAR_OUT | If there is a valid set of outputs available, the output is TRUE | |
| Busy | BOOL | VAR_OUT | Whether there is a valid output for FB, True:FB is not terminated | |
| Error | BOOL | VAR_OUT | An error signal has occurred within the FB | |
| ErrorID | WORD | VAR_OUT | Error ID | |
| AxisErrorID | WORD | VAR_OUT | System Axis Error Type ID |
Axis fault information description
| STATUS(WORD 16#) | Description |
|---|---|
| 0X00 | No fault |
| 0X01 | General fault |
| 0X02 | Illegal operation |
| 0X30 | Axis status switching error |
| 0X44 | Hard limit overtravel |
| 0X45 | Soft limit overtravel (forward) |
| 0X46 | Soft limit overtravel (reverse) |
| 0X60+ | Drive fault code (+0x60) |