Mitsubishi Electric FX3G SERIES Programming Manual page 705

Programmable controllers
Hide thumbs Also See for FX3G SERIES:
Table of Contents

Advertisement

FX
/FX
/FX
Series Programmable Controllers
3G
3U
3UC
Programming Manual - Basic & Applied Instruction Edition
Program example
In the example shown below, data is read from and written to the buffer memories (BFM) in the unit No. 2 as follows:
• When X000 is set to ON, data stored in D100 to D179 (80 points) are written to the buffer memories (BFM) #1001
to 1080 in the special function block/unit whose unit number is No. 2 by 16 points in each operation cycle.
• When X001 is set to ON, the buffer memories (BFM) #2001 to 2080 (80 points) in the special function block/unit
whose unit number is No. 2 are written to D200 to D279 by 16 points in each operation cycle.
X000
BFM write
start
M0
FNC279
WBFM
BFM write
start
M8029
Instruction execution complete
M8328
Instruction non-execution
M8329
Instruction execution
abnormally complete
X001
BFM read
start
M5
FNC278
RBFM
BFM read
start
M8029
Instruction execution complete
M8328
Instruction non-execution
M8329
Instruction execution
abnormally complete
SET
K2
K1001
D100
K80
RST
RST
SET
K2
K2001
D200
K80
RST
RST
31 Data Transfer 3 – FNC276 to FNC279
31.1 FNC278 – RBFM / Divided BFM Read
The BFM write start flag is set
M0
to ON.
D100 to D179 (80 points) are written to
the buffer memories #1001 to 1080 in
K16
the unit No. 2 (in 5 operation cycles).
M0
The BFM write start flag is set to OFF.
Execution of the WBFM instruction is
Y000
waited.
M0
The BFM write start flag is set to OFF.
M5
The BFM read start flag is set to ON.
The buffer memories #2001 to 2080 (80
K16
points) in the unit No. 2 are read to
D200 to D279 (in 5 operation cycles).
M5
The BFM read start flag is set to OFF.
Execution of the RBFM instruction is
Y001
waited.
M5
The BFM read start flag is set to OFF.
END
31
32
33
34
35
36
37
38
A
B
703

Advertisement

Table of Contents
loading

This manual is also suitable for:

Fx3u seriesFx3uc series

Table of Contents