EasyManuals Logo
Home>Omron>Controller>CPM2C

Omron CPM2C User Manual

Omron CPM2C
325 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #43 background imageLoading...
Page #43 background image
20
Structure and Operation Section 1-3
Interrupt Program
Execution
When an interrupt is generated during execution of the main program, main
program execution is interrupted immediately and the interrupt program is
executed. The following diagram shows the cyclic operation of the CPM2C
when an interrupt program is executed.
Normally, the results of interrupt program execution are transferred to I/O
memory just after program execution (during I/O refreshing), but IORF(97)
can be used to refresh a specified range of I/O words during execution of the
interrupt program. The specified range of I/O words will be refreshed when
IORF(97) is executed.
The normal cycle time is extended by the time required for execution of the
interrupt program.
Refer to Section 7 PC Operations and Processing Time in the Programming
Manual (W353) for more details and precautions on the cycle time.
!Caution Although IORF(97) can be used in interrupt subroutines, you must be careful
of the interval between IORF(97) executions. If IORF(97) is executed too fre-
quently, a fatal system error may occur (FALS 9F), stopping operation. The
interval between executions of IORF(97) should be at least 1.3 ms + total exe-
cution time of the interrupt subroutine.
Immediate Refreshing IORF(97) can be executed in the program to refresh a specified range of I/O
words. The specified I/O words will be refreshed when IORF(97) is executed.
IORF(97) can be used to refresh I/O from the main program or the interrupt
program.
Cycle
t
ime
Overseeing processes
Main program
I/O refreshing
RS-232C port servicing
Peripheral port servicing
Interrupt generated.
Interrupt program

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Omron CPM2C and is the answer not in the manual?

Omron CPM2C Specifications

General IconGeneral
BrandOmron
ModelCPM2C
CategoryController
LanguageEnglish

Related product manuals