EasyManua.ls Logo

Mitsubishi Electric MELSEC-Q00U(J)CPU - Stand-By Type Program

Mitsubishi Electric MELSEC-Q00U(J)CPU
588 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
95
CHAPTER 2 APPLICATION OF PROGRAMMING
2
2.10 Settings When Program is Divided
2.10.3 Stand-by type program
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.
(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.
P100
I0
P100
I0
Scan execution type program Scan execution type program
Stand-by type program
Main routine
program
Main routine
program
Subroutine
program
Interrupt
program
Subroutine
program
Interrupt
program

Table of Contents

Related product manuals