10 Hex: Writing Of Multiple Registers - Omron K6PM-TH User Manual

Thermal condition monitoring device
Hide thumbs Also See for K6PM-TH:
Table of Contents

Advertisement

6 Monitoring and Setting with the Modbus TCP
6-2-4

10 hex: Writing of Multiple Registers

This function can write data to multiple registers with the specified address as the start address.
Frame Configurations
The frame configurations of Modbus TCP are as follows.
 Request
(1)
00
00
2
(1): Transaction ID
(2): Protocol ID
(3): Number of bytes transferred
(4): Unit ID
(5): Function code
(6): Start address
(7): Number of words to read
(8): Byte count
(9): Data
 Normal Response
(1)
00
 Error Response
(1)
00
00
2
(3): Number of bytes transferred
(10): Exception code
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 - 6
(2)
(3)
00
00
00
2
2
Specify any value. For example, 0000 hex is used in this explanation.
Specify 0000 hex.
Specify the total number of bytes of (4) and the successor.
Specify FF hex.
10 hex (Writing of multiple registers) is specified.
Specify the address to start writing.
Refer to 6-3 Register Address Lists on page 6-8.
Specify the number of words of the register to be write. The maximum
value is 125 (007D hex).
Specify the total number of bytes of (9).
Register contents from the start address to the number of write words are
set.
(2)
00
00
00
00
2
2
(2)
(3)
00
00
00
03
2
2
The total number of bytes of (4) and the successor is set.
Error information is set. Refer to 6-2-5 Exception Code List on page 6-7.
(4)
(5)
(6)
FF
10
1
1
2
(8)
(9)
00
00
1
2
(3)
(4)
(5)
06
FF
10
2
1
1
(4)
(5)
(10)
FF
90
1
1
1
K6PM-TH Thermal Condition Monitoring Device User's Manual (H231)
(7)
2
(9)
←Hex
2
Number
of bytes
(6)
(7)
2
2

Advertisement

Table of Contents
loading

This manual is also suitable for:

K6pm-thmd-eipK6pm-ths3232

Table of Contents