33 Applied Instructions (Extension File Register Control)
33.2 SAVER / Save to ER
752
FXCPU Structured Programming Manual
[Basic & Applied Instruction]
Program example
1) In the case of FX3UC PLCs Ver. 1.30 or later and FX3U PLCs Ver. 2.20 or later
In the program example shown below, the changed contents of extension registers R10 to R19 (sector 0)
used for setting data are reflected on the extension file registers (ER) when X000 is set to ON. (128 points
are written in one operation cycle.)
Program
Operation example
[Structured ladder/FBD]
M0
X000
1)
SET
EN ENO
d
RST
EN ENO
d
M0
SAVER
EN
s
n
ENO
d
M0
WDT
EN ENO
R0
K128
M8029
Operation execution complete flag
2)
INITERP
EN ENO
s
n
R0
K1
D0
[ST]
SET(X000,M0);
INITERP(M0,R0,K1);
WDT(M0);
SAVER(M0,R0,K128,D0);
RST(M8029,M0);
INITER
instruction
1) 2)
SAVER
instruction
ER0 HFFFF
ER1 HFFFF
ER10 HFFFF
ER11 HFFFF
Setting backup data
Device number
Current
value
Extension file registers (ER)
ER12 HFFFF
ER19 HFFFF
ER99 HFFFF
ER100 HFFFF
HFFFFER2047
To the next page
R0 K100
R1 K105
R10 K200
R11 K215
Setting data
Device number
Current
value
Extension registers (R)
R12 K400
R19 K350
R99 K1000
R100 HFFFF
HFFFFR2047
Unused
Changed data
ER0 K100
ER1 K105
ER10 K300
ER11 K330
Setting backup data
Device number
Current
value
Extension file registers (ER)
ER12 K350
ER19 K400
ER99 K1000
ER100 HFFFF
HFFFFER2047
Setting data (A)