smartDEN IP-16R-XX User Manual
13 Apr 2021
In this example relays states are:
- Relay 1: ON
- Relay 2: OFF
- Relay 3: ON
Response example 2: Read Coil Status: Relays 4..16:
Table 10.11. Read Coils response example 2
Error
The possible error responses for function code 0x01 are:
Function Code (1 byte): 0x81 (0x80 + 0x01)
Exception Codes (1 byte):
- 0x01 – Function code not supported.
- 0x02 – Incorrect combination of start address and coil quantity
Error response example:
Table 10.12. Read Coils error response