FX2N-64CL-M CC-Link/LT Master Block
Program Example 11
11-6
11.4
Program example
•
When preparing the control program above, pay attention not to use devices twice.
•
When using the control program above for a PLC installed in a machine, confirm that the
machine will operate safely, and not harm the user, others, or itself, before operating the
program.
0
M8000
< >
D10
H0
=
D10
H0
FROM
K0
K4
D10
K1
Reads the error
station information.
FROM
K0
K29
K4M10
K1
Reads the detailed
error information.
Y000
Data link error has
occurred.
MC
N0
M0
The remote station
connection status is
normal.
53
Control program
TO
P
K0
K27
H20
K1
Gives the data link
stop instruction.
X001
X002
TO
P
K0
K27
H0
K1
Gives the data link
restart instruction.
X002
X001
N0
M0
P
P
M10
Y001
Data link error has
occurred.
M11
Y002
Data link error has
occurred in all
stations.
M12
Y003
Remote I/O error has
occurred.
M13
Y004
Out-of-control-range
station error has
occurred.
M14
Y005
Transmission speed
setting error has
occurred.
M15
Y006
Communication power
down has occurred.
M17
Y007
EEPROM error has
occurred.
M18
Y010
The DIP switch setting
is changed.
M25
Y011
Hardware error has
occurred.
X020
X024
Y024
Y020
.
.
.
To easily
monitor the
nerwork,
output
select error
flags to
external
lamps and
indicators.
This part
may be
omitted if it
is not
necessary
to stop the
data link.
To easily
monitor the
nerwork,
output
select error
flags to
external
lamps and
indicators.
MCR
N0
END
Summary of Contents for FX2N-64CL-M
Page 1: ...USER S MANUAL Detailed Volume FX2N 64CL M CC Link LT Master Block ...
Page 4: ...FX2N 64CL M CC Link LT Master Block ii ...
Page 6: ...FX2N 64CL M CC Link LT Master Block iv ...
Page 12: ...FX2N 64CL M CC Link LT Master Block x ...
Page 26: ...FX2N 64CL M CC Link LT Master Block System Startup Procedure 3 3 2 ...
Page 50: ...FX2N 64CL M CC Link LT Master Block Various Modes 7 7 2 ...
Page 74: ...FX2N 64CL M CC Link LT Master Block Model Assignment of Buffer Memory 10 10 14 ...
Page 93: ......