108
FX
3U
/FX
3UC
Series Programmable Controllers
Programming Manual - Basic & Applied Instruction Edition
4 Devices in Detail
4.8 Data Register and File Register [D]
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 (flash memory) 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 the
number of
is specified for
, the
same-number update mode is selected.
→
For the same-number 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 the both directions in one program (as shown in the figure below).
Cautions on reading
Even if a file register (D1000 or later) is specified for the source of BMOV (FNC 15) instruction, the contents of
the file register area [A] inside the program memory are not read when the same number file register is not
specified for the destination (except the same number register update mode).
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 the
number of
is specified for
, the
same-number update mode is selected.
→
For the same-number update mode,
refer to the previous page.
D1100
Wri
te
Data register
[B]
Inside system
RAM
Inside built-in RAM
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 RAM
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