Mitsubishi FX3G Series Programming Manual page 697

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

Advertisement

FX
/FX
/FX
/FX
3G
3U
3GC
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
Series
K2
K1001
D100
K2
K2001
D200
31 Data Transfer 3 – FNC276 to FNC279
31.1 FNC278 – RBFM / Divided BFM Read
The BFM write start flag is set
SET
M0
to ON.
D100 to D179 (80 points) are written to
the buffer memories #1001 to 1080 in
K80
K16
the unit No. 2 (in 5 operation cycles).
RST
M0
The BFM write start flag is set to OFF.
Execution of the WBFM instruction is
Y000
waited.
RST
M0
The BFM write start flag is set to OFF.
SET
M5
The BFM read start flag is set to ON.
The buffer memories #2001 to 2080 (80
K80
K16
points) in the unit No. 2 are read to
D200 to D279 (in 5 operation cycles).
RST
M5
The BFM read start flag is set to OFF.
Execution of the RBFM instruction is
Y001
waited.
RST
M5
The BFM read start flag is set to OFF.
END
31
32
33
34
35
36
37
38
A
B
695

Advertisement

Table of Contents
loading

This manual is also suitable for:

Fx3u seriesFx3gc seriesFx3uc series

Table of Contents