Mitsubishi Electric melsec q00ujcpu User Manual page 70

Programmable controller
Hide thumbs Also See for melsec q00ujcpu:
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.
shows the case where the execution type of the stand-by type programs "ABC", "DEF",
Figure 2.34
"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.
Stand-by
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].
Control program
M0
M1
Stand-by
type
type
program
:ABC
:DEF
Figure 2.34 Execution type change example
(
Section 6.13.1)
CHAPTER2 SEQUENCE PROGRAMS
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
1
2
3
4
5
6
7
8
2 - 31

Advertisement

Table of Contents
loading

Table of Contents