2
-
41
(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.43 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]. (
Figure 2.43 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