Executing Multiple Programs - Mitsubishi L02CPU User Manual

Melsec-l series
Hide thumbs Also See for L02CPU:
Table of Contents

Advertisement

2.8

Executing Multiple Programs

Multiple programs can be stored in the CPU module by changing the file names of programs. Dividing a program by
process or function allows simultaneous programming by multiple engineers.
Control by one program
Control data A
Control data B
Control data n
The following settings are required after creating multiple programs.
Project window
Programs are executed
in this order.
Setting item
Program Name
"Initial" (initial execution type program)
"Scan" (scan execution type)
"Wait" (standby type program)
Execute Type
"Fixed Scan" (fixed scan execution
type program)
How to use a local device file can be set for each program by proceeding to another dialog box.
(
Page 280, Section 7.2 (2))
58
Program A
Program B
Dividing one program
Control data B
into multiple programs.
Program n
[Parameter]
[PLC Parameter]
Description
Enter the name (file name) of the program to be executed in the CPU
module.
This program is executed only once when the CPU module is powered on
or its status is switched from STOP to RUN.
This program is executed once in every scan, starting in the next scan of
which the initial execution type program is executed and later.
This program is executed only when requested.
This program is executed at time intervals specified in "Fixed scan
interval" and "In Unit".
• Fixed scan interval
Enter the execution interval of fixed scan execution type program.
The setting range varies depending on the setting unit.
• When the unit is "ms": 0.5 to 999.5ms (in increments of 0.5ms)
• When the unit is "s": 1 to 60s (in increments of 1s)
• Unit
Select the unit ("ms" or "s") of the fixed scan interval.
Control data A
Divide a program
on the basis of each
control data and
register them.
Control data n
[Program]
Reference
Page 60, Section 2.8.1
Page 62, Section 2.8.2
Page 63, Section 2.8.3
Page 66, Section 2.8.4

Advertisement

Table of Contents
loading

This manual is also suitable for:

L26cpu-bt

Table of Contents