8 Program Example
8.3 FX3G/FX3U/FX3UC PLC program example
58
FX3U-64CCL User's Manual
2) Sample program for station number 5
M447
M8000
K1K0 K61
FNC 78
TO
K1
*Write remote input RX and remote register RWr
X027
M400
RY consistency
accessibility start
Utilization of the read
result
This section determines
the value of the remote
registers to set depending
on the ON/OFF write condition
of the remote inputs
User sequence processing
User sequence processing
X000
M7
Unit ready, Link execution
M55
M8000
*Read remote output RY and remote register RWw
To next page
RY consistency
accessibility completed
BFM#3~#0(RY3F~RY00,Ver.1
area) M463~M400
M8000
RWw consistency
accessibility start
M7
Unit ready, Link execution
M55
M8000
RWw consistency
accessibility completed
BFM#15~#8(RWw7~RWw0,
Ver.1 area) D57~D50
The contents of the communication status, error code and unit
status read program are same as those for station number 1
shown above.
K0
FNC 79
FROM
K0
K4M400
K4
K1K61
FNC 78
TO
K0
K0
K1K0 K62
FNC 78
TO
K1
K0
FNC 79
FROM
K8
D50
K8
K1K62
FNC 78
TO
K0
K0