User manual
5 Universal (General-purpose communication)
144 © Copyright Reserved Autonics Co., Ltd.
5.5.4 16(Preset multiple register)
It writes contents of successive holding register. When designating(Broadcast) slave station as 0,
it writes in same address of slave.
Available address is 00015 to 06047, it accords slave UW0015 to UW6047 of GP/LP.
In case of writing next data in UW100 to UW104 of GP/LP with station no.05.
Data(DEC)
Data(HEX)
123 H007B
234 H00EA
345 H0159
456 H01C8
567 H0237
Query
Stati
on
Function
code
Start
address
The number
of register
The
number
of data
byte
Alternation
data 1
0x05 0x10 0x00 0x64 0x00 0x05 0x0A 0x00 0x7B
① ② ③ ④ ⑤ ⑥ ⑦ ⑧ ⑨
Alternation
data 2
Alternation
data 3
Alternation
data 4
Alternation
data 5
CRC
0x00 0xEA 0x01 0x59 0x01 0xC8 0x02 0x37 0xA6 0xC9
⑩ ⑪ ⑫ ⑬ ⑭ ⑮
⑯ ⑰ ⑱ ⑲
Item Description
①Station
Slave station is 05, 05 = (Hex)0x05
②Function code
16. 16 = (Hex)0x10
③Start address upper byte
Start address is UW100.
100 = upper (Hex)0x00 + lower (Hex)0x64
④Start address lower byte
⑤The number of register upper byte
The total number of data to write.
5 = upper (Hex)0x00 + lower (Hex)0x05
⑥The number of register lower byte
⑦The number of data byte
The total number of byte of data area.
The total number of data to write: 5 Word = 10 byte.
10 = (Hex)0x0A
⑧Alternation data 1 upper byte Upper byte value of data to write in UW100
⑨Alternation data 1 lower byte Lower byte value of data to write in UW100
⑩Alternation data 2 upper byte Upper byte value of data to write in UW101
⑪Alternation data 2 lower byte Lower byte value of data to write in UW101
⑫Alternation data 3 upper byte Upper byte value of data to write in UW102
⑬Alternation data 3 lower byte Lower byte value of data to write in UW102