User manual
Chapter 6 
Planning Your Application Program 
Function Code 16 (10 hex) Preset values into a 
sequence of holding registers. Request message 
format for function code 16: 
Com
m
and
B
ody
Re
qu
este
d
Re
qu
este
d
St
a
ti
on
Addr
es
s
F
unc
ti
on
Code
St
a
rt 
Addr
es
s
St
a
rt 
Addr
es
s
Nu
m
b
er
o
f 
Re
g
i
ster
Nu
m
b
er
o
f 
Re
g
i
ster
By
t
e
Count
Da
ta
Hig
h
Byte
Low
Byt
e
Hig
h
Byte
Low
Byt
e
Example:  Preset constant #1 (address 40009) to 100.0 in ADAM-5000/TCP. 
01 10 00 09 00 02 04 42 C8 00 00 
Response message format for function code 16: 
The normal responses return the station address, function code, start 
address, and requested number of registers preset. 
Command Body 
Requested 
Requested 
Station 
Address 
Function 
Code 
Start 
Address 
High Byte 
Start 
Address 
Low Byte 
Numberof 
Register High 
Byte 
Numberof 
Register Low 
Byte 
Example: 01 10 00 09 00 02 
6-38 ADAM-5000/TCP User’s Manual 










