Mitsubishi Electronics QnUCPU Home Theater Server User Manual


 
CHAPTER2 SEQUENCE PROGRAMS
1
2
3
4
5
6
7
8
2.3 Settings When Program is Divided
2.3.3 Stand-by type program
2 - 25
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.14.2.
Figure 2.28 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"