Carbon Monoxide Transmitter Modbus
Installation Manual
May 5, 2017
IN-CMD5B4MOD-01-01 Page 15
Function Codes (RTU mode)
0x03 --- Read holding registers
Query
Slave address
(0x01 to 0xFF)
Function
code (0x03)
Starting
address MSB
Starting
address LSB
Quantity of
registers MSB
Quantity of
registers LSB
CRC
LSB
CRC
MSB
* Starting address = 0x0000 to 0xFFFF, Quantity of registers = 0x0000 to 0x007D
Response
Slave address
(0x01 to 0xFF)
Function
code (0x03)
Byte count
2N
Register
value MSB
Register
value LSB
…
CRC
LSB
CRC
MSB
* N= Quantity of registers
0x06 --- Write single register
Query
Slave address
(0x01 to 0xFF)
Function
code 0x06
Register
address MSB
Register
address LSB
Register
value MSB
Register
value LSB
CRC
LSB
CRC
MSB
Response
Slave address
(0x01 to 0xFF)
Function
code 0x06
Register
address MSB
Register
address LSB
Register
value MSB
Register
value LSB
CRC
LSB
CRC
MSB
* Register address = 0x0000 to 0xFFFF, Registers value = 0x0000 to 0xFFFF
Exception response
Slave address
(0x01 to 0xFF)
Function
code + 0x80
Exception code
0x01, 0x02 or 0x03
CRC
LSB
CRC
MSB
* An exception response is only returned if the CRC is correct
Exception code 01 --- illegal function, 02 --- illegal address, 03 --- illegal data value
The RTU function codes supported by the CO Transmitter are shown below.
0x03 --- Read CO Status
Query
Slave address
(0x01 to 0xFF)
0x03 0x00 0x00 0x00 0x01
CRC
LSB
CRC
MSB
Response
Slave address
(0x01 to 0xFF)
0x03 0x02
Register value
0x00
Register value
LSB
CRC
LSB
CRC
MSB
* Register value = 0x0000 in normal status, 0x0001 in abnormal status