
10 l Uponor Smatrix Base PRO Controller X-147 Modbus RTU interface l Installation manual
2.4 Frame format: Read Input Registers
Request
Slave address
(0x01 – 0xF7)
Function code
(0x04)
Starting register address
(0x0000 – 0xFFFF)
Quantity of input registers to read
(0x0001 – 0x007D)
CRC
1 byte
1 byte
2 bytes
2 bytes
2 bytes
Response
Slave address
(0x01 – 0xF7)
Function code
(0x04)
Byte count
(2*N)
Input register
CRC
1 byte
1 byte
1 byte
2*N bytes
2 bytes
Response in case of error
Slave address
(0x01 – 0xF7)
Error code
(0x84)
Exception code
(01, 02, 03, 04, or 06)
CRC
1 byte
1 byte
1 byte
2 bytes
Examples:
Request example: Read room temperature data (21.0 ˚C / 69.8 ˚F = value 689, 0x02BA) for all zones
Slave address
(0x01)
Function code
(0x04)
Starting register
address HI
(0x00)
Starting register
address LO
Start at 2 (0x01)
Quantity of input
registers to read HI
(0x00)
Quantity of input
registers to read LO
12 channels (0x0C)
CRC
1 byte
1 byte
1 byte
1 byte
1 byte
1 byte
2 bytes
Response example: Read room temperature data (21.0 ˚C / 69.8 ˚F = value 689, 0x02BA) for all zones
Slave address
(0x01)
Function code
(0x04)
Byte count
(0x18)
Input register HI
(channel 1)
(0x02)
Input register LO
(channel 1)
(0xBA)
... Input register HI
(channel 12)
(0x02)
Input register LO
(channel 12)
(0xBA)
CRC
1 byte
1 byte
1 byte
1 bytes
1 bytes
...
1 bytes
1 bytes
2 bytes
Request example: Read floor temperature data (21.0 ˚C / 69.8 ˚F = value 689, 0x02BA) for all zones
Slave address
(0x01)
Function code
(0x04)
Starting register
address HI
(0x00)
Starting register
address LO
Start at 26 (0x19)
Quantity of input
registers to read HI
(0x00)
Quantity of input
registers to read LO
12 channels (0x0C)
CRC
1 byte
1 byte
1 byte
1 byte
1 byte
1 byte
2 bytes
Response example: Read floor temperature data (21.0 ˚C / 69.8 ˚F = value 689, 0x02BA) for all zones
Slave address
(0x01)
Function code
(0x04)
Byte count
(0x18)
Input register HI
(channel 1)
(0x02)
Input register LO
(channel 1)
(0xBA)
... Input register HI
(channel 12)
(0x02)
Input register LO
(channel 12)
(0xBA)
CRC
1 byte
1 byte
1 byte
1 bytes
1 bytes
...
1 bytes
1 bytes
2 bytes