304
FX
3UC
Series Programmable Controllers
User’s Manual - Hardware Edition
9 CC-Link/LT Built-in master ability (Only FX3UC-32MT-LT)
9.15 Practical Program Examples
FX
3UC
Series Programmable Controllers
User’s Manual - Hardware Edition
3. Program example
→
For information on using PLC instructions, refer to the FX
3U
/ FX
3UC
Programming Manual.
→
Refer to Section 9.17 and 9.18 for the buffer memory (BFM).
0
M8000
< >
D10
H0
=
D10
H0
Reads the error station information.
BFM #4
→
D10
(Unit No.0)
Reads the detailed error information.
BFM #29
→
M10 to M25
(Unit No.0)
CC-Link/LT
error has occurred
The remote station
connection status is
normal.
53
Gives the data link stop
instruction.
H20
→
BFM #27
(Unit No.0)
X001
X002
Gives the data link
restart instruction.
H0
→
BFM #27
(Unit No.0)
X002
X001
N0
M0
M10
Data link error has
occurred.(b0)
M11
Data link error has
occurred in all
stations.(b1)
M12
Remote I/O error has
occurred.(b2)
M13
Out-of-control-range
station error has
occurred.(b3)
M14
Transmission speed
setting error has
occurred.(b4)
M17
EEPROM error has
occurred.(b7)
M18
The DIP switch setting
is changed.(b8)
M25
Hardware error has
occurred.(b15)
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.
Control program
Pay attention not to use devices twice
X020
Y020
X024
Y024
To easily
monitor the
nerwork, output
select error flags
to external
lamps and
indicators.
MOV
U0\G4
D10
Y000
MC
N0
M0
MOVP
H20
U0\G27
Y001
Y002
Y003
Y004
Y005
Y010
Y011
Y012
MCR
N0
END
Unit No.0
BFM #4
MOV U0\G29 K4M10
Unit No.0
BFM #29
Unit No.0
BFM #27
MOVP
H0
U0\G27
Unit No.0
BFM #27
Summary of Contents for FX3UC Series
Page 1: ...USER S MANUAL Hardware Edition FX3UC SERIES PROGRAMMABLE CONTROLLERS ...
Page 2: ......
Page 457: ......