Mitsubishi Electronics FX5 ユーザーズマニュアル

ページ / 306
20
1  PROGRAM EXECUTION
1.4  Execution Type of Program
1.4
Execution Type of Program
Set the program execution conditions.
Initial execution type program
This program type is executed only once when the CPU module changes from the STOP/PAUSE to the RUN status. This 
program type is used for programs, that do not need to be executed from the next scan once they are executed, like initial 
processing on an intelligent function module.
Also, the execution time of initial execution type programs is the same as the initial scan time.
When multiple initial execution type programs are executed, the execution time of the initial execution type programs 
becomes the time until execution of all initial execution type programs is completed.
Precautions
The precautions for initial execution type programs are explained below.
Restrictions in programming
With initial execution type programs, do not use instructions that require several scans to complete execution (instructions for 
which completion devices exist).
Ex.
e.g. RBFM and WBFM instructions
When an initial execution type program is used
Program A
Program B
Control by one program
Initial execution 
type program
Scan execution 
type program
One program can be divided into initial execution 
type and scan execution type program.
Processing performed 
only once
Processing performed 
in every scan
1st scan
2nd scan
3rd scan
STOP/PAUSE→RUN
END processing
Initial execution type program A
Initial execution type program B
Scan execution type program
Initial execution type program C
0
END
0
END
0
0
END
0
END
0
END
Initial scan time is the sum of the execution time of initial execution type programs 
and the END processing time.