767
FX
3G
/FX
3U
/FX
3UC
Series Programmable Controllers
Programming Manual - Basic & Applied Instruction Edition
33 Extension File Register Control – FNC290 to FNC299
33.3 FNC292 – INITR / Initialize R and ER
31
FN
C
275-
FN
C
279
Da
ta
Transf
er 3
32
FN
C
280-
FN
C
289
H
igh Speed
Pr
ocessing 2
33
FN
C
29
0-F
N
C
299
Ext
ens
ion Fi
le
R
egi
ster
34
FN
C
300-
FN
C
305
FX
3U
-C
F-A
D
P
35
SFC•S
TL
Pr
ogr
am
m
ing
36
In
ter
rupt
Functi
on
37
Special D
evice
38
E
rro
r C
ode
A
Ve
rs
ion U
p
In
fo
rm
atio
n
B
Execution T
im
es
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
3UC
PLCs former than Ver.1.30, use this instruction to initialize extension file registers (ER) before
writing data to them using SAVER (FNC291) instruction.
In FX
3UC
PLCs Ver.1.30 or later and FX
3U
PLCs, INITER (FNC295) instruction is also provided to initialize (to
"HFFFF" <K-1>) only extension file registers (ER) in a memory cassette (flash memory) in units of sector.
→
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.
1. Instruction format
2. Set data
*1.
When a memory cassette is not used, extension file registers (ER) are not initialized.
3. Applicable devices
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
and “n”
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.
Operand Type
Description
Data Type
Device number of extension register and extension file register
*1
to be initialized
It is possible to specify only the head device number in a sector of extension
registers.
16-bit binary
n
Number of sectors of extension registers and extension file registers to be
initialized
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
3
3
n
3 3
P
FNC 292
INITR
Mnemonic
Operation Condition
16-bit Instruction
5 steps
INITR
Mnemonic
Operation Condition
Continuous
Operation
32-bit Instruction
⎯
⎯
INITRP
Pulse (Single)
Operation
S
S
S
FNC292
INITRP
S
n
Command
input