3
- 62
3.3 Settings for Creation and Execution of Multiple Sequence Programs
3.3.6 Execution type setting and example of type changing
3
SEQUENCE PROGRAM CONFIGURATION AND
EXECUTION CONDITIONS
POINT
Once the fixed scan execution type program is changed to another execution
type, it cannot be returned to the fixed scan execution type.
(b) Example of execution type changing
In a control program, the stand-by type program matching the preset condition is
changed to the scan execution type program.
An unused scan execution type program can also be changed to the stand-by
type program.
The following example (Figure 3.56) shows the case where the execution types of
the stand-by type programs "ABC", "DEF", "GHI", "JKL" are changed in the control
program.
(4) Changing execution type from the program list monitor
The execution type can be changed from the program list monitor of GX Developer.
For details, refer to Section 6.13.1 (3).
Figure 3.56 Example of instruction-triggered execution type changing
PSCAN "ABC"
M0
:ABC
:DEF
:GHI
:JKL
PSTOP "ABC"
M1
PSCAN "DEF"
Control program
Changes program
"ABC" from stand-by
type to scan execution
type when M0 turns
ON.
Changes program
"ABC" from scan
execution type to stand-
by type when M1 turns
ON.
"DEF"
PSTOP
PSCAN is instruction that changes
specified program "ABC" to scan
execution type.
PSTOP is instruction that changes
specified program "ABC" to stand-
by type.
Stand-by
type
program
Stand-by
type
program
Stand-by
type
program
Stand-by
type
program