Mitsubishi Electronics FX3G Manual Do Utilizador
141
FX
3S
/FX
3G
/FX
3GC
/FX
3U
/FX
3UC
Series
Programming Manual - Basic & Applied Instruction Edition
4 Devices in Detail
4.10 Extension Register [R] and Extension File Register [ER]
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
4.10.6 Functions and operation examples of extension file registers
Extension file registers (ER) are usually used as log data storage destinations and set data storage destinations.
Extension file registers can be handled only with dedicated instructions shown in the table below. When using data
contents with other instructions, transfer them to an extension register of the same device number, and then use the
extension register.
However, extension file registers (ER) are available in FX
Extension file registers can be handled only with dedicated instructions shown in the table below. When using data
contents with other instructions, transfer them to an extension register of the same device number, and then use the
extension register.
However, extension file registers (ER) are available in FX
3U
/FX
3UC
PLCs only when the memory cassette is attached.
• FX
3G
/FX
3GC
PLCs
*1.
When the memory cassette is attached, extension file registers in the memory cassette are accessed.
When the memory cassette is not attached, extension file registers in the EEPROM built in the PLC are
accessed.
When the memory cassette is not attached, extension file registers in the EEPROM built in the PLC are
accessed.
• FX
3U
/FX
3UC
PLCs
*2.
Extension file registers are only accessible when a memory cassette is mounted.
1. Relationship between extension file registers and extension registers
Extension file registers and extension registers have the following positional relationship inside the PLC.
a) FX
3G
/FX
3GC
PLCs
*3.
Memory cassette cannot be connected to FX
3GC
PLCs.
Instruction
Description
LOADR (FNC290)
This (transfer) instruction reads data of extension file registers (ER)
*1
to extension registers (R).
RWER (FNC294)
This (transfer) instruction writes specified extension registers (R) to extension file registers (ER)
Use this instruction to store the contents of any extension register (R) in extension file registers (ER)
Use this instruction to store the contents of any extension register (R) in extension file registers (ER)
*1
.
Instruction
Description
LOADR (FNC290)
This (transfer) instruction reads data of extension file registers (ER)
*2
to extension registers (R).
SAVER (FNC291)
This (transfer) instruction writes data of extension registers (R) to extension file registers (ER)
*2
in 2048 point (1
sector) units. Use this instruction to store newly created sectors (2048 points) of data to extension file registers
(ER)
(ER)
*2
.
INITR (FNC292)
This instruction initializes extension registers (R) and extension file registers (ER)
*2
in 2048 point (1 sector) units.
Use this instruction to initialize extension registers (R) and extension file registers (ER)
*2
before starting to log data
by the LOGR instruction.
LOGR (FNC293)
This instruction logs specified data, and writes it to extension registers (R) and extension file registers (ER)
*2
.
RWER (FNC294)
This (transfer) instruction writes specified extension registers (R) to extension file registers (ER)
*2
.This instruction is
supported in FX
3UC
PLC Ver. 1.30 or later. Use this instruction to store the contents of any extension register (R) to
extension file register (ER)
*2
.
INITER (FNC295)
This instruction initializes extension file registers (ER)
*2
in 2048 point (1 sector) units. This instruction is supported
in FX
3UC
PLC Ver. 1.30 or later. Use this instruction to initialize extension file registers (ER)
*2
before executing
SAVER instruction.
Available in built-in RAM
Extension register (R)
Extension file register (ER)
General-purpose device
(sequence program)
(sequence program)
General
applied
instruction
applied
instruction
All points are
written at one
time
written at one
time
Programming tool
Nonvolatile
memory
memory
LOADR instruction
(point units)
(point units)
RWER instruction
(arbitrary number of points)
(arbitrary number of points)
ER23999
ER0
R0
R23999
GX Works2, GX Developer
Available in attached memory
cassette or built-in EEPROM
cassette or built-in EEPROM
*3