Fnc292 - Initr / Initialize R And 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.3
FNC292 – INITR / Initialize R and ER
Outline
This instruction initializes (to "HFFFF" <K-1>) extension registers (R) in the RAM built in a PLC and extension
file registers in a memory cassette (flash memory) before data logging by LOGR (FNC293) instruction.
In FX
PLCs former than Ver.1.30, use this instruction to initialize extension file registers (ER) before
3UC
writing data to them using SAVER (FNC291) instruction.
In FX
PLCs Ver.1.30 or later and FX
3UC
"HFFFF" <K-1>) only extension file registers (ER) in a memory cassette (flash memory) in units of sector.
1. Instruction format
FNC 292
INITR
P
2. Set data
Operand Type
S
n
*1.
When a memory cassette is not used, extension file registers (ER) are not initialized.
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 (INITR and INITRP)
"n" sectors of extension registers in the PLC's built-in RAM starting from the one specified by
sectors of extension file registers in a memory cassette (flash memory) having the same device numbers are
initialized (to "HFFFF" <K-1>).
Initialization is executed in units of sector.
Command
input
FNC292
INITRP
PLCs, INITER (FNC295) instruction is also provided to initialize (to
3U
Mnemonic
16-bit Instruction
INITR
5 steps
INITRP
Device number of extension register and extension file register
It is possible to specify only the head device number in a sector of extension
registers.
Number of sectors of extension registers and extension file registers to be
initialized
Digit Specification
S
n
33 Extension File Register Control – FNC290 to FNC299
33.3 FNC292 – INITR / Initialize R and ER
→ For SAVER (FNC291) instruction, refer to Section 33.2.
→ For LOGR (FNC293) instruction, refer to Section 33.4.
→ For INITER (FNC295) instruction, refer to Section 33.6.
Operation Condition
32-bit Instruction
Continuous
Operation
Pulse (Single)
Operation
Description
*1
Word Devices
Special
System User
Index
Unit
V Z Modify K H
Mnemonic
Operation Condition
Data Type
to be initialized
16-bit binary
Others
Con-
Real
Charac-
stant
Number
ter String
E
" "
S
31
32
33
34
35
36
Pointer
P
37
38
and "n"
A
B
767

Advertisement

Table of Contents
loading

This manual is also suitable for:

Melsec fx3ucMelsec fx3g

Table of Contents