65
CHAPTER 2 APPLICATION OF PROGRAMMING
2
2.8 Executing Multiple Programs
2.8.3 Standby type program
(b) Changing the program execution type using instructions
Use the PSCAN, PSTOP, or POFF instruction to change a program execution type.
( Page 69, Section 2.8.5)
The program execution type is changed in END processing. Therefore, the execution type will not be changed
in the middle of program execution. If different types are set to the same program in the same scan, the
program will be changed to the type specified by the last instruction executed.
(2) Restrictions on creating a execution type program
Unavailable devices depend on the program type (subroutine program or interrupt program) or the execution type
changed by an instruction.
• The PSCAN instruction changes the program "DEF" to a scan execution type program.
• The PSTOP instruction changes the program "ABC" to a standby type program.
Ex.
Ex.