Mitsubishi Electric MELSEC FX Series User Manual page 135

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

Advertisement

FX
-4LC User's Manual
3U
c) Writing the bit information of auxiliary relays to the buffer memory
In the program below, the ON/OFF status of auxiliary relays (M20 to M35) is written to the buffer
memory (BFM#518) in the unit No. 0.
Write
command
d) Writing the bit information stored in data registers to the buffer memory
In the program below, the ON/OFF status of each bit of a data register (D201) is written to the buffer
memory (BFM#518) in the unit No. 0. Each bit of the data register (D201) should be set to ON or OFF
in advance by bit specification of word devices.
Write
command
2) FROM/TO instructions (conventional method)
Read the contents of the buffer memory using the FROM/TO instructions.
a) Reading and transferring the bit information to auxiliary relays
In the program below, the contents of the buffer memory (BFM#0) in the unit No. 1 are read and
transferred to auxiliary relays (M40 to M55).
Read
command
Buffer memory No.
M40
M41
M55
FNC 12
MOV
Transfer source
FNC 12
MOV
Transfer source
FNC 78
K1
K0
FROM
Unit No.
9.1 Reading/Writing Buffer Memory
M20
M21
M35
K4M20
U0\G518
Buffer memory No.
Unit No.
D201.0
D201.1
D201.F
D201
U0\G518
Buffer memory No.
Unit No.
K4M40
K1
Number of transfer points
Transfer destination
9 Program Examples
1
2
3
4
5
6
7
8
9
10
129

Advertisement

Table of Contents
loading

Table of Contents