Mitsubishi Electronics FXCPU Video Game Controller User Manual


 
33 Applied Instructions (Extension File Register Control)
33.5 RWER / Rewrite to ER
765
FXCPU Structured Programming Manual
[Basic & Applied Instruction]
31
Applied Instructions
(Data Transfer 3)
32
Applied Instructions
(High Speed
Processing 2)
33
Applied Instructions
(Extension File
Register Control)
34
Applied Instructions
(FX
3U
-CF-ADP)
35
Interrupt Function
and Pulse Catch
Function
A
Relationships
between devices
and addresses
B
Applied
Instruction 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
3UC PLC earlier than Ver. 1.30, use SAVER instruction
instead.
1. Format and operation, execution form
2. Set data
3. Applicable devices
FX3U(C) FX3G(C) FX3S FX2N(C) FX1N(C) FX1S FXU/FX2C FX0N FX0(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
EN Execution condition Bit
Device of extension register storing data ANY16
Number of written (transferred) devices
[FX3G/FX3GC: 1 n 24000, FX3U/FX3UC: 0 n 32767]
ANY16
Output
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
XYMTCS
D
.b
KnX KnY KnM KnS T C D R
U\G
VZModifierKH E
"
"
P
zz
zzz
RWER
EN ENO
s
n
RWERP
EN ENO
s
n