135
FX3S/FX3G/FX3GC/FX3U/FX3UC Series
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
2. File register ↔ Data register <updating the same number registers by BMOV (FNC 15)
instruction>
When the same file register is specified for both and in BOMV (FNC 15) instruction, this instruction
specifies the same-number register update mode and executes the following operation:
Read
•When X002 is set to ON while BMOV instruction direction
reverse flag M8024 is OFF, the contents of a file register are
transferred to the data register area [B] inside the data memory
as shown in the figure on the left.
Write
•When X003 is set to ON while BMOV instruction direction
reverse flag M8024 is ON, the contents of a data register inside
the data memory are written to the file register area inside the
program memory as shown in the figure on the left.
• When updating the contents of a file register in the same-number register update mode, make sure that the file
register numbers at and are equal to each other. Also make sure that the number of transfer points
specified by "n" does not exceed the file register area. If the number of transfer points exceeds the file register area,
an operation error occurs and the instruction is not executed.
• When and are indexed, the instruction is executed if the actual device number is within the file
register area and if the number of transfer points is within the file register area also.
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
D1100
D 0
Read
D1100
D1499D1499
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
D1100
D 0
Write
D1100
D1499D1499
500 points ×
14 blocks
maximum
(7000 points
maximum)
500 points ×
14 blocks
maximum
(7000 points
maximum)
X002
OFF
M8024
BMOV
direction
inverse:
OFF
FNC 15
BMOVP
D1100 D1100 K400
S
D
n
Same file register number is specified.
X003
X001
M8024
BMOV
direction
inverse:
ON
FNC 15
BMOVP
D1100 D1100 K400
S
D
n
Same file register number is specified.
M8001
M8024
BMOV
direction
inverse:
OFF
Always OFF
during operation
ON
S
D
S
D