Справочник Пользователя для Mitsubishi Electronics FXCPU
33 Applied Instructions (Extension File Register Control)
33.5 RWER / Rewrite to ER
765
FXCPU Structured Programming Manual
[Basic & Applied Instruction]
31
Appl
ied
ied
In
stru
cti
cti
ons
(Da
ta
ta
T
rans
fer
3)
fer
3)
32
Ap
plied
Instru
ctio
ns
Instru
ctio
ns
(High S
peed
Process
ing 2)
33
App
lied Instr
lied Instr
ucti
ons
(Exte
nsion File
Regis
ter C
ontrol
ontrol
)
34
Ap
pl
ied In
struct
struct
ions
(FX
3U
-C
F-
AD
P)
P)
35
Int
errupt
Fun
cti
Fun
cti
on
and Puls
e Cat
ch
Functi
on
A
Re
lation
sh
ip
s
be
tw
ee
n de
vic
vic
es
an
d ad
dre
ss
dre
ss
es
B
Ap
plie
d
In
structio
n List
33.5
RWER / Rewrite to ER
Outline
This instruction writes the current values of an arbitrary number of extension registers (R) in the PLC's built-in
RAM to extension file registers (ER) in a memory cassette (flash memory or EEPROM) or to the extension file
registers (ER) in the PLC's built-in EEPROM.
Because RWER instruction is not provided in the FX
RAM to extension file registers (ER) in a memory cassette (flash memory or EEPROM) or to the extension file
registers (ER) in the PLC's built-in EEPROM.
Because RWER instruction is not provided in the FX
3UC
PLC earlier than Ver. 1.30, use SAVER instruction
instead.
1. Format and operation, execution form
2. Set data
3. Applicable devices
FX
3U(C)
FX
3G(C)
FX
3S
FX
2N(C)
FX
1N(C)
FX
1S
FX
U
/FX
2C
FX
0N
FX
0(S)
Instruction
name
Operation
Execution
form
Expression in each language
Structured ladder/FBD
ST
RWER
16 bits
Continuous
RWER(EN,s,n);
RWERP
16 bits
Pulse
RWERP(EN,s,n);
Variable
Description
Data type
Input
variable
variable
EN
Execution condition
Bit
Device of extension register storing data
ANY16
Number of written (transferred) devices
[FX
[FX
3G
/FX
3GC
: 1
≤ n ≤ 24000, FX
3U
/FX
3UC
: 0
≤ n ≤ 32767]
ANY16
Output
variable
variable
ENO
Execution state
Bit
Operand
type
Bit Devices
Word Devices
Others
System user
Digit specification
System
user
Special
unit
Index
Cons
tant
Real
Number
Character
String
Pointer
X Y M T C S D
.b KnX KnY KnM KnS T C D R U
\G
V Z Modifier K H
E
"
"
P
z
z
z
z z
RWER
EN
ENO
s
n
n
RWERP
EN
ENO
s
n
n