Chapter 6. Serial I/O, SNP & RTU Protocols
GFK-2222AD April 2018 253
6.3.5 Communication Errors
Serial link communication errors are divided into three groups:
â–ª Invalid Query Message
â–ª Serial Link Time Outs
â–ª Invalid Transaction
Invalid Query Message
When the communications module receives a query addressed to itself, but cannot process the query, it
sends one of the following error responses:
Figure 64: RTU Error Response Format
The address reflects the address provided on the original request. The exception function code is equal
to the sum of the function code of the query plus 128. The error subcode is equal to 1, 2, 3, or 4. The value
of the subcode indicates the reason the query could not be processed.
Invalid Function Code Error Response (1)
An error response with a subcode of 1 is called an invalid function code error response. This response is
sent by a slave if it receives a query whose function code is not equal to 1- 8, 15, 16, 17, or 67.
Note: Starting with Release 6.70 for the RX3i, the invalid function code error response is not used.
Instead, undefined and unsupported function codes are ignored, and no response is
generated.