F-63
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
8.2.1
Applicable frames
Message frames used in communication can be selected by setting the communication format.
The table below shows message frames applicable to the RS2 instruction.
1. Header
When "header provided" is selected in the communication format settings, the values of D8380 and D8381
are used for ch0, and the values of D8410 and D8411 are used for ch1, and the values of D8430 and D8431
are used for ch2.
Up to four headers can be set.
When data is sent, the data set in the devices above is added at the head of the specified send data.
When data is received, receiving begins when the data set in the devices above is received continuously.
Even if "header provided" is selected, headers are not provided if header 1 is set to "00H".
The area before 00H (
in 1-byte units
) is used to set the headers.
Caution
Set the header before driving the RS2 instruction. Do not change the setting while the RS2 instruction is
being driven.
1
2
3
4
5
6
7
8
9
10
11
12
Header
Header 1
Header 2
Header 3
Header 4
ch0
D8380 (lowest-order byte)
D8380 (highest-order byte)
D8381 (lowest-order byte)
D8381 (highest-order byte)
ch1
D8410 (lowest-order byte)
D8410 (highest-order byte)
D8411 (lowest-order byte)
D8411 (highest-order byte)
ch2
D8430 (lowest-order byte)
D8430 (highest-order byte
D8431 (lowest-order byte)
D8431 (highest-order byte)
Data
Data
CR+LF
Data
Terminator
Data
CR+LF
Terminator
Data
Terminator
Sum check
Data
Terminator
Sum check
CR+LF
Data
Header
Data
Header
CR+LF
Data
Terminator
Header
Data
Header
Terminator
CR+LF
Data
Header
Terminator
Sum check
Header
Data
Terminator
Sum check
CR+LF
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: ......