High−level Instructions
3 − 348
Command 16 (Multi−point register preset) send
Example) When the 3−word data from DT3 to DT5 is transmitted to the address H7788 of the unit No. 7 from
the COM1 port.
[ F145(SEND), H1607, DT3, H7788, K3 ]
[S1]:
H1 H0 H7
Unit No. (H00 to HFF)Selects COM port
H6
[S1] : H1607
[S2] : DT3 ( DT3=0011H
DT4=2233H
DT5=4455H)
[D] : H7788
[N] : K3
* When specifying multiple points by [N], the command is
automatically corrected.
* Max. quantity of write registers is 127 (7FH).
(due to the restrictions on the MODBUS protocol)
No. of data (No. of bytes) is calculated regarded No. of
write registers as 2 bytes. (Max. 254 (FEH) bytes)
Command
conversion
MODBUS commands
Slave address
Command (10H)
Starting No. of write (H)
Starting No. of write (L)
No. of write registers (H)
No. of write registers (L)
No.ofdata(No.ofbytes)
Writedata1(H)
Write data 1 (L)
Writedata2(H)
Write data 2 (L)
Writedata3(H)
Write data 3 (L)
CRC16 (H)
CRC16 (L)
07
10
77
88
00
03
06
00
11
22
33
44
55
2C
BA
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
Flag conditions
Σ Error flag (R9007) :
Σ Error flag (R9008) :
− Turns on when the control data of [S1] is a value outside of the specified
range.
− Turns on when the MODBUS mode has not been specified for the COM
port of the control data specified by [S1].
− Turns on when the number of transmission data is 0.
− Turns on when the number of transmission data is negative.
− Turns on when the number of transmission data [N] exceeds the operation
memory area specified by [S2].
− Turns on when the number of transmission data [N] exceeds the limit of the
MODBUS specifications.
FPΣ/FP−X/FP0R