1 Modbus RTU protocol
16
© Copyright Reserved Autonics Co., Ltd.
1.6
Preset Multiple Registers(Func16–10H)
Writes the binary data of Holding Registers (4X reference) continuously in the Slave device.
(1)
Query(Master)
Slave
Address
Function
(Comma
nd)
Starting Address
No. of Register
(Number of
register)
Byte Count
(Number of
data byte)
Data
Data
Error Check
(CRC16)
High
Low
High
Low
High
Low
High
Low
Low
High
1Byte
1Byte
1Byte
1Byte
1Byte
1Byte
1Byte
1Byte
1Byte
1Byte
1Byte
1Byte
1Byte
(2)
Response(Slave)
Slave Address
Function
(Command)
Starting Address
No. of Register
(Number of register)
Error Check(CRC16)
High
Low
High
Low
Low
High
1Byte
1Byte
1Byte
1Byte
1Byte
1Byte
1Byte
1Byte
The below example is to write all “10(A H)” at Holding Register 40001(0000 H) to 40002(0001 H)
of the Slave(Address 17) from the Master.
Query(Master)
Slave
Address
Function
(Comma
nd)
Starting Address
No. of Register
(Number of
register)
Byte Count
(Number of
data byte)
Data
Data
Error Check
(
CRC16
)
High
Low
High
Low
High
Low
High
Low
Low
High
11 H
10 H
00 H
00 H
00 H
02 H
04 H
00 H
0A H
00 H
0A H
## H
## H
Response(Slave)
Slave Address
Function
(Command)
Starting Address
No. of Register
(Number of register)
Error Check(CRC16)
High
Low
High
Low
Low
High
11 H
10 H
00 H
00 H
00 H
02 H
## H
## H
Except downloading the pre-designated min/max parameter accoriding to input specification or
default value from PC loader program, it is recommended to use signle register write (Single
Register Write) than multi register write (Multi Regiter Write) to connect external device such as
PLC, graphic panel, etc.
CRC16
CRC16
Summary of Contents for krn100 series
Page 1: ...Preface Copyright Reserved Autonics Co Ltd i USER MANUAL For COMMUNICATION ...
Page 2: ...ii Copyright Reserved Autonics Co Ltd ...
Page 10: ...Table of Contents x Copyright Reserved Autonics Co Ltd ...
Page 18: ...1 Modbus RTU protocol 18 Copyright Reserved Autonics Co Ltd ...
Page 82: ......