Mitsubishi Electric Q01UCPU User Manual page 97

Hide thumbs Also See for Q01UCPU:
Table of Contents

Advertisement

(b) Changing the program execution type using instructions
Use the PSCAN, PSTOP, or POFF instruction to change a program execution type. (
2.10.5)
• The PSCAN instruction changes the program "DEF" to a scan execution type program.
Ex.
• The PSTOP instruction changes the program "ABC" to a standby type program.
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.
END processing
Program name
"GHI"
*1
The programs "GHI" and "DEF" are executed in the order set in the Program tab of the PLC parameter dialog box.
(3) Precautions on programming
(a) Unavailable devices
Unavailable devices depend on the program type (subroutine program or interrupt program) or the execution
type changed by an instruction.
(b) Use of local devices
For execution of a subroutine program using a local device, refer to Page 418, Section 6.2.
END processing
"ABC"
"GHI"
"GHI"
PSTOP "ABC"
"DEF" is changed to a scan execution type
execution
program and "ABC" is changed to a stand-by
PSCAN "DEF"
type program.
execution
CHAPTER 2 APPLICATION OF PROGRAMMING
END processing
*1
*1
"DEF"
"GHI"
Page 100, Section
2
95

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents