Mitsubishi Electric melsec q00ujcpu User Manual page 408

Programmable controller
Hide thumbs Also See for melsec q00ujcpu:
Table of Contents

Advertisement

(c) File register size checking procedure
• Check the file register size used for each sequence program.
• Check the total file register size set in SD647 on the sequence program to see if there are sufficient
number of points to be used or not.
[Program example 1]
The file register range of use is checked at the beginning of each program.
SM400
<
M0
M0 Transfer command
[Program example 2]
The file register range of use is checked after execution of the QDRSET instruction.
SM400
<
M0
M0 Transfer command
[Program example 3]
When a block is switched to another:
SM400
<
M0
Block switching
M0
command
(3) Deleting a file register file
To delete an unnecessary file register file, select [Online]
4K points specified
SD647
K4
MOVP K4X20 R0
QDRSET "1:ABCD"
SD647 K4
MOVP K4X20 R0
SD647 K33
Figure 9.77 Program examples of file register checking
Final file register
M0
range check
Y0
Alarm processing
Writing to file
register
Changing file register to
ABCD of Drive 1
Final file register
M0
range check
Alarm processing
Y0
Writing to file
register
Final file register
M0
range check
Y0
Alarm processing
RSET K1
Switching to block 1
[Delete PLC data] in GX Developer.
CHAPTER9 DEVICES
9
2
3
4
5
6
7
8
9 - 63

Advertisement

Table of Contents
loading

Table of Contents