727
FX
3U
/FX
3UC
Series Programmable Controllers
Programming Manual - Basic & Applied Instruction Edition
33 Extension File Register Control – FNC290 to FNC299
33.5 FNC294 – RWER / Rewrite to ER
31
FN
C
275-FN
C
279
Da
ta
Tr
ans
fe
r 3
32
FN
C
280
-F
N
C
28
9
H
igh Speed
Pr
oces
si
ng 2
33
FN
C
290-FN
C
299
Ext
ensi
on Fi
le
R
egi
st
er
34
SF
C
•S
T
L
Pr
o
g
ra
m
m
in
g
35
In
te
rru
p
t
Funct
ion
36
Sp
e
cia
l De
vic
e
37
E
rro
r C
o
d
e
A
V
e
rs
ion U
p
In
fo
rm
a
tio
n
B
Ex
ec
ut
ion Ti
m
e
s
C
Appl
ic
ab
le
In
st
ru
ct
ion Li
st
Cautions
1. Cautions on writing data to a memory cassette
Memory cassettes adopt flash memory. Note the following contents when writing data to extension file
registers in a memory cassette with the FNC294 instruction.
• Though extension file registers to be written can be specified arbitrarily, writing is executed in units of
sector.
It takes about 66 ms to write one sector. If the extension file registers to be written are located in two
sectors, the instruction execution time will be about 132 ms.
Make sure to change the set value of the watchdog timer D8000 before executing this instruction.
The table below shows the head device number in each sector:
• Do not turn OFF the power while this instruction is being executed. If the power is turned OFF, execution
of this instruction may be aborted. If execution is aborted, the data may be lost. Make sure to back up the
data before executing this instruction.
→
For the backup method, refer to the next page.
Sector number
Device range
Sector number
Device range
Sector 0
ER0 to ER2047
Sector 8
ER16384 to ER18431
Sector 1
ER2048 to ER4095
Sector 9
ER18432 to ER20479
Sector 2
ER4096 to ER6143
Sector 10
ER20480 to ER22527
Sector 3
ER6144 to ER8191
Sector 11
ER22528 to ER24575
Sector 4
ER8192 to ER10239
Sector 12
ER24576 to ER26623
Sector 5
ER10240 to ER12287
Sector 13
ER26624 to ER28671
Sector 6
ER12288 to ER14335
Sector 14
ER28672 to ER30719
Sector 7
ER14336 to ER16383
Sector 15
ER30720 to ER32767
M100
FNC 12
MOV
D8000
D200
Writing command input
PLS
M100
FNC 20
ADD
D8000
K66
*1
D8000
FNC294
RWER
R1000
K100
FNC 07
WDT
*1 Number of sectors to be written
×
66 ms
The contents of R1000 to R1099 in the sector 0 are
written to ER1000 to ER1099.
MOV
D200
D8000
FNC 07
WDT