FX
/FX
/FX
Series Programmable Controllers
3G
3U
3UC
Programming Manual - Basic & Applied Instruction Edition
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.
Inside built-in
memory or
memory cassette
Program
memory
Program/
comment
D1000
500 points ×
File register
14 blocks
[A]
maximum
(7000 points
maximum)
• 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).
X001
X000
FNC 15
BMOVP
M8001
Always OFF during
operation
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
Inside built-in
memory or
memory cassette
Program
memory
Program/
comment
D1000
500 points ×
File register
14 blocks
[A]
maximum
(7000 points
maximum)
Inside system
RAM
D 0
D200
Data
memory
D599
Data register
D1100
D1100
Data register
Write
[B]
D1499
D1499
Data register
D7999
BMOV
M8024
direction
inverse
S
D
n
D1100
D200
K400
BMOV
M8024
direction
inverse: OFF
Inside system
RAM
D 0
D200
Data
memory
Data register
D599
D1100
Data register
[B]
D1499
Data register
D7999
4.9 Data Register and File Register [D]
Write
M8024
OFF
X001
FNC 15
BMOVP
• 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
general applied instruction, data is transferred to only
the data register area [B].
• A file register can be specified for
the same as
S
, the same-number register
update mode is selected.
→ For the same-number register update mode, refer
S
D
→
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
Batch transfer of data registers
M8024
OFF
X000
FNC 15
D1100
BMOVP
• 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
the same as
, the same-number register
D
update mode is selected.
→ For the same-number register update mode,
4 Devices in Detail
n
S
D
D200
D1100
K400
in a
D
S
. If
D
is
to the previous page.
n
S
D
D200
K400
D
. If
S
is
refer to the previous page.
131
1
2
3
4
5
6
7
8
9
10