Mitsubishi 00JCPU User Manual page 86

Q series programmable controller
Table of Contents

Advertisement

(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.
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.
(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]
[Program monitor list]. (
2 - 41
Control program
M0
M1
Stand-by
Stand-by
type
type
program
program
:ABC
:DEF
Figure 2.43 Execution type change example
Section 6.13.1)
The PSCAN instruction
PSCAN "ABC"
changes the program "ABC" to
a scan execution type program.
The PSTOP instruction changes
PSTOP "ABC"
the program "ABC" to a stand-
by type program.
PSCAN "DEF"
"DEF"
PSTOP
Stand-by
Stand-by
type
type
program
program
:GHI
:JKL
[Monitor]

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents