Fnc294 - Rwer / Rewrite To Er - Mitsubishi Electric MELSEC FX3U Programming Manual

Melsec fx series programmable logic controllers
Table of Contents

Advertisement

FX
/FX
/FX
Series Programmable Controllers
3G
3U
3UC
Programming Manual - Basic & Applied Instruction Edition
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
(FNC291) instruction instead.
1. Instruction format
FNC 294
P
RWER
2. Set data
Operand Type
S
n
3. Applicable devices
Bit Devices
Oper-
and
System User
Type
X Y M T C S D .b KnX KnY KnM KnS T C D R U \G
S
n
Explanation of function and operation
1. 16-bit operation (RWER)
1) In FX
/FX
3U
3UC
The contents (current values) of "n" extension registers (R) starting from
extension file registers having the same device numbers in a memory cassette (flash memory).
Command
input
Extension registers (R) inside
built-in RAM memory
S
+1
S
S
+2
+n-1
S
*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.
Mnemonic
16-bit Instruction
RWER
5 steps
RWERP
Device number of extension register storing data
Number of written (transferred) devices
: 1 ≤ n ≤ 24000, FX
[FX
/FX
3G
3U
Digit Specification
PLCs
FNC294
n
S
RWERP
Write
*1
(transfer)
33 Extension File Register Control – FNC290 to FNC299
PLCs former than Ver.1.30, use SAVER
3UC
→ For SAVER (FNC291) instruction, refer to Section 33.2.
Operation Condition
32-bit Instruction
Continuous
Operation
Pulse (Single)
Operation
Description
: 0 ≤ n ≤ 32767]
3UC
Word Devices
Special
System User
Unit
V Z Modify K H
Extension file registers (ER)
inside memory cassette
E
S
E
S
+1
E
S
+2
E
+n-1
S
33.5 FNC294 – RWER / Rewrite to ER
Mnemonic
Operation Condition
Data Type
16-bit binary
Others
Con-
Real
Charac-
Index
stant
Number
ter String
E
" "
are written (transferred) to
S
31
32
33
34
35
Pointer
P
36
37
38
A
B
777

Advertisement

Table of Contents
loading

This manual is also suitable for:

Melsec fx3ucMelsec fx3g

Table of Contents