Execution Type Change - Mitsubishi Electric MELSEC iQ-R-R00CPU User Manual

Melsec iq-r series cpu module application user's manual
Table of Contents

Advertisement

Execution type change

This section describes how to change the execution type of programs.
Using parameter settings
"Program Setting" can be used to specify the execution type of programs.
[CPU Parameter]  [Program Setting]  [Detailed Setting]
Operating procedure
"Program Setting" window
"Detailed Setting" window
Using an instruction
Use the following instructions.
• PSCAN
• PSTOP
• POFF
Initial execution type program
PSTOP or POFF
instruction
Standby type program
■Change timing
The execution type change timing is shown below.
Execution type
Execution instruction
before change
PSCAN
Initial
Switches to "Scan" at the next scan.
Scan
Non-processing (does not change from "Scan")
Fixed scan/event
Switches to "Scan" at the next scan.
Standby
*1 This instruction stops the execution of the program at END processing after instruction execution.
■Precautions
The following lists the precautions when changing the execution type.
• If a fixed scan execution type program or event execution type program is changed to another execution type, it cannot be
restored to the original execution type.
• If an instruction is executed multiple times in a single scan for a single program, the program operates for the instruction
executed last.
• For details on operation if an SFC program is specified, refer to the following.
 MELSEC iQ-R Programming Manual (Program Design)
1 RUNNING A PROGRAM
64
1.5 Program Execution Type
PSCAN instruction
PSTOP or POFF
PSCAN instruction
instruction
PSTOP or POFF instruction
PSTOP
Switches to "Standby" at the next
scan.
Non-processing (does not change
from "Standby")
1.
Click "Detailed Setting" on the
"Program Setting" window.
2.
For each program, select the
execution type in "Type" of
"Execution Type".
Scan execution type program
PSCAN instruction
Event execution type/Fixed scan
execution type program
POFF
Turns off the output at the next scan and
switches to "Standby" at the scan after that.
Turns off the output at the next scan and
switches to "Standby" at the scan after that.
Non-processing (does not change from
"Standby")
*1

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents