Stand-By Type Program - Mitsubishi Electric melsec q00ujcpu User Manual

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

Advertisement

2.3.3

Stand-by type program

(1) Definition
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.
(2) 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.
Main routine
program
Subroutine
P100
program
Interrupt
I0
program
Figure 2.24 Program library using a stand-by type program
CHAPTER2 SEQUENCE PROGRAMS
Scan execution type program
Main routine
program
Stand-by type program
Subroutine
P100
program
Interrupt
I0
program
1
2
3
4
5
6
7
8
2 - 21

Advertisement

Table of Contents
loading

Table of Contents