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 #74 background imageLoading...
Page #74 background image
53
CQM1 Interrupt Functions Section 1-5
In addition, the following data is stored for the comparison table:
DM 0000 0002 Number of comparison conditions: 2
DM 0001 1000 Target value 1: 1000
DM 0002 0000
DM 0003 0101 Comparison 1 interrupt processing routine no.: 101
DM 0004 2000 Target value 1: 2000
DM 0005 0000
DM 0006 0102 Comparison 2 interrupt processing routine no.: 102
When the program is executed, operation will be as follows:
1-5-6 High-speed Counter 0 Overflows/Underflows
If the allowable counting range for high-speed counter 0 is exceeded, and
underflow or overflow status will occur and the counter’s PV will remain at
0FFF FFFF for overflows and FFFF FFFF for underflows until the overflow/
underflow status is cleared by resetting the counter. The allowable counting
ranges are as follows:
Up/Down Mode: F003 2767 to 0003 2767
Incrementing Mode: 0000 0000 to 0006 5535
25315 (ON for 1 scan)
SBN(92) 101
SPED(64)
020
001
#0020
SPED(64)
020
001
#0000
25313 (Always ON)
SBN(92) 102
25313 (Always ON)
CTBL(63)
000
000
DM 0000
SPED(64)
020
001
#0050
Saves the comparison table in target matching format,
and begins comparing.
Begins continuous pulse output to IR10002 at 500 Hz.
When the high-speed counter value reaches 1000, subroutine
101 is called and the frequency of the pulse output is changed to
200 Hz.
When the high-speed counter value reaches 2000, subroutine 102
is called and the pulse output is stopped by setting the frequency
to 0.
RET(93)
RET(93)
02 7
200
500
Pulse frequency (Hz)
Time elapsed (s)

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