Mitsubishi Electronics Mitsubishi Digital Electronics Video Gaming Accessories FX3G ユーザーズマニュアル
727
FX
3G
/FX
3U
/FX
3UC
Series Programmable Controllers
Programming Manual - Basic & Applied Instruction Edition
33 Extension File Register Control – FNC290 to FNC299
33.5 FNC294 – RWER / Rewrite to ER
31
FN
C
275
-F
-F
N
C
27
9
Da
ta
Trans
fe
fe
r 3
32
FN
C
280-
FN
FN
C
289
H
igh Speed
Pr
ocessing 2
33
FN
C
290-
FN
FN
C
299
E
xtension Fi
le
R
egister
34
FN
C
300-
FN
FN
C
30
5
FX
3U
-C
F-A
D
P
35
SFC•
STL
Pr
ogr
am
m
am
m
ing
36
In
ter
rupt
Funct
ion
37
S
pecial
D
evice
38
Er
ro
r C
ode
A
Ve
rs
ion U
p
In
fo
rm
atio
n
B
Executi
on
T
im
es
33.5
FNC294 – RWER / Rewrite to ER
Outline
This instruction writes the current values of an arbitrary number of extension registers (R) stored in the RAM in the
PLC to extension file registers (ER) stored in a memory cassette (flash memory or EEPROM) or the EEPROM built
into the PLC.
Because RWER (FNC294) instruction is not supported in FX
PLC to extension file registers (ER) stored in a memory cassette (flash memory or EEPROM) or the EEPROM built
into the PLC.
Because RWER (FNC294) instruction is not supported in FX
3UC
PLCs former than Ver.1.30, use SAVER (FNC291)
instruction instead.
→ For SAVER (FNC291) instruction, refer to Section 33.2.
1. Instruction format
2. Set data
3. Applicable devices
Explanation of function and operation
1. 16-bit operation (RWER)
1) In FX
3U
/FX
3UC
PLCs
The contents (current values) of “n” extension registers (R) starting from
are written (transferred) to
extension file registers having the same device numbers in a memory cassette (flash memory).
•When “n” is set to “0”, it is handled as “32768” when the instruction is executed.
Operand Type
Description
Data Type
Device number of extension register storing data
16-bit binary
n
Number of written (transferred) devices
[FX
[FX
3G
: 1
≤ n ≤ 24000, FX
3U
/FX
3UC
: 0
≤ n ≤ 32767]
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
3
3
n
3
3 3
P
FNC 294
RWER
Mnemonic
Operation Condition
16-bit Instruction
5 steps
RWER
Mnemonic
Operation Condition
Continuous
Operation
32-bit Instruction
⎯
⎯
⎯
RWERP
Pulse (Single)
Operation
S
S
S
FNC294
RWERP
RWERP
n
S
Command
input
E
E +1
E +2
E +n-1
+1
+2
+n-1
*1
*1 All points specified by the instruction are written (transferred).
Write
(transfer)
Extension file registers (ER)
inside memory cassette
inside memory cassette
Extension registers (R) inside
built-in RAM memory
built-in RAM memory
S
S
S
S
S
S
S
S