Error codes
Errors signaled to the driver by the PLC are held in the data point _RK512_num.ErrorPLC. Errors signaled to the PLC by the driver are held in the data point _RK512_num.ErrorDriver.
Those error codes essential for operation of the WCCOArk512 driver are listed in the following table.
Table: Error codes
| Code | Comment |
|---|---|
| 10 | Access denied. |
| 12 | Invalid data type. |
| 20 | Configuration error - for instance an illegal data block number might have been set. |
| 22 | Error in the third byte of a command message. |
| 42 | PLC has stopped. |
| 50 | Data block locked by coordination flag. |
| 52 | Incorrect length specified in message. |
| 54 | Synchronization error - for instance a follow-on message might have been received without a preceding command message. |
| 254 | PLC sent a FETCH message to the driver. |
| 255 | A task could not be executed. |