
58
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.
The following settings are required after creating multiple programs.
Project window
[Parameter]
[PLC Parameter]
[Program]
How to use a local device file can be set for each program by proceeding to another dialog box.
(
Setting item
Description
Reference
Program Name
Enter the name (file name) of the program to be executed in the CPU
module.
⎯
Execute Type
"Initial" (initial execution type program)
This program is executed only once when the CPU module is powered on
or its status is switched from STOP to RUN.
"Scan" (scan execution type)
This program is executed once in every scan, starting in the next scan of
which the initial execution type program is executed and later.
"Wait" (standby type program)
This program is executed only when requested.
"Fixed Scan" (fixed scan execution
type program)
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
Control data B
Control data n
Control data A
Program A
Control data B
Program B
Control data n
Program n
Divide a program
on the basis of each
control data and
register them.
Control by one program
Dividing one program
into multiple programs.
Programs are executed
in this order.
Summary of Contents for L02CPU
Page 1: ......
Page 2: ......
Page 13: ...11 Memo ...
Page 78: ...76 Memo ...
Page 226: ...224 Memo ...
Page 318: ...316 To the next page ...
Page 320: ...318 To the next page ...
Page 322: ...320 To the next page ...
Page 324: ...322 To the next page ...
Page 326: ...324 To the next page ...
Page 335: ...333 Memo ...
Page 339: ......