Input Interrupts - Omron CPM1 Programming Manual

Hide thumbs Also See for CPM1:
Table of Contents

Advertisement

CPM1/CPM1A Interrupt Functions
Note
1-6-2

Input Interrupts

CPM1 PCs
2. This is the program section from the interrupt subroutine:
25313
1. Define interrupt routines at the end of the main program with SBN(92) and
RET(93) instructions, just like regular subroutines.
2. When defining an interrupt routine, a "SBS UNDEFD" error will occur dur-
ing the program check operation, but the program will be executed normal-
ly.
The 10-pt CPU Units (CPM1-10CDR-@ and CPM1A-10CDR-@) have two
interrupt inputs (00003 and 00004).
The 20-, 30-, and 40-pt CPU Units (CPM1-20CDR-@, CPM1A-20CDR-@,
CPM1-30CDR-@(-V1), CPM1A-30CDR-@ and CPM1A-40CDR-@) have four
interrupt inputs (00003 to 00006).
There are two modes for input interrupts: input interrupt mode and counter
mode.
10-pt CPU Units
(CPM1-10CDR-@)
NC
24VDC
SBN(92) 000
@CTBL(63)
000
000
DM 0000
25313
LR
0000
20- and 30-pt CPU Units
(CPM1-20CDR-@and
CPM1-30CDR-@(-V1))
Section 1-6
69

Advertisement

Table of Contents
loading

Table of Contents