Mitsubishi Electronics FX3G Video Gaming Accessories User Manual


 
129
FX3G/FX3U/FX3UC Series Programmable Controllers
Programming Manual - Basic & Applied Instruction Edition
4 Devices in Detail
4.9 Data Register and File Register [D]
1
Introduction
2
Overview
3
Instruction
List
4
Devices
in Detail
5
Specified the
Device &
Constant
6
Before
Programming
7
Basic
Instruction
8
FNC00-FNC09
Program Flow
9
FNC10-FNC19
Move & Compare
10
FNC20-FNC29
Arith. & Logic
Operation
3. Data register File register <writing by BMOV (FNC 15) instruction>
When a file register (D1000 or later) is specified for the destination of BMOV (FNC 15) instruction, it is possible to
directly write data to the file register area [A] inside the program memory.
Write
When X001 is set to ON, data is transferred to the
data register area [B] and file register area [A] as
shown in the figure on the left.
If data cannot be written to the file register area [A]
because the protect switch of the memory cassette is
ON, data is written to only the data register area [B].
When a file register device is specified for in a
general applied instruction, data is transferred to only
the data register area [B].
A file register can be specified for . If is
the same as , the same-number register
update mode is selected.
For the same-number register update mode, refer
to the previous page.
By controlling BMOV instruction direction reverse flag M8024 for BMOV (FNC 15) instruction, data can be
transferred in both directions in one program (as shown in the figure below).
Cautions on reading
When a file register (D1000 or later) is specified for the source of BMOV (FNC 15) instruction and the same number
file register is not specified for the destination, the contents of the file register area [A] inside the program memory are
not read.
1) When a file register is specified for the source and a data register is specified for the destination
Batch transfer of data registers
When X000 is set to ON, the data register area [B] is
read as shown in the figure on the left.
A file register can be specified for . If is
the same as , the same-number register
update mode is selected.
For the same-number register update mode,
refer to the previous page.
D1100
Write
Data register
[B]
Inside system
RAM
Inside built-in
memory or
memory cassette
Program
memory
Program/
comment
File register
[A]
D1000
Data
memory
Data register
Data register
D7999
D 0
D1100
D1499
D599
D200
D1499
Write
500 points ×
14 blocks
maximum
(7000 points
maximum)
X001
FNC 15
BMOVP
D200 D1100 K400
S
D
n
OFF
M8024
D
S
D
S
X000
FNC 15
BMOVP
D1100 D200 K400
X001
M8024
BMOV
direction
inverse
M8001
M8024
BMOV
direction
inverse: OFF
Always OFF during
operation
S
D
n
Batch transfer of data registers
M8024(OFF):D1100 D200
S
D
Batch transfer of data registers
and writing to file register
M8024(ON) :D1100 D200
S
D
Data register
[B]
Inside system
RAM
Inside built-in
memory or
memory cassette
Program
memory
Program/
comment
File register
[A]
D1000
Data
memory
Data register
Data register
D7999
D599
D 0
D200
Read
D1499
D1100
500 points ×
14 blocks
maximum
(7000 points
maximum)
X000
FNC 15
BMOVP
D1100 D200 K400
S
D
n
OFF
M8024
D
S
D