Executing Multiple Programs - Mitsubishi Electric L02SCPU User's Manual And Reference

Melsec-l series, cpu module
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  [Parameter]  [PLC Parameter]  [Program]
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 347,
Section 7.2 (2))
Program A
Control data A
Program B
Dividing one program
Control data B
into multiple programs.
Program n
Control data n
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)
• In Unit: Select the unit ("ms" or "s") of the fixed scan interval.
CHAPTER 2 APPLICATION OF PROGRAMMING
Divide a program
on the basis of each
control data and
register them.
Description
2
Reference
Page 63,
Section 2.8.1
Page 65,
Section 2.8.2
Page 66,
Section 2.8.3
Page 69,
Section 2.8.4
61

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents