Exception codes
- Last UpdatedFeb 20, 2025
- 1 minute read
If the adapter receives an exception code from the Modbus device while requesting data, the adapter will log the exception as an error message in the adapter component log file. The request will not be retried until the next scheduled execution defined by the schedule configuration.
Refer to the Modbus specification and your Modbus device documentation for more information
about specific exception codes.
|
Exception Code |
MODBUS Name |
Description |
|
0x01 |
Illegal Function Code |
Function code is unknown by the server. |
|
0x02 |
Illegal Data Address |
A data address is not allowed. |
|
0x03 |
Illegal Data Value |
A value contained in a request is not allowed. |
|
0x04 |
Server Failure |
The server failed during execution. |
|
0x05 |
Acknowledge |
The server accepted the service invocation, but the service requires a long time to execute. The server therefore returns only an acknowledgement of the service invocation receipt. |
|
0x06 |
Server Busy |
The server was unable to accept requests. |
|
0x0A |
Gateway Path Unavailable |
Gateway path is not available. |
|
0x0B |
Gateway Target Device Failed |
The targeted device failed to respond. The gateway generates this exception. |