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

ページ / 306
28
1  PROGRAM EXECUTION
1.4  Execution Type of Program
Stand-by type program
This program is executed only when there is an execution request.
Saving programs in library
Subroutine programs or interrupt programs are saved as standby type programs so that they can be used when controlled 
separately from the main routine program. Multiple subroutine programs and interrupt programs can be created in one 
standby type program.
How to execute
Execute standby type programs as follows.
 • Create sub-routine programs and interrupt programs in the standby type program which is called up by a pointer, etc. or 
when an interrupt is generated.
P100
I0
P100
I0
Scan execution type program
Scan execution type program
Stand-by type program
Main routine 
program
Subroutine 
program
Interrupt 
program
Main routine 
program
Subroutine 
program
Interrupt 
program