FX Series PLC User's Manual - Data Communication Edition
Non-Protocol Communication (RS/RS2 Instruction)
8.2.3
Send/receive data and amount of data
RS2 instruction can handle send data and receive data while storing two characters in one data register.
M8000
FNC 87
Communication format setting
Control line not provided
Headers provided
Terminators provided [DLE + ETX (D8412: 0310H D8413: 0000H)]
Sum check provided
CR + LF added
1. Send data and amount of remaining send data
Send data
M8402
Sending request
Set it in a program.
D8403
Amount of remaining
send data
D8416
Sending sum
F-66
D100
K4
RS2
[DLE + STX (D8410: 0210H D8411: 0000H)]
Header
DLE
STX
31H
D8410
D8410
D100
lowest
lowest
highest
-order
-order
-order
byte
byte
byte
4
3
00H
31H 63H 96H CAH DAH DDH
K1
D200
K20
Terminator Sum data . . . . . The order is different
Data area
32H
33H
34H
DLE
ETX
D100
D101
D101
D8412
D8412
lowest
lowest
highest
highest
highest
-order
-order
-order
-order
-order
byte
byte
byte
byte
byte
2
1
0
8 Creating Programs (RS2 Instruction)
8.2 How to Use RS2 Instruction
from the data area
44H
44H
Sum
Sum
CR
LF
lowest
highest
-order
-order
byte
byte
It is automatically reset
when sending is
completed