F-67
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
A
Comm
on I
te
ms
B
N:
N N
etwo
rk
C
Paral
le
l Li
nk
D
Com
puter Li
nk
E
In
verter
C
omm
uni
cation
F
N
on-Proto
col
C
ommunicati
on
(R
S/RS
2 Instru
ction
)
G
No
n-
Protoc
ol
Co
mmuni
ca
tion
(FX
2N
-2
32IF)
H
Programm
ing
Comm
uni
cation
I
Re
mo
te
Ma
intenance
Apx.A
D
isco
nti
nued
models
2. Receive data and amount of data already received
Caution
The 8-bit mode is not applicable in RS2 instruction.
D202
CR
LF
45H
highest
-order
byte
44H
lowest
-order
byte
Header
Data area
Terminator
Receive data
4
3
2
1
0
DLE
D8410
lowest
-order
byte
STX
D8410
highest
-order
byte
35H
D200
lowest
-order
byte
36H
D200
highest
-order
byte
37H
D201
lowest
-order
byte
38H
D201
highest
-order
byte
DLE
D202
lowest
-order
byte
ETX
highest
-order
byte
00H 35H 6BH A2H DAH
EDH
It is set when
receiving is
completed
M8403
Receiving complete
D8403
Amount of data
already received
D8415
Receiving sum
(calculation result)
Reset it in a
program
EAH
00H
6
5
It is cleared
when the
receiving
complete flag
is cleared
The calculation
result is converted
into ASCII codes,
and compared
It is cleared when
header is received.
Sum data . . . . . The order is different
from the data area
Sum 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: ......