10 - 51 10 - 51
MELSEC-Q
10 DEVICES
(c) Checking the file register capacity
1) Check The file register capacity used for each sequence program.
2) 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.
SM400
M0
Y0
M0 Transfer command
Final file register range check
M0
MOVP K4X20 R0
Alarm processing
Writing to file register
<
SD647 K4
Designates 4k points
[Program example 2]
The file register "range of use" is checked after executing the QDRSET instruction.
SM400
M0
Y0
M0
Transfer command
Final file register range
check
M0
MOVP K4X20 R0
Alarm processing
Writing to file register
<
SD647 K4
QDRSET "1:ABCD"
File register is changed
to drive 1 ABCD.
[Program example 3]
For block switching.
SM400
M0
Y0
M0
Block switching command
Final file register range
check
M0
RSET K1
Alarm processing
Switching to block 1
<
SD647 K33
(3) Deleting a File Register
To erase unwanted file register files, perform the PLC data deletion online.