Справочник Пользователя для Mitsubishi Electronics Mitsubishi Digital Electronics Video Gaming Accessories FX3G

Скачать
Страница из 936
733
FX
3G
/FX
3U
/FX
3UC
 Series Programmable Controllers
Programming Manual - Basic & Applied Instruction Edition
33 Extension File Register Control – FNC290 to FNC299
33.6 FNC295 – INITER / Initialize ER
31
FN
C
275
-F
N
C
27
9
Da
ta
 
Trans
fe
r 3
32
FN
C
280-
FN
C
289
H
igh Speed 
Pr
ocessing 2
33
FN
C
290-
FN
C
299
E
xtension Fi
le 
R
egister
34
FN
C
300-
FN
C
30
5
FX
3U
-C
F-A
D
P
35
SFC•
STL
Pr
ogr
am
m
ing
36
In
ter
rupt
 
Funct
ion
37
S
pecial
 D
evice
38
Er
ro
r C
ode
A
Ve
rs
ion U
In
fo
rm
atio
n
B
Executi
on
 T
im
es
33.6
FNC295 – INITER / Initialize ER
Outline
This instruction initializes extension file registers (ER) to “HFFFF” (<K-1>) in a memory cassette (flash memory) before
executing the SAVER (FNC291) instruction.
Because the INITER (FNC295) instruction is not supported in FX
3UC
 PLCs earlier than Ver.1.30, use INITR (FNC292)
instruction instead.
→ For SAVER (FNC291) instruction, refer to Section 33.2.
→ For INITR (FNC292) instruction, refer to Section 33.3.
1. Instruction format
2. Set data
3. Applicable devices
Explanation of function and operation
1. 16-bit operation (INITER and INITERP)
“n” sectors of extension file registers (ER) in a memory cassette (flash memory) with the same device number as
 are initialized to “HFFFF” (<K-1>).
Initialization is executed in sectors.
The table below shows the head device number in each sector:
Operand Type
Description
Data Type
Head device number of extension register sector with the same device number as the
extension file register to be initialized
16-bit binary
n
Number of sectors of 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
Sector 
number
Head device 
number
Initialized device range
Sector 
number
Head device 
number
Initialized device range
Sector 0
R0
ER0 to ER2047
Sector 8
R16384
ER16384 to ER18431
Sector 1
R2048
ER2048 to ER4095
Sector 9
R18432
ER18432 to ER20479
Sector 2
R4096
ER4096 to ER6143
Sector 10
R20480
ER20480 to ER22527
Sector 3
R6144
ER6144 to ER8191
Sector 11
R22528
ER22528 to ER24575
Sector 4
R8192
ER8192 to ER10239
Sector 12
R24576
ER24576 to ER26623
Sector 5
R10240
ER10240 to ER12287
Sector 13
R26624
ER26624 to ER28671
Sector 6
R12288
ER12288 to ER14335
Sector 14
R28672
ER28672 to ER30719
Sector 7
R14336
ER14336 to ER16383
Sector 15
R30720
ER30720 to ER32767
P
FNC 295
INITER
Mnemonic
Operation Condition
16-bit Instruction
 5 steps
INITER
Mnemonic
Operation Condition
Continuous
Operation
32-bit Instruction

INITERP
Pulse (Single)
Operation
  S
  S
   
S
FNC295
INITERP
n
S ‚
Command
input