Initial Execution Type Program - Mitsubishi Electric melsec q00ujcpu User Manual

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

Advertisement

2.3.1

Initial execution type program

(1) Definition
Initial execution type program is executed only once when the CPU module is powered on or its
operating status is changed from STOP to RUN.
This type of program can be used as a program that need not be executed from the next scan and
later once it is executed, like initial processing to an intelligent function module.
Control by one program
Processing performed
only once
Processing performed
in every scan
Figure 2.19 When processing performed only once is separated as an initial execution type program
(2) Processing
(a) Execution order
After completion of all the initial execution type program execution, END processing is performed.
In the next scan and later, scan execution type programs are executed.
Scan execution type
program
When an initial execution type program is used
Powered off
on/
STOP
RUN
Initial execution
type program A
Initial execution
type program B
Initial execution
type program n
END processing
Figure 2.20 Execution order of the initial execution type programs
Program A
Initial execution type
program
One program can
be divided into two
programs.
Program B
Scan execution type
program
If there are multiple initial
execution type programs, the
1 scan
CPU module executes them in
ascending order of the setting.
CHAPTER2 SEQUENCE PROGRAMS
2 - 17
1
2
3
4
5
6
7
8

Advertisement

Table of Contents
loading

Table of Contents