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.5 Changing the program execution type
2 - 31
(b) Execution type change example
In a control program, a stand-by type program matching the preset condition is changed to a scan
execution type program in the course of program execution.
An unused scan execution type program can also be changed to a stand-by type program.
Figure 2.34 shows the case where the execution type of the stand-by type programs "ABC", "DEF",
"GHI", and "JKL" are changed in the control program.
(2) Changing the execution type from the Program monitor list screen
The execution type of programs can be changed on the screen opened by selecting [Online]
[Monitor] [Program monitor list].
( Section 6.13.1)
Figure 2.34 Execution type change example
PSCAN
"ABC"
M0
PSTOP
"ABC"
M1
PSCAN
"DEF"
Control program
When M0 turns on, the
program "ABC" is
changed from a stand-by
type to a scan execution
type program.
When M1 turns on, the
program "ABC" is
changed from a scan
execution type to a
stand-by type program.
"DEF"
PSTOP
The PSCAN instruction
changes the program "ABC" to
a scan execution type program.
The PSTOP instruction changes
the program "ABC" to a stand-
by type program.
Stand-by
type
program
:ABC
Stand-by
type
program
:DEF
Stand-by
type
program
:GHI
Stand-by
type
program
:JKL