![Mitsubishi Electric FX3G SERIES Programming Manual Download Page 741](http://html.mh-extra.com/html/mitsubishi-electric/fx3g-series/fx3g-series_programming-manual_238902741.webp)
739
FX
3G
/FX
3U
/FX
3UC
Series Programmable Controllers
Programming Manual - Basic & Applied Instruction Edition
33 Extension File Register Control – FNC290 to FNC299
33.6 FNC295 – INITER / Initialize ER
31
FNC276
-F
NC2
79
Da
ta
Trans
fer 3
32
FNC28
0-F
NC
289
H
igh-Speed
Process
ing 2
33
FNC2
90-
FNC299
Ex
tensi
on Fi
le
Register
34
FN
C300-
FNC30
5
FX
3U
-C
F-
AD
P
35
SFC
•STL
Programming
36
Interrupt
Function
37
Sp
ec
ia
l D
evi
ce
38
E
rror Code
A
Ve
rsi
on U
p
Inform
ati
on
B
Ex
ecuti
on
T
imes
Errors
An operation error is caused in the following cases; The error flag M8067 turns ON, and the error code is stored in
D8067.
• When any device number other than the head device number of a sector of extension file registers (ER) is set to
(error code: K6706)
• When a device number to be initialized exceeds “32767” (error code: K6706)
In this case, devices up to R32767 (ER32767) are initialized.
• When the protect switch of the memory cassette is set to ON (error code: K6770)
• When a memory cassette is not connected (error code: K6771)
Program example
In the program example shown below, the extension file registers ER0 to ER2047 in sector 0 are initialized.
• Extension file registers (ER) [inside the memory cassette]
Device number
Current value
Before execution
After execution
ER0
H1234
HFFFF
ER1
H5678
HFFFF
ER2
H90AB
HFFFF
...
...
...
ER2047
HCDEF
HFFFF
S
X000
END
R0
K1
FNC 07
WDT
FNC295
INITER
FNC 07
WDT