F-45
FX Series PLC User's Manual - Data Communication Edition
Non-Protocol Communication (RS/RS2 Instruction)
6 Creating Programs (RS Instruction)
6.1 Checking Contents of Related Devices
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
6. Creating Programs (RS Instruction)
This chapter explains how to create programs for non-protocol communication using RS instruction and how
such programs operate.
6.1
Checking Contents of Related Devices
The tables below show devices used in non-protocol communication using the RS instruction.
1. Bit devices
R: Read only
W: Write only
R/W: Read or Write
*1.
Not provided in FX
2N
PLC before Ver. 2.00, and FX
2
(FX), FX
2C
, FX
0N
PLCs.
2. Word devices
R: Read only
W: Write only
R/W: Read or Write
*2.
Not provided in FX
2N
PLC before Ver. 2.00, and FX
2
(FX), FX
2C
, FX
0N
PLCs.
*3.
Provided only in FX
3S
, FX
3G
, FX
3GC
, FX
3U
and FX
3UC
PLCs.
Device
Name
Description
R/W
M8063
Serial communication error
(ch1)
This device turns ON when a communication error occurs.
When this device (serial communication error) turns ON, D8063
stores the corresponding error code.
R
M8120
Communication setting keep
This device keeps the communication setting status (for FX
0N
PLC).
W
M8121
Sending wait flag
This device remains ON while the PLC is waiting to send.
R
M8122
Sending request
When this device is set to ON, the PLC starts to send.
R/W
M8123
Receiving complete flag
This device turns ON when receiving is completed.
While this device (receiving complete flag) is ON, the PLC cannot
receive any data.
R/W
M8124
Carrier detection flag
This device turns ON in synchronization with the CD signal.
R
M8129
*1
Time-out check flag
This device turns ON when data receiving is suspended and the
next set of data is not given within the time set by the timeout
settings device (D8129).
R/W
M8161
8-bit processing mode
This device sets the send/receive data bit length to 16-bit or 8-bit.
ON: 8-bit mode
OFF: 16-bit mode
W
Device
Name
Description
R/W
D8063
Error code number of serial
communication error
When the serial communication error flag (M8063) turns ON, this
device stores the corresponding error code.
R/W
D8120
Communication format setting This device sets the communication format.
R/W
D8122
Remaining amount of data to
be sent
This device stores the amount of remaining data to be sent.
R
D8123
Amount of data already
received
This device stores the amount of received data.
R
D8124
Header
This device sets the header (initial value: STX (H02)).
R/W
D8125
Terminator
This device sets the terminator (initial value: ETX (H03)).
R/W
D8129
*2
Time-out time setting
This device sets the timeout time.
R/W
D8405
*3
Communication parameter
display
This device stores communication parameters set in the PLC.
R
D8419
*3
Operation mode display
This device stores the communication type being used.
R
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: ......