Stand-By Type Program - Mitsubishi Electric Q01UCPU User Manual

Hide thumbs Also See for Q01UCPU:
Table of Contents

Advertisement

2.10.3

Stand-by type program

Stand-by type program is executed only when its execution is requested. This type of program can be changed to any
desired execution type by a sequence program instruction.
(1) Application
(a) Program library
Stand-by type program is used as a program library, a collection of subroutine programs and/or interrupt
programs, and managed separately from a main routine program.
Multiple subroutine programs and/or interrupt programs can be created and managed in a single stand-by type
program.
Scan execution type program
(b) Program type change
Stand-by type program is used to create and store programs available in all systems. Only required programs
will be executed. For example, a program preset as a stand-by ("Wait") type program in the PLC parameter
dialog box can be changed to a scan execution type program and executed in the sequence program.
(2) Execution method
Execute stand-by type programs in either of the following methods.
• Create subroutine and/or interrupt programs in a stand-by type program and call them using a pointer or
when an interrupt occurs.
• Change a stand-by type program to any other execution type using instructions.
Main routine
program
Subroutine
P100
program
Interrupt
I0
program
CHAPTER 2 APPLICATION OF PROGRAMMING
Scan execution type program
Main routine
program
Stand-by type program
Subroutine
P100
program
Interrupt
I0
program
2
93

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents