2
-
35
2) Execution type change timing
The program execution type is changed in END processing.
Therefore, the execution type will not be changed in the middle of program execution.
If different types are set to the same program in the same scan, the program will be changed to the type
specified by the last instruction executed.
*1: The programs "GHI" and "DEF" are executed in the order set in the Program tab of the PLC parameter dialog box.
(4) Precautions on programming
(a) Unavailable devices
Unavailable devices depend on the program type (subroutine program or interrupt program) or the execution
type changed by an instruction.
(b) Use of local devices
For execution of a subroutine program using a local device, refer to Section 9.13.2.
Figure 2.37 Execution type change timing
END processing
END processing
END processing
Program name
PSTOP "ABC"
execution
PSCAN "DEF"
execution
"DEF" is changed to a scan execution type
program and "ABC" is changed to a stand-by
type program.
"GHI"
"GHI"
"GHI"
"GHI"
*1
"DEF"
*1
"ABC"
Содержание 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: ......