6 Monitoring and Setting with the Modbus TCP
6 - 6
K6PM-TH Thermal Condition Monitoring Device User’s Manual (H231)
This function can write data to multiple registers with the specified address as the start address.
The frame configurations of Modbus TCP are as follows.
Request
Normal Response
Error Response
Note 1. The elements shaded in the above figures are set to the value specified in the request.
2. The function code of (5) at error response is 90 hex.
6-2-4
10 hex: Writing of Multiple Registers
Frame Configurations
(1): Transaction ID
Specify any value. For example, 0000 hex is used in this explanation.
(2): Protocol ID
Specify 0000 hex.
(3): Number of bytes transferred
Specify the total number of bytes of (4) and the successor.
(4): Unit ID
Specify FF hex.
(5): Function code
10 hex (Writing of multiple registers) is specified.
(6): Start address
Specify the address to start writing.
Refer to
(7): Number of words to read
Specify the number of words of the register to be write. The maximum
value is 125 (007D hex).
(8): Byte count
Specify the total number of bytes of (9).
(9): Data
Register contents from the start address to the number of write words are
set.
(3): Number of bytes transferred
The total number of bytes of (4) and the successor is set.
(10): Exception code
Error information is set. Refer to
(8)
(9)
1
2
(9)
2
(1)
(2)
(3)
(4)
(5)
(6)
(7)
→
→
2
2
2
1
1
2
2
00
00
00
00
00
00
00
FF
10
←Hex
←
Number
of bytes
(1)
(2)
(3)
(4)
(5)
(6)
(7)
2
2
2
1
1
2
2
00
00
00
00
00
06
FF
10
(1)
(2)
(3)
(4)
(5)
(10)
2
2
2
1
1
1
00
00
00
00
00
03
FF
90
Содержание K6PM-TH
Страница 56: ...2 Installation and Wiring 2 20 K6PM TH Thermal Condition Monitoring Device User s Manual H231...
Страница 76: ...3 Initial Setting 3 20 K6PM TH Thermal Condition Monitoring Device User s Manual H231...
Страница 156: ...7 Troubleshooting 7 8 K6PM TH Thermal Condition Monitoring Device User s Manual H231...
Страница 195: ...I 1 I K6PM TH Thermal Condition Monitoring Device User s Manual H231 Index...
Страница 197: ......