Mitsubishi Electronics FX3G User Manual

Page of 964
733
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.5 FNC294 – RWER / Rewrite to ER
31
FNC277
-F
NC2
79
Da
ta
 
Trans
fer 3
32
FNC28
0-F
NC
289
H
igh-Speed 
Process
ing 2
33
FNC2
90-
FNC299
Ex
tensi
on Fi
le
 
Register C
ontrol
34
FN
C300-
FNC30
5
FX
3U
-C
F-
AD
P
35
SFC
•STL
Programming
36
Interrupt 
Function
37
Sp
ec
ia
l D
evi
ce
38
E
rror Code
A
Ve
rsi
on U
Inform
ati
on
B
Ex
ecuti
on
 T
imes
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
3UC
 PLC before Ver. 1.30, use the SAVER (FNC291)
instruction instead.
→ For the 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 with the same device numbers in a memory cassette (flash memory).
*1.
All points specified by the instruction are written (transferred).
• 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 devices
[FX
3G
/FX
3GC
: 1 
≤ n ≤ 24000, FX
3U
/FX
3UC
: 0 
≤ n ≤ 32767] to be written (transferred)
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
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
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
n
Command
input
E
E           +1
E            +2
E            +n-1
           +1
           +2
            +n-1
*1
Write
(transfer)
Extension file registers (ER)
inside memory cassette
Extension registers (R) inside
built-in RAM
S ‚
S ‚
S ‚
S ‚
S ‚
S ‚
S ‚
S ‚