F-66
FX Series PLC User's Manual - Data Communication Edition
Non-Protocol Communication (RS/RS2 Instruction)
8 Creating Programs (RS2 Instruction)
8.2 How to Use 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.
1. Send data and amount of remaining send data
M8000
FNC 87
RS2
D100
K4
D200
K20
K1
Communication format setting
Control line not provided
Headers provided
[DLE + STX (D8410: 0210H D8411: 0000H)]
Terminators provided [DLE + ETX (D8412: 0310H D8413: 0000H)]
Sum check provided
CR + LF added
It is automatically reset
when sending is
completed
D8412
CR
LF
44H
highest
-order
byte
44H
Sum
lowest
-order
byte
Send data
DLE
D8410
lowest
-order
byte
STX
D8410
highest
-order
byte
31H
D100
lowest
-order
byte
32H
D100
highest
-order
byte
33H
D101
lowest
-order
byte
34H
D101
highest
-order
byte
DLE
D8412
lowest
-order
byte
ETX
highest
-order
byte
M8402
Sending request
Set it in a program.
4
3
2
1
0
D8403
Amount of remaining
send data
00H
31H 63H 96H CAH DAH DDH
D8416
Sending sum
Header
Data area
Terminator Sum data . . . . . The order is different
from the data area
Sum
Summary of Contents for FX-485ADP
Page 2: ......
Page 120: ...B 2 FX Series PLC User s Manual Data Communication Edition N N Network ...
Page 188: ...C 2 FX Series PLC User s Manual Data Communication Edition Parallel Link ...
Page 244: ...D 2 FX Series PLC User s Manual Data Communication Edition Computer Link ...
Page 344: ...E 2 FX Series PLC User s Manual Data Communication Edition Inverter Communication ...
Page 700: ...H 2 FX Series PLC User s Manual Data Communication Edition Programming Communication ...
Page 752: ...I 2 FX Series PLC User s Manual Data Communication Edition Remote Maintenance ...
Page 817: ......