−28−
6.5.9 Write multiple analog parameters (write into multiple hold registers)
[Function code: 16 (10H)]
A specified number of analog parameters from designated numbers are programmed to specified
values. The data is split into higher-order 8 bits and lower-order 8 bits to be sent sequentially in
number.
Example) Programming the P/I/D of the slave unit 2 to P=12.0%,I=90Sec,D=25Sec.
(Program 3 Reference Nos. from 40206 to 40208 of analog parameters for the slave unit 2)
Reference No.
40206
40207
40208
Data
120
(
0078H
)
90
(
005AH
)
25
(
0019H
)
(RTU mode)
Master
→
Instruments Instruments
→
Master (normal)
Slave address
02H
Slave address
02H
Function code
10H
Function code
10H
Start No. (H)
00H
Start No. (H)
00H
Start No. (L)
CDH
Start No. (L)
CDH
Number of Reference No. (H)
00H
Number of Reference No. (H)
00H
Number of Reference No. (L)
03H
Number of Reference No. (L)
03H
Number of data
06H
CRC (L)
11H
1st data (H)
00H
CRC (H)
C4H
1st data (L)
78H
2nd data (H)
00H
2nd data (L)
5AH
3rd data (H)
00H
3rd data (L)
19H
CRC (L)
36H
CRC (H)
56H
LRC 2DH
LRC 1EH
Note) Start No. (Relative value) is given by “Reference No. – 40001”. (Decimal number 205
(=40206 – 40001) Hexadecimal CDH)
Note) When the slave address is programmed to “0”, all the slave units execute this command,
although no response is received from any of them.
Note) The number of message data transmittable (receivable by this controller) at one time is limited.
(See Section 6.4)
6.6 Processing in Abnormal Status
The following response is given when any problem is found in the content of a message from the
master unit.
6.6.1 Case of no response
The message is ignored with no response given when
(1) A transmission error (overrun, framing, parity , CRC or LRC) is detected in the message;
(2) The slave address in the message is not the receiver's own address;
(3) Data interval in messages is too long;
28 bits or more in RTU mode
1 second or more in ASCII mode
(4) Transmission parameters are not consistent with those of the receiver;
(5) The bytes of the received message exceeds 64.
(Error check in ASCII mode)