712
FX
3U
/FX
3UC
Series Programmable Controllers
Programming Manual - Basic & Applied Instruction Edition
33 Extension File Register Control – FNC290 to FNC299
33.2 FNC291 – SAVER / Save to ER
• Do not abort execution of this instruction in the middle of operation. If execution is aborted, unexpected
data may be written to extension file registers.
If execution of this instruction is aborted by turning OFF the power, execute the instruction again using step
2 described below after turning ON the power again.
• Execute INITER (FNC295) or INITR (FNC292) instruction to target extension file registers (ER) before
executing SAVER instruction. If SAVER instruction is driven before INITER (FNC295) or INITR (FNC292)
instruction is executed, an operation error (error code: K6770) may be caused.
To avoid such an operation error, make a program for executing SAVER instruction in the following
sequence:
When the FX
3U
/FX
3UC
PLC is Ver.1.30 or later
[1] When storing data of 2048 extension registers (R) in one sector to
extension file registers (ER)
1) Execute INITER (FNC295) instruction to extension file registers (ER) specified as targets in
SAVER instruction.
2) Execute SAVER instruction.
[2] When storing the contents of an arbitrary number of extension registers (R) to extension file
registers (ER)
Use RWER instruction.
→
For RWER (FNC294) instruction, refer to Section 33.5.
When the FX3
UC
PLC is former than Ver.1.30
[1] When storing data of 2048 extension registers (R) in one sector to
extension file registers (ER)
If the extension registers (R) have data to be stored in extension file registers (ER), use the procedure
[2].
1) Execute INITR (FNC292) instruction to extension registers (R) and extension file registers (ER)
specified as targets in SAVER instruction.
2) Store data to extension registers (R) specified as targets.
3) Execute SAVER instruction.
[2] When storing data of 2048 extension registers (R) in one sector to extension file registers (ER)
1) Temporarily withdraw the data of extension registers (R) specified as targets in SAVER instruction
to data registers or unused 2048 extension registers (R) by using BMOV (FNC 15) instruction.
2) Execute INITR (FNC292) instruction to extension registers (R) and extension file registers (ER)
specified as targets in SAVER instruction.
3) Return the data of 1024 points temporarily withdrawn in step 1) to extension registers (R) specified
as targets by using BMOV (FNC 15) instruction.
4) Execute SAVER instruction.
M
{{
FNC295
INTERP
S
n
M8029
Write
command
RST
M
{{
SET
M
{{
Instruction execution complete flag
FNC291
SAVER
S
n
D