Mitsubishi Electric MELSEC FX3U Programming Manual page 762

Melsec fx series programmable logic controllers
Table of Contents

Advertisement

FX
/FX
/FX
Series Programmable Controllers
3G
3U
3UC
Programming Manual - Basic & Applied Instruction Edition
• 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.
Write
command
M
Instruction execution complete flag
M8029
2. Initialization of extension file registers
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
[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.
• When the FX
[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 2048 points temporarily withdrawn in step 1) to extension registers (R) specified
as targets by using BMOV (FNC 15) instruction.
4) Execute SAVER instruction.
760
SET
FNC295
S
INITERP
FNC291
S
n
SAVER
RST
/FX
PLC is Ver.1.30 or later
3U
3UC
PLC is former than Ver.1.30
3UC
33 Extension File Register Control – FNC290 to FNC299
M
n
D
M
→ For RWER (FNC294) instruction, refer to Section 33.5.
33.2 FNC291 – SAVER / Save to ER

Advertisement

Table of Contents
loading

This manual is also suitable for:

Melsec fx3ucMelsec fx3g

Table of Contents