69
CHAPTER 2 APPLICATION OF PROGRAMMING
2
2.8 Executing Multiple Programs
2.8.5 Changing the program execution type
2.8.5 Changing the program execution type
The execution type of programs can be changed using instructions even during execution. Use the PSCAN, PSTOP, or
POFF instruction to change a program execution type.
Once the fixed scan execution type program is changed to another execution type, the type cannot be returned to the fixed
scan execution type.
Execution type before
change
Instruction
PSCAN PSTOP POFF
Scan execution type Remains unchanged. Changes to the standby type.
Turns off outputs in the next scan.
Changes to the standby type in two scans later.
Initial execution type Changes to the scan execution type. Changes to the standby type.
Turns off outputs in the next scan.
Changes to the standby type in two scans later.
Standby type Changes to the scan execution type. Remains unchanged. No processing
Fixed scan execution type Changes to the scan execution type. Changes to the standby type.
Turns off outputs in the next scan.
Changes to the standby type in two scans later.
Initial execution
type program
Standby type
program
Fixed scan execution
type program
Scan execution
type program
PSCAN
instruction
PSCAN
instruction
PSCAN
instruction
PSTOP
and POFF
instructions
PSTOP
and POFF
instructions
PSTOP
and POFF
instructions