Kaiyi — 8.8 Error Flags

Chapter 8 Serial Communication Module AH10SCM Contents of the error flags: D0 D1 D2 and D3 D4 and D5 8-65 Error code Description 16#0001 Hardware failure 16#0002 An error occurs when the communication protocol for exchanging data through a communication port is UD Link. 16#0004 An error occurs when data is exchanged through a communication port. 16#0008 An error occurs when the communication protocol for exchanging data through a communication port is Modbus. 16#0010 AH10SCM-5A is restored to the factory setting. 16#0020 Internal communication error Bit 15~4 3 2 1 0 Description Reserved The voltage is low. The SRAM is damaged. The GPIO is damaged. The flash memory is damaged.

Bit 3 2 1 0 Description The data received is not the same as the data which should be received. The packet is edited incorrectly. The command number can not be found. The group number can not be found. Bit 7 6 5 4 Description The data received is more than the data expected to be received. The data received is insufficient. The data comparison can not be performed. Reserved Checksum error Bit 11 10 9 8 Description Reserved Reserved Reserved The group list downloaded to AH10SCM-5A is incomplete. Bit 15 14 13 12 Description Reserved Reserved The number of data which will be written exceeds the device range. The number of data which will be read exceeds the device range.

Error code Name Description 16#0001 Illegal function The function code is not supported. 16#0002 Illegal data address The address is not supported. 16#0003 Illegal data value The data value is not supported. 16#0004 Slave device failure The salve fails. 16#0005 Transform failure The value is transformed incorrectly.