8 Program Example
8.3 FX3G/FX3U/FX3UC PLC program example
56
FX
3U
-64CCL User's Manual
8.3
FX
3G
/FX
3U
/FX
3UC
PLC program example
For programs in the master PLC, refer to the manual of the CC-Link master unit.
1) Sample program for station number 1
*Read remote output RY and remote register RWw
Read the communication status
BFM#25 M15~M0
Display the communication
status (according to necessity)
Y001
Y002
Y003
Y004
Y005
Y006
Y007
M8000
M0 CRC error
M1 Timeout error
M7 Link execution
M8 During the master PLC RUN
M9 Errors in the master PLC
M10 Refresh
M13 M14 Protocol version
M35 Global error
M8000
Y000
K0
K25
K4M0
FNC 79
FROM
K1
M8000
K0
K29
K4M20
FNC 79
FROM
K1
M8000
K0
K36
K4M40
FNC 79
FROM
K1
M7
K1
K0
K61
FNC 78
TO
K1
Unit ready, Link execution
M55
Read the error code
BFM#29 M35~M20
Output the error
(according to necessity)
Read the unit status
BFM#36 M55~M40
RY consistency
accessibility start
M8000
K1
K0
K61
FNC 78
TO
K0
RY consistency
accessibility completed
To next page
*Read communication status, error code and unit status
BFM#133~ #120(RYDF~RY00)
M623~M400
K0
FNC 79
FROM
K120 K4M400
K14
Summary of Contents for FX3U-64CCL
Page 1: ...FX3U 64CCL USER S MANUAL ...
Page 2: ......
Page 6: ... 4 MEMO ...
Page 11: ...5 FX3U 64CCL User s Manual Table of Contents Warranty 69 Revised History 70 ...
Page 77: ......