
5
Input Interrupts
The CPM1-10CDR-
j
PCs have 2 interrupt input terminals and the
CPM1-20CDR-
j
and CPM1-30CDR-
j
PCs have 4 interrupt input terminals.
There are two modes for input interrupts: input interrupt mode and counter
mode.
1, 2, 3...
1. When an interrupt occurs in Input Interrupt Mode, the main program is inter-
rupted and the interrupt program is executed immediately, regardless of the
cycle time.
2. In Counter Mode, external input signals are counted at high speed (up to
1 kHz) and an interrupt is generated each time the count reaches the set
value. When an interrupt occurs, the main program is interrupted and the
interrupt program is executed. The set value can be set from 0 to 65,535.
The following diagram shows the program execution when an interrupt occurs.
Main program
Input interrupt
Interrupt program
MOV
ADD
END
SBN00
MOV
RET
PC model
Input bits
Response time
CPM1-10CDR-
j
IR 00003 to IR 00004 0.3 ms
CPM1-20CDR-
j
CPM1-30CDR-
j
CPM1-30CDR-
j
-V1 (Available soon)
IR 00003 to IR 00006 (1 kHz in Counter Mode)
Note When not using as interrupt input terminals, the input bits IR 00003 to IR 00006
can be used as normal input terminals.
Refer to the CQM1/CPM1/CPM1A/SRM1 Programming Manual (W228) for set-
ting and using the input interrupts.
CPM1 Features and Functions
Section 1-1
Summary of Contents for SYSMAC CPM1
Page 1: ...Cat No W262 E1 4 Programmable Controllers SYSMAC CPM1 OPERATION MANUAL ...
Page 2: ...CPM1 Programmable Controllers Operation Manual Revised February 1998 ...
Page 116: ...105 Appendix B Dimensions All dimensions are in millimeters CPM1 10CDR j 121 130 85 81 90 ...
Page 118: ...Appendix B Dimensions 107 CPM1 20EDR 81 90 171 180 85 ...
Page 119: ...Appendix B Dimensions 108 CPM1 CIF01 90 81 21 30 205 50 56 CPM1 CIF11 90 81 21 30 205 50 61 ...