High−level Instructions
3 − 367
Command 02 (X contact read) send
Example) When the 1 bit of X17 is readed from the unit No. 17 of the remote unit, and a command to transmit
the readed bit data to the 5th bit of DT100 in the local unit is sent.
[ F146 (RECV), DT10, WX0, K1, DT100 ]
[S1]:
H8 H5 H7
DT10
Bit No. of local unit
(H0 to HF)
Bit No. of remote unit
(H0 to HF)
Bit unit
transmission
H0 fixed
*Bit units (H8) should be specified for the transmission method of the [S1] to read only 1bit of data by the
command 02.
[S1+1]:
H1 H1 H1
DT11
Unit No. (H01 to H63)
(1 to 99)
Selects COM port
(H1 or H2)
H0 fixed
Command
conversion
*Specify the coil No. of the destination for the starting
No. of read. (Remote unit: X17)
The quantity to read should be 1.
[S1]: DT10(DT10=8507H, DT11=1011H)
[S2]: WX0
[N] : K1
[D] : DT100
MODBUS commands
Slave address
Command (02H)
Starting No. of read (H)
Starting No. of read (L)
Quantity to read (H)
Quantity to read (L)
CRC16 (H)
CRC16 (L)
11
02
00
17
00
01
0B
5E
1
2
3
4
5
6
7
8
Example) When the 64 bits (4 words) of data from X10 to X4F is readed from the unit No. 17 of the remote unit,
and a command data to the area starting with DT100 in the local unit is sent from the COM1.
[ F146 (RECV), DT10, WX0, K1, DT100 ]
[S1]:
H0H0 H0 H4
DT10
Specifies No. of transmission words
(H001 to H07F)
Word unit
transmission
*Bit units (H0) should be specified for the transmission method of [S1] to read in word units by the command
02.
[S1+1]:
H1 H1 H1
DT11
Unit No. (H01 to H63)
(1 to 99)
Selects COM port
(H1 or H2)
H0 fixed
Command
conversion
*Specify the coil No. of the destination for the starting
No. of read. (Remote unit: X10)
The quantity to read should be the value of “No. of
specified words X 16”. (64−bit read)
[S1]: DT10 (DT10=0004H, DT11=1011H)
[S2]: WX0
[N]: K1
[D]: DT100
MODBUS commands
Slave address
Command (02H)
Starting No. of read (H)
Starting No. of read (L)
Quantity to read (H)
Quantity to read (L)
CRC16 (H)
CRC16 (L)
11
02
00
10
00
40
7A
A0
1
2
3
4
5
6
7
8
FPΣ/FP−X/FP0R