Mitsubishi Electronics FX3G Video Gaming Accessories User Manual


 
712
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
33.2 FNC291 – SAVER / Save to ER
Outline
This instruction writes the current values of extension registers (R) stored in the PLC's built-in RAM to extension file
registers (ER) stored in a memory cassette (flash memory) in units of sector (2048 points).
RWER (FNC294) instruction provided in FX
3UC PLCs Ver.1.30 or later and FX3U PLCs writes (transfers) only arbitrary
number of points. It is not necessary to execute INITR (FNC292) or INITER (FNC295) instruction every time 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) having the same device numbers in “2048/n”
operation cycles (“2048/n+1” cycles if there is the remainder).
While the instruction is being executed, the number of already written points is stored in .
Operand Type Description Data Type
Device number of extension register to which data is to be written
(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
Real
Number
Charac-
ter String
Pointer
XYMTCSD
.b KnX KnY KnM KnS T C D R
U\G
V Z Modify K H E "
"P
33
n 33
33
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
Extension registers (R)
inside built-in RAM memory
*1
*1 “n” points are written (transferred) in each operation cycle.
S
S
S
S
S
S
S
S