1 RUNNING A PROGRAM
1.5 Program Execution Type
53
1
1.5
Program Execution Type
Set the execution condition of the program. (
Page 64 Execution type change)
Initial execution type program
Initial execution type program is executed only once when the CPU module has been powered off and on, or switched from
the STOP state to the RUN state. Use this execution type for a program, for example, initial processing for the intelligent
function module, which does not need execution after executed once in the initial scan.
Note that the execution time of the initial execution type program is the same as the initial scan time. (
scan time) When multiple initial execution type programs are executed, the execution time of the initial execution type
program will be the total time until all the initial execution type programs finish execution.
*1 The sum of the initial execution type program execution time and END processing time is the initial scan time.
Precautions
The following lists the precautions for the initial execution type programs.
■
Restrictions on program creation
In the initial execution type program, do not use an instruction which requires several scans to complete (i.e., an instruction
with a completion device).
Ex.
e.g. SEND and RECV instructions
(1) Divides programs into the initial execution type programs and scan
execution type programs.
(1)
When controlled by one program
Program B
Program A
When controlled by separate programs
(an initial execution type program is used)
Processing performed
only once
Processing performed
in each scan
Initial execution type
program
Scan execution type
program
END
0
0
END
END
0
0
0
END
END
0
*1
Power-on
→
RUN,
STOP
→
RUN
END processing
Initial execution type program A
Initial execution type program B
Initial execution type program C
Scan execution type program
First scan
Second scan
Third scan
Содержание MELSEC iQ-R-R00CPU
Страница 2: ......
Страница 151: ...9 MONITOR FUNCTION 9 1 Real Time Monitor Function 149 9 MEMO ...
Страница 323: ...18 SEQUENCE SCAN SYNCHRONIZATION SAMPLING FUNCTION 321 18 MEMO ...
Страница 330: ...328 20 ROUTING SETTING 20 3 Precautions MEMO ...
Страница 423: ...26 BASIC CONCEPT 26 8 State Transition of the Redundant System 421 26 MEMO ...
Страница 524: ...522 30 MAINTENANCE AND INSPECTION FOR A REDUNDANT SYSTEM 30 1 Module Replacement in the Redundant System MEMO ...
Страница 1009: ...APPX Appendix 14 List of Available SQL Commands for CPU Module Database Access Function 1007 A MEMO ...
Страница 1014: ...1012 APPX Appendix 15 Added and Enhanced Functions MEMO ...
Страница 1027: ......