9
-
75
2) Checking timing
• In a program using any file register, check the file register size at step 0.
• After execution of the file register file switching instruction (QDRSET), check the file register size.
• Before executing the file register block switching instruction (RSET), confirm that space of 1K points or
more can be ensured after the switching.
3) 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.
[Program example 2]
The file register range of use is checked after execution of the QDRSET instruction.
(File register size) > [32K points
(Switching block No) + 1K points]
SM400
M0
Y0
M0
Transfer command
M0
MOVP K4X20 R0
<
SD647
K4
4K points specified
Final file register
range check
Writing to file
register
Alarm processing
SM400
M0
Y0
M0 Transfer command
M0
MOVP K4X20 R0
<
SD647
K4
QDRSET "1:ABCD"
Final file register
range check
Changing file register to
ABCD of Drive 1
Writing to file
register
Alarm processing
Содержание 00JCPU
Страница 1: ......
Страница 2: ......
Страница 96: ...2 51 2 4 5 Character string data 1 Definition The CPU module uses shift JIS code character strings...
Страница 541: ......
Страница 542: ......