3
- 48
3.3 Settings for Creation and Execution of Multiple Sequence Programs
3.3.4 Stand-by type program
3
SEQUENCE PROGRAM CONFIGURATION AND
EXECUTION CONDITIONS
2) Timing for execution type change
The program execution type is changed in the END processing.
Hence, it is not changed midway through program execution.
When different types are set to the same program in the same scan, it is
changed to the execution type executed by the latest instruction.
* 1 : The "GHI" and "DEF" programs are executed in the order set in the program setting of the PLC
parameter dialog box.
(4) Precautions for stand-by type program creation
(a) Unavailable devices
Unavailable devices depend on the program type (subroutine program, interrupt
program) or the execution type changed by an instruction.
(b) Execution of subroutine program using local device
Refer to Section 10.14.1 for execution of the subroutine program using a local
device.
(5) Settings for stand-by type program execution
(a) Program
When setting the created program as a stand-by type program in advance, set the
execution type to "Wait" in the program setting of the PLC parameter dialog box.
Figure 3.42 Timing for execution type change
Figure 3.43 Program
Execution
program name
"GHI"
END processing
"GHI"
"GHI"
"GHI"
"DEF"
"ABC"
END processing
*
1
*
1
END processing
"DEF" is changed to scan
execution type, and "ABC" is
changed to stand-by type
program.
PSTOP "ABC"
execution
PSCAN "DEF"
execution
Содержание Q00CPU
Страница 1: ......
Страница 2: ......
Страница 972: ...Index 6 Memo ...
Страница 975: ......
Страница 976: ......