Mitsubishi Electronics FX3S ユーザーズマニュアル
718
FX
3S
/FX
3G
/FX
3GC
/FX
3U
/FX
3UC
Series
Programming Manual - Basic & Applied Instruction Edition
33 Extension File Register Control – FNC290 to FNC299
33.2 FNC291 – SAVER / Save to ER
33.2
FNC291 – SAVER / Save to ER
Outline
This instruction writes the current values of the extension registers (R) stored in the PLC's built-in RAM to extension
file registers (ER) stored in a memory cassette (flash memory) in sector units (2048 points).
The RWER (FNC294) instruction provided in FX
file registers (ER) stored in a memory cassette (flash memory) in sector units (2048 points).
The RWER (FNC294) instruction provided in FX
3UC
PLC Ver. 1.30 or later and FX
3U
PLC only writes (transfers) a
arbitrary number of points. It is not necessary to execute the INITR (FNC292) or the INITER (FNC295) instruction
when RWER instruction is used.
when RWER instruction is used.
→ For RWER instruction, refer to Section 33.5.
1. Instruction format
2. Set data
3. Applicable devices
Explanation of function and operation
1. 16-bit operation (SAVER)
The contents (current values) of extension registers (R) specified by
to
+2047 are written (transferred) to
extension file registers (ER) inside a memory cassette (flash memory) with the same device numbers in “2048/n”
operation cycles (“2048/n+1” cycles if there is a remainder).
While the instruction is being executed, the number of points already written is stored in
operation cycles (“2048/n+1” cycles if there is a remainder).
While the instruction is being executed, the number of points already written is stored in
.
Operand Type
Description
Data Type
Head device number of extension register sector to which data is to be written
(Only the head device number of a sector of extension registers can be specified.)
(Only the head device number of a sector of extension registers can be specified.)
16-bit binary
n
Number of points written (transferred) in one operation cycle [0
≤ n ≤ 2048]
Device number storing the number of already written points
Oper-
and
Type
Bit Devices
Word Devices
Others
System User
Digit Specification
System User
Special
Unit
Index
Con-
stant
stant
Real
Number
Charac-
ter String
Pointer
X Y M T C S D .b KnX KnY KnM KnS T C D R U \G
V Z Modify K H
E
" "
P
n
FNC 291
SAVER
Mnemonic
Operation Condition
16-bit Instruction
7 steps
SAVER
Mnemonic
Operation Condition
Continuous
Operation
32-bit Instruction
⎯
⎯
⎯
⎯
S
D
S
D
S
S
D
FNC291
SAVER
n
M
M8029
Instruction execution complete flag
Instruction execution complete
flag for SAVER instruction
Command
input
S
D
E
E +1
E +2
E +2047
+1
+2
+2047
Write
(transfer)
Extension file registers (ER)
inside memory cassette
inside memory cassette
Extension registers (R)
inside built-in RAM
inside built-in RAM
*1
*1 “n” points are written (transferred) in each operation cycle.
S
S
S
S
S
S
S
S