Changing The Program Execution Type - Mitsubishi Electric melsec q00ujcpu User Manual

Programmable controller
Hide thumbs Also See for melsec q00ujcpu:
Table of Contents

Advertisement

2.3.5 Changing the program execution type

(1)
Changing the execution type using instructions
(a) Instructions used to change the execution type
The execution type of sequence programs can be changed using instructions even during
execution.
Use the PSCAN, PSTOP, or POFF instruction to change the execution type.
Execution type before
change
Scan execution type
Initial execution type
Stand-by type
Fixed scan 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.
2 - 30
Initial execution
type program
PSTOP, POFF
PSTOP, POFF
instruction
instruction
Stand-by type
program
Figure 2.33 Pattern of execution type change
Table2.1 Timing of execution type change
PSCAN
Remains unchanged.
Changes to the scan
execution type.
Changes to the scan
execution type.
Changes to the scan
execution type.
PSCAN
instruction
Scan execution
type program
PSCAN
PSCAN
instruction
instruction
Fixed scan execution
type program
PSTOP, POFF
instruction
Instruction
PSTOP
Changes to the stand-by
type.
Changes to the stand-by
type.
Remains unchanged.
Changes to the stand-by
type.
POFF
Turns off outputs in the next scan.
Changes to the stand-by type in two
scans later.
Turns off outputs in the next scan.
Changes to the stand-by type in two
scans later.
No processing
Turns off outputs in the next scan.
Changes to the stand-by type in two
scans later.

Advertisement

Table of Contents
loading

Table of Contents