Mitsubishi Electronics FX3G User Manual
135
FX
3S
/FX
3G
/FX
3GC
/FX
3U
/FX
3UC
Series
Programming Manual - Basic & Applied Instruction Edition
4 Devices in Detail
4.9 Data Register and File Register [D]
1
Introdu
ction
2
Ov
ervi
ew
ew
3
Instruction
Li
st
4
D
evices
in Det
ai
l
5
Specifi
ed the
De
vice
&
C
onst
ant
ant
6
Bef
ore
ore
Pr
og
ra
mmi
ng
ng
7
Bas
ic
ic
Instruction
8
FN
C00-FN
C00-FN
C0
9
Program Fl
ow
9
FNC
10-FN
C19
Mov
e & Com
e & Com
pare
10
FNC
20-FNC
29
Arith. & Lo
gi
c
Operati
on
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.
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.
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.
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
comment
File register
[A]
D1000
Data
memory
Data register
Data register
D7999
D1100
D 0
Read
D1100
D1499
D1499
Data
register
[B]
Inside system
RAM
Inside built-in
memory or
memory cassette
Program
memory
Program/
comment
comment
File
register
[A]
D1000
Data
memory
Data
register
Data register
D7999
D1100
D 0
Write
D1100
D1499
D1499
500 points
×
14 blocks
maximum
(7000 points
maximum)
maximum
(7000 points
maximum)
500 points
×
14 blocks
maximum
(7000 points
maximum)
maximum
(7000 points
maximum)
X002
OFF
M8024
BMOV
direction
inverse:
OFF
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
direction
inverse:
ON
FNC 15
BMOVP
D1100
D1100
K400
S
D
n
Same file register number is specified.
M8001
M8024
BMOV
direction
inverse:
OFF
direction
inverse:
OFF
Always OFF
during operation
during operation
ON
S
D
S
D