Cautions On Using Extension File Registers - Mitsubishi FX3U Series Programming Manual

Hide thumbs Also See for FX3U Series:
Table of Contents

Advertisement

FX
/FX
Series Programmable Controllers
3U
3UC
Programming Manual - Basic & Applied Instruction Edition
2. Sectors of extension registers and extension file registers
According to the data structure, extension registers and extension file registers are divided into sectors. One
sector consists of 2048 devices. The table below shows the head device in each sector.
Head
Sector
device
No.
No.
Sector 0
R0
Sector 1
R2048
Sector 2
R4096
Sector 3
R6144
Sector 4
R8192
Sector 5
R10240
Sector 6
R12288
Sector 7
R14336
4.9.7

Cautions on using extension file registers

1. Cautions on writing data to extension file registers
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 by SAVER instruction
Before executing this instruction, initialize sectors to be written in advance. After initialization, store data to
be written to extension registers.
In FX
PLCs Ver.1.30 or later, it is not necessary to initialize sectors to be written when using RWER
3UC
instruction.
• When writing data to extension file registers by LOGR instruction
Before starting to log data, initialize sectors to be written in advance.
• When using INITR instruction
This instruction initializes the contents of specified extension registers and extension file registers.
When initializing only extension file registers by this instruction, make sure to temporarily move the
contents of extension registers 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 flash memory inside a memory cassette,
execute the data clear operation by a sequence program or GX Developer to initialize them.
1) When initializing extension file registers by a program
a) Initializing only extension file registers in units of a sector [Ver.1.30 or later]
Example: When initializing ER0 to ER4095 (initializing two sectors starting from ER0)
Command input
b) 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
and ER0)
Command input
2) When initializing extension file registers using GX Developer
Select [Online] → [Clear PLC memory...] in GX Developer, and clear [Data device].
This operation initializes the contents of timers, counters, data registers, file registers and extension
registers.
114
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
ER10240 to ER12287, R10240 to R12287
ER12288 to ER14335, R12288 to R14335
ER14336 to ER16383, R14336 to R16383
FNC 295
R0
INITERP
FNC 292
R0
INITRP
4.9 Extension Register [R] and Extension File Register [ER]
Head
Sector
device
No.
No.
Sector 8
R16384
Sector 9
R18432
Sector 10 R20480
Sector 11 R22528
Sector 12 R24576
Sector 13 R26624
Sector 14 R28672
Sector 15 R30720
PLCs Ver.1.30 or later, use INITER instruction.
3UC
The current value is initialized to "FFFF
K2
to ER4095.
The current value is initialized to "FFFF
K2
ER0 to ER4095.
4 Devices in Detail
Device range
ER16384 to ER18431, R16384 to R18431
ER18432 to ER20479, R18432 to R20479
ER20480 to ER22527, R20480 to R22527
ER22528 to ER24575, R22528 to R24575
ER24576 to ER26623, R24576 to R26623
ER26624 to ER28671, R26624 to R28671
ER28672 to ER30719, R28672 to R30719
ER30720 to ER32767, R30720 to R32767
" in ER0
H
" in R0 to R4095 and
H

Advertisement

Table of Contents
loading

This manual is also suitable for:

Fx3uc seriesMelsec-f

Table of Contents