12 Example of Communication between Master Station
12.1 System Configuration
141
FX3U-16CCL-M User's Manual
11
Programming
12
Remote I/O
Communication
Example
13
Remote Device
Communication
Example
14
Int. Device
Communication
Example
15
Compound Sys.
Communication
Example
16
Troubleshooting
A
Version
Information
B
Setting Sheet
C
Differences with
FX
2N
-16CCL-M
• Program to control remote I/O stations
M500N0
M8000
Unit
error
M20
M35
RUN
monitor
Unit
ready
Reads the data link status
in each station (SW0080).
FNC 79
FROM
K0 H0680 K4M400 K1
M21
Data link
status in
master
station
M400
M401
M402
M8000
RUN
monitor
Reads from the remote input
(RX).
FNC 79
FROM
K0 H00E0 K4M100 K1
FNC 79
FROM
K0 H00E4 K2M164 K1
M550
M551
M552
There is an error in the
remote I/O station No. 2.
There is an error in the
remote I/O station No. 1.
There is an error in the
remote I/O station No. 3.
M100
M115
Y000
Y017
When the inputs X0F to X00 in
the AJ65BTB1-16D turn ON, the
outputs Y000 to Y017 in the PLC
turn ON.
X000
X017
M200
M215
M164
M171
Y020
Y027
X020
X027
M240
M247
M8000
RUN
monitor
Writes to remote output (RY).
FNC 78
TO
K0 H0162 K4M200 K1
When the inputs X000 to X017 in
the PLC are set to ON, the
outputs Y0F to Y00 in the
AJ65BTB1-16T turn ON.
When the inputs X07 to X00 in
the AJ65BTB1-16DT turn ON,
the outputs Y020 to Y027 in the
PLC turn ON.
When the inputs X020 to X027 in
the PLC are set to ON, the
outputs Y0F to Y08 in the
AJ65BTB1-16DT turn ON.
For
communication
ith the
J65BTB1-16D
(station No. 1)
For
communication
ith the
J65BTB1-16T
(station No. 2)
For
communication
ith the
J65BTB1
-16DT
(station No. 3)
to
to
to
to
N0
MCR
Data link is being executed in
the master station.
MC
M21
Data link status in
master station
Y030
Master station data link error
FNC 78
TO
K0 H0164 K2M240 K1
N0 M500