10 Hex: Writing Of Multiple Registers - Omron K6CM User Manual

Motor condition
Hide thumbs Also See for K6CM:
Table of Contents

Advertisement

9 Monitoring and Setting Using the Modbus TCP Devices
9-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
00
2
 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.
9 - 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.
Specify the number of words of the register to be write. The maximum
value is 24 (0018 hex). Refer to 9-3 Register Address Lists on page 9-8.
Specify the total number of bytes of (9).
Register contents from the start address to the number of write words are
set.
(2)
(3)
00
00
00
06
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 9-2-5 Exception Code List on page 9-7.
(4)
(5)
(6)
FF
10
1
1
2
(8)
(9)
00
00
1
2
(4)
(5)
(6)
FF
10
1
1
2
(4)
(5)
(10)
FF
90
1
1
1
K6CM Motor Condition Monitoring Device User's Manual (N219)
(7)
2
(9)
←Hex
2
Number
of bytes
(7)
2

Advertisement

Table of Contents
loading

This manual is also suitable for:

K6cm-ismK6cm-cimK6cm-vbmK6cm-ci2m

Table of Contents