Standby Type Program - Mitsubishi Electric MELSEC iQ-R Series User Manual

Process cpu module
Hide thumbs Also See for MELSEC iQ-R Series:
Table of Contents

Advertisement

Standby type program

This type of program is executed only when its execution is requested.
Librarization of programs
Set a subroutine program and/or an interrupt program as a standby type program to manage them separately from the main
routine program. In a single standby type program, multiple subroutine programs and interrupt programs can be created.
Scan execution type program
Main routine program
P100
Subroutine program
I0
Interrupt program
Program arrangement change
Prepare programs available in all systems to use them only when necessary. For example, a program set in advance as the
standby type with a parameter can be changed to scan execution type and executed. ( Page 112 Using an instruction)
Execution method
The standby type program is executed as follows.
• Create a subroutine program and interrupt program within the standby type program, and then call them when an interrupt
occurs or by specifying with a pointer.
• Switch to another execution type program.
Scan execution type program
Main routine program
Standby type program
P100
Subroutine program
I0
Interrupt program
8 RUNNING A PROGRAM
8.5 Program Execution Type
8
111

Advertisement

Table of Contents
loading

Table of Contents