Program Execution Order - Mitsubishi Electric M800VW Series Programming Manual

Plc programming
Hide thumbs Also See for M800VW Series:
Table of Contents

Advertisement

M800V/M80V Series PLC Programming Manual (1/2)
2 PLC Processing Program
2.6 Multi-Program Method

2.6.2 Program Execution Order

Several programs are executed in a predetermined order. They are not executed simultaneously. The order is determined in
the setting screen in the development tool (GX Developer/GX Works2 or built-in PLC (built-in edit function)). The programs
are executed from the smallest number in the same execution type. An example of the setting screen for GX Developer is
shown below.
The execution order when seven sequence programs are registered in the CNC, as shown in the above setting screen, is
indicated below.
Program name
INIT
Initialization sequence program
HLAD1
High-speed process execution program
Execution type is set as "Scan"
HLAD2
MAIN
Main process sequence program
MLAD1
Execution type is set as "Scan"
MLAD2
SUB1
Standby sequence program
HLAD1
High-speed
process
Main process
Note
(1) If the process jumps to END (P4005) in the sequence program, the process will jump to the end of each process (high-
speed, main) instead of the end of the program.
Execu-
Execution type
tion or-
HLAD2
MAIN
MLAD1
One scan
der
1
Starts up only once when the power is turned ON.
1
Scan type for which program name starts with "H"
2
1
2
Scan type for which program name does not start with "H"
3
Here, subroutine that is called from MLAD2 with CALL in-
1
struction is stored
SUB1
MLAD2
MAIN
11
Remarks
MLAD1
IB-1501667-B

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents