10
DEVICE EXPLANATION
10.7 File Register (R)
10.7.6 Precautions for using file registers
10
- 82
9
P
a
ra
met
e
rs
10
Device
Exp
la
n
at
ion
11
CP
U
M
odu
le
P
ro
cessi
ng
Ti
m
e
12
P
roc
e
d
ure
f
or W
rit
in
g
P
rog
ra
m t
o CP
U Mo
du
le
A
p
pe
nd
ic
e
s
In
de
x
3) Checking the file register capacity
• Check The file register capacity used for each sequence program.
• Determine if the file register capacity exceeds the number of points used,
on the basis of the total file register capacity set in SD647 in the sequence
program.
[Program example 1]
The file register "range of use" is checked at the beginning of each program.
[Program example 2]
The file register "range of use" is checked after executing the QDRSET instruction.
[Program example 3]
For block switching.
(c) File register file deletion
Choose [Online] [Delete PLC data] on GX Developer to delete the unnecessary
file register file.
Figure 10.77 File register checking program example
SM400
M0
Y0
M0
Transfer command
M0
MOVP K4X20 R0
<
SD647
K4
Designates 4k points
Final file register
range check
Writing to file
register
Alarm processing
SM400
M0
Y0
M0
Transfer command
M0
MOVP K14X20 R0
<
SD647
K4
QDRSET "1:ABCD"
Final file register
range check
File register is changed
to drive 1 ABCD.
Writing to file
register
Alarm processing
SM400
M0
Y0
M0
Block switching command
M0
RSET K1
<
SD647 K33
Final file register
range check
Alarm processing
Switching to block 1
Содержание Q00CPU
Страница 1: ......
Страница 2: ......
Страница 972: ...Index 6 Memo ...
Страница 975: ......
Страница 976: ......