Cautions On Using Extension File Registers - Mitsubishi Electric MELSEC-Q Structured Programming Manual

Hide thumbs Also See for MELSEC-Q:
Table of Contents

Advertisement

FXCPU Structured Programming Manual
[Device & Common]
2. Sectors of extension registers and extension file registers
According to the data structure, extension registers and extension file registers are divided into sectors in
FX
/FX
PLCs. One sector consists of 2048 devices. The table below shows the head device in each
3U
3UC
sector.
Sectors are not provided for extension registers and extension file registers in FX
Head
Sector
device
No.
No.
Sector 0
R0
Sector 1
R2048
Sector 2
R4096
Sector 3
R6144
Sector 4
R8192
Sector 5
R10240 ER10240 to ER12287, R10240 to R12287
Sector 6
R12288 ER12288 to ER14335, R12288 to R14335
Sector 7
R14336 ER14336 to ER16383, R14336 to R16383
2.9.7

Cautions on using extension file registers

1. Cautions on writing data to extension file registers (in FX
Because extension file registers are stored in the flash memory inside a memory cassette, pay attention to
the following points:
• When writing data to extension file registers using the SAVER instruction
Initialize sectors to be written in advance before executing this instruction. After initialization, write data to
extension file registers.
In FX
PLCs Ver. 1.30 or later, it is not necessary to initialize sectors to be written when using the
3UC
RWER instruction.
• When writing data to extension file registers using the LOGR instruction
Initialize sectors to be written in advance before starting to log data.
• When using the INITR instruction
This instruction initializes the contents of extension registers and extension file registers in specified sectors.
When initializing only extension file registers using this instruction, make sure to temporarily move the
contents of extension registers in target sectors to unused extension registers or unused data registers
before executing this instruction.
When initializing only extension file registers in FX
2. Initialization of extension file registers
Because the contents of extension file registers are stored in the attached memory cassette or built-in
EEPROM, execute the data clear operation using a sequence program or GX Works2.
When writing data to extension file registers in FX
written in advance.
When writing data to extension file registers in FX
written.
1) Initialization using a program (only in FX
a) Initialize only extension file registers in units of sector [in Ver. 1.30 or later]
Example: When initializing ER0 to ER4095 (initializing two sectors starting from ER0)
Command input
b) When initializing extension registers and extension file registers in units of sector
Example: When initializing R0 to R4095 and ER0 to ER4095 (initializing two sectors starting from R0
Command input
Device range
ER0 to ER2047, R0 to R2047
ER2048 to ER4095, R2048 to R4095
ER4096 to ER6143, R4096 to R6143
ER6144 to ER8191, R6144 to R8191
ER8192 to ER10239, R8192 to R10239
INITERP
EN
ENO
R0
s
K2
n
and ER0 respectively)
INITRP
EN
ENO
s
R0
n
K2
2.9 Extension Register [R] and Extension File Register [ER]
Head
Sector
device
No.
No.
Sector 8
R16384 ER16384 to ER18431, R16384 to R18431
Sector 9
R18432 ER18432 to ER20479, R18432 to R20479
Sector 10 R20480 ER20480 to ER22527, R20480 to R22527
Sector 11 R22528 ER22528 to ER24575, R22528 to R24575
Sector 12 R24576 ER24576 to ER26623, R24576 to R26623
Sector 13 R26624 ER26624 to ER28671, R26624 to R28671
Sector 14 R28672 ER28672 to ER30719, R28672 to R30719
Sector 15 R30720 ER30720 to ER32767, R30720 to R32767
/FX
3U
PLCs Ver. 1.30 or later, use the INITER instruction.
3UC
/FX
PLCs, it is necessary to initialize areas to be
3U
3UC
/FX
PLCs, it is not necessary to initialize areas to be
3G
3GC
/FX
PLCs)
3U
3UC
The current value is initialized to "FFFF
each of ER0 to ER4095.
The current value is initialized to "FFFF
each of R0 to R4095 and ER0 to ER4095.
2 Devices in Detail
/FX
PLCs.
3G
3GC
Device range
PLCs)
3UC
H
H
1
2
3
4
5
6
7
" in
" in
109

Advertisement

Table of Contents
loading

This manual is also suitable for:

Melsec-lMelsec-fFx3sFx3gFx3gcFx3u ... Show all

Table of Contents