Instruction Manual

24
PRESET MULTIPLE REGISTERS (FUNCTION CODE 16)
Holding registers existing within the controller can have their contents changed via function code 16.
Sixteen bits of data for each register is contained within the message.
ADDR
FUN
C
H.O.
ADDR
L.O.
ADDR
QUANTITY
BYTE
CNT
H.O.
DATA
L.O.
DATA
etc.
ERROR
CHECK
FIELD
11
10
00
87
00
02
04
00
0A
??
The normal response to a PRESET MULTIPLE REGISTERS request is to echo the slave address, function
code, starting address, and quantity of registers set.
ADDR
FUNC
H.O.
ADDR
L.O.
ADDR
QUANTITY
ERROR
CHECK
FIELD
11
10
00
87
00
02
56