Fx 3G /Fx 3U /Fx 3Uc Plc Program Example - Mitsubishi FX3U-64CCL User Manual

Programmable controller
Hide thumbs Also See for FX3U-64CCL:
Table of Contents

Advertisement

FX
-64CCL User's Manual
3U
8.3
FX
/FX
3G
3U
For programs in the master PLC, refer to the manual of the CC-Link master unit.
1) Sample program for station number 1
*Read communication status, error code and unit status
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
M8000
M35 Global error
M8000
*Read remote output RY and remote register RWw
M8000
Unit ready, Link execution
M55
M7
M8000
To next page
56
/FX
PLC program example
3UC
FNC 79
FROM
FNC 79
FROM
FNC 79
FROM
FNC 78
TO
FNC 79
FROM
FNC 78
TO
8.3 FX3G/FX3U/FX3UC PLC program example
K0
K25
K4M0
K1
Y000
Y001
Y002
Y003
Y004
Y005
Y006
K4M20
K0
K29
K1
Y007
K4M40
K0
K36
K1
K0
K61
K1
K1
K0
K120 K4M400
K14
K0
K61
K0
K1
8 Program Example
Read the communication status
BFM#25
M15~M0
Display the communication
status (according to necessity)
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
BFM#133~ #120(RYDF~RY00)
M623~M400
RY consistency
accessibility completed

Advertisement

Table of Contents
loading

Table of Contents