Section 7 Modbus Communications Protocol
Section 7
Host Communications Specifications
163
RFID System
User's Manual
(Modbus TCP)
Write Holding Register (10 Hex)
This function code is used to write continuous holding registers.
Example: Writing “1111222233334444” to Four Words Starting from Address
1234 Hex in the RF Tag
Query
The address in the RF Tag is the same as the register address.
Response
No. Field name
Example
(hex)
1 Transaction identifier upper byte 00
2 Transaction identifier lower byte 00
3 Protocol identifier upper byte 00
4 Protocol identifier lower byte 00
5 Field length upper byte 00
6 Field length lower byte 0F
7 Unit identifier FF
8 Function code 10
9 Register address upper byte (See note 1.) 12
10 Register address lower byte (See note 1.) 34
11 Word count upper byte 00
12 Word count lower byte 04
13 Byte count 08
14 Write data 1 upper byte 11
15 Write data 1 lower byte 11
16 Write data 2 upper byte 22
17 Write data 2 lower byte 22
18 Write data 3 upper byte 33
19 Write data 3 lower byte 33
20 Write data 4 upper byte 44
21 Write data 4 lower byte 44
RF Tag address = Register address
No. Field name
Example
(hex)
1 Transaction identifier upper byte 00
2 Transaction identifier lower byte 00
3 Protocol identifier upper byte 00
4 Protocol identifier lower byte 00
5 Field length upper byte 00
6 Field length lower byte 06
7 Unit identifier FF
8 Function code 10
9 Register address upper byte (See note 1.) 12
10 Register address lower byte (See note 1.) 34
11 Word count upper byte 00
12 Word count lower byte 04
RF Tag address = Register address