
7-42
IM 77V01B01-01EN
5th Edition: 2023.03.07-00
■
16 Write multiple registers
●
Function
Data is written to continuous registers for the number of specified points from the
specified register No.
・
The maximum number of registers that can be written in a single operation is 50.
・
For details on the response format when an error occurs, refer to the response
configuration.
・
When data outside the parameter setting range is set, a normal response is returned
though data is not written.
●
Message (during normal operation)
Element
MBAP Header
PDU
Number of
bytes
2
2
2
1
1
2
2
Command
elements
Transfer
ID
Protocol
ID
Number of
bytes
Unit ID Function
code
(0x10)
Register
start No.
(Hex
number)
Number of
registers
(Hex)
Arbitrary
0000
2n+7
01
10
n
Continuation of request
PDU
1
2
2
Byte
count
(Note 1)
Write
data
...
Write
data n
2n
Note 1: Byte count = 2 x number of write registers
●
Response (during normal operation)
Element
MBAP Header
PDU
Number of
bytes
2
2
2
1
1
2
2
Command
elements
Transfer
ID
Protocol
ID
Number of
bytes
Unit ID Function
code
(0x10)
Register
start No.
(Hex
number)
Number of
registers
(Hex)
Arbitrary
0000
0006
01
10
n
Summary of Contents for VZ20X
Page 16: ...Contents 3 IM 77V01B01 01EN 5th Edition 2023 03 07 00 Revision Information 1...
Page 17: ...Contents 4 IM 77V01B01 01EN 5th Edition 2023 03 07 00 Blank Page...
Page 23: ...2 2 IM 77V01B01 01EN 5th Edition 2023 03 07 00 Blank Page...
Page 29: ...3 6 IM 77V01B01 01EN 5th Edition 2023 03 07 00 Blank Page...
Page 145: ...9 10 IM 77V01B01 01EN 5th Edition 2023 03 07 00 Blank Page...
Page 149: ...App 4 IM 77V01B01 01EN 5th Edition 2023 03 07 00 Blank Page...