EasyManuals Logo
Home>Omron>Controller>CPM1

Omron CPM1 Programming Manual

Omron CPM1
541 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 #106 background imageLoading...
Page #106 background image
85
SRM1 Interrupt Functions Section 1-7
DM 0038 0000
DM 0039 FFFF Range 8 interrupt subroutine not executed
The following diagram shows the example ladder program. DM 6642 must be
set to 01@0, where @ is the reset method which can be set to 0 or 1.
1-7 SRM1 Interrupt Functions
This section explains the settings and methods for using the SRM1 interrupt
functions.
1-7-1 Types of Interrupts
The SRM1 has only one type of interrupt processing, as outlined below.
Interval Timer Interrupts
Interrupt processing is executed by an interval timer with a precision of
0.1 ms.
1-7-2 Interval Timer Interrupts
The SRM1 is equipped with one interval timer. When the interval timer times
out, the main program is interrupted and the interrupt program is executed
immediately, regardless of the point in the cycle.
There are two modes for interval timer operation, the One-shot Mode, in
which only one interrupt will be executed when time expires, and the Sched-
uled Interrupt Mode in which the interrupt is repeated at a fixed interval.
The interval timer’s set value can be set anywhere from 0.5 to 319968 ms, in
units of 0.1 ms.
Operation Use the following instruction to activate and control the interval timer.
Starting Up in One-Shot Mode
Use the STIM(69) instruction to start the interval timer in the one-shot mode.
25315 (ON for first cycle)
SBN(92) 040
CTBL(63)
000
001
DM 0000
Registers comparison table, range comparison mode
First word of the comparison table
Interrupt program 40
SBN(92) 041
Interrupt program 41
RET(93)
RET(93)
(@)STIM(69)
C
1
C
2
C
3
C
1
: Interval timer, one-shot mode (000)
C
2
: Timer set value (first word address)
C
3
: Subroutine no. (4 digits BCD): 0000 to 0049

Table of Contents

Other manuals for Omron CPM1

Questions and Answers:

Question and Answer IconNeed help?

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

Omron CPM1 Specifications

General IconGeneral
BrandOmron
ModelCPM1
CategoryController
LanguageEnglish

Related product manuals