Omron CPM1 - PROGRAMING MANUAL 02-2001 Programming Manual page 91

Hide thumbs Also See for CPM1 - PROGRAMING MANUAL 02-2001:
Table of Contents

Advertisement

CPM2A/CPM2C High-speed Counters
Interrupt
input
Setting the Interrupt
Input Number
70
Counter (2 kHz) 0
Counter (2 kHz) 1
Counter (2 kHz) 2
Counter (2 kHz) 3
PC Setup
DM 6628
With interrupt inputs in counter mode, the subroutine to be executed is deter-
mined by the interrupt corresponding to the input number.
Input number
00003
00004
00005*
00006*
Note *Input numbers 00005 and 00006 cannot be used for CPM2C CPU Units with 10
I/O points and for CPM2C-S CPU Units.
The same input number (from 00003 to 00006) cannot be used for more than
one of the following functions: interrupt inputs, interrupt inputs (counter mode),
or quick-response inputs.
Interrupt input (counter mode)
Ladder diagram program
INTERRUPT
INT(89)
CONTROL
instruction
Change SV (increment/
decrement)
Counter SV
Counter 0
SR 240
Counter 1
SR 241
Counter 2
SR 242
Counter 3
SR 243
MODE CONTROL
INI(61)
instruction
Change PV
Every scan
Counter SV
Counter 0
SR 244
Counter 1
SR 245
Counter 2
SR 246
Counter 3
SR 247
Interrupt number
0
1
2
3
Section
Interrupt generated
Specified subroutine executed.
(Used only for count-up interrupts.)
SBN(92)
RET(93)
Immediately
HIGH-SPEED COUNTER
PRV(62)
PV READ instruction
Read counter PV
Subroutine number
000
001
002
003
2-2

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents