High−level Instructions
3 − 342
Command 15 (Y, R multi−points write) send
Example) When the 64−bit data from the bit 0 of the WR3 to the bit F of the WR6 is transmitted to the W0 to
Y3F of the unit No. 7 in the remote unit from the COM1.
[ F145 (SEND), DT10, WR3, WY0, K0 ]
[S1]:
H0H0 H0 H4
DT10
Specifies No. of transmission words
(H1 to H7F)
Word unit
transmission
*Word unit (H0) should be specified for the transmission method of [S1] to send the command 15.
[S1+1]:
H1 H0 H7
DT11
Unit No. (H00 to H63)
(0 to 99)
Selects COM port
(H1 or H2)
H0 fixed
[S1]:DT10(DT10=0004H
DT11=1007H)
[S2]:WR3(WR3=3210H
WR4=7654H
WR5=BA98H
WR6=FEDCH)
[D] :WY0
[N] :K0
*Specify the coil No. of the destination for the starting
No. of status change. (Remote unit)
The quantity of changed coils is that the No. of write
bits is changed to HEX.
Max. quantity of changed coils is 2032 (07F0H).
(due to the restrictions on the MODBUS protocol)
No. of data (No. of bytes) is calculated regarded 8 coils
as 1 data (1 byte). (Max. 254 (FEH) bytes)
MODBUS commands
Slave address
Command (0FH)
Starting No. of status change (H)
Starting No. of status change (L)
Quantity of changed coils (H)
Quantity of changed coils (L)
No. of data (No. of bytes)
Setting data 1
Setting data 2
Setting data 3
Setting data 4
Setting data 5
Setting data 6
Setting data 7
Setting data 8
CRC16 (H)
CRC16 (L)
07
0F
00
00
00
40
08
10
32
54
76
98
BA
DC
FE
6C
B3
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
Command
conversion
FPΣ/FP−X/FP0R