- 29 -
8-5-6. Writing multiple analog setting values [Function code: 16(10H)]
From the specified number consider the analog setting value of the specified number of units as
the specified status (ON/OFF). The data is split into high order 8 bits and low order 8 bits is arranged
in numeric order and then sent.
Example) Set as, SV decimal point = 1, SV range, lower limit = -200.0, SV range higher limit = 1370.0
of slave 1.
(Set 3 units of analog setting value reference number of slave 1 from 40206 to 40208.)
Reference number
(Starting number)
40008
(0007H)
40009
(0008H)
40010
(0009H)
Data
1
(0001H)
-2000
(F830H)
13700
(3584H)
<RTU mode>
Master
→
Device
Device
→
Master (Normal)
Slave address
01H
Slave address
01H
Function code
10H
Function code
10H
Starting number (H)
00H
Starting number (H)
00H
Starting number (L)
07H
Starting number (L)
07H
Number of units (H)
00H
Number of units (H)
00H
Number of units (L)
03H
Number of units (L)
03H
Data count
06H
CRC(L) 31H
Initial data(H)
00H
CRC(H) C9H
Initial data(L)
01H
Second data(H)
F8H
Second data(L)
30H
Third data(H)
35H
Third data(L)
84H
CRC(L) 4CH
CRC(H) C6H
LRC FDH
LRC E5H
Note) Starting number (Relative number) is 'Reference number - 40001'.
Note) If slave address is considered as 0, all the slave machines execute that command. However,
no slave machine responds.
Note) There is a restriction on the number of data units of message that can be sent at a time.
(That this device can receive). (See section 8-4.)
<ASCII mode error check> (*CRC(L)(H) of the above are LRC as follows.)