716
FX3G/FX3U/FX3UC Series Programmable Controllers
Programming Manual - Basic & Applied Instruction Edition
33 Extension File Register Control – FNC290 to FNC299
33.2 FNC291 – SAVER / Save to ER
Program examples
1) In the case of FX3UC PLCs Ver. 1.30 or later and FX3U PLCs Ver. 2.20 or later
In the example shown below, only extension registers R10 to R19 (in sector 0) need to be updated in the
extension file registers (ER). When X000 is set to ON, sector 0 (head device R0) is written to the extension file
registers 128 points at a time. (128 points are written in one operation cycle)
Program
Operation
M0
X000
R0 K1
SET M0
M8029
RST M0
FNC295
INITERP
FNC 07
WDTP
END
FNC291
SAVER
R0 K128 D0
(1)
Instruction execution complete flag
(2)
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
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
INITER
instruction
(1)
SAVER
instruction
ER0 HFFFF
ER1 HFFFF
ER10 HFFFF
ER11 HFFFF
Device number
Current value
Extension file registers (ER)
ER12 HFFFF
ER19 HFFFF
ER99 HFFFF
ER100 HFFFF
HFFFFER2047
To the next page
Setting backup data
Setting data (A)
Changed data
Unused
(2)
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.