Mitsubishi FX3U-20SSC-H User Manual page 260

Hide thumbs Also See for FX3U-20SSC-H:
Table of Contents

Advertisement

FX
-20SSC-H Positioning Block User's Manual
3U
c) Writing 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 unit No. 1.
Write command
d) Writing 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 unit No. 1. 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 and write the contents of the buffer memory using the FROM/TO instructions.
a) Reading and transferring bit information to auxiliary relays
In the program below, the contents of the buffer memory (BFM #28) in unit No. 1 are read and
transferred to auxiliary relays (M40 to M55).
Read
command
Buffer memory No.
M40
M41
M55
254
FNC 12
MOV
Transfer source
FNC 12
MOV
Transfer source
FNC 78
K1
FROM
Unit No.
M20
M21
M35
K4M20
U1\G518
D201.0
D201.1
D201.F
D201
U1\G518
K28
K4M40
K1
12 Program Example
12.1 Reading/Writing Buffer Memory
Buffer memory
No.
Unit No.
Buffer memory
No.
Unit No.
Number of transfer
points
Transfer
destination

Advertisement

Table of Contents
loading

Table of Contents