5
Input Interrupts
The CPM1A-20CAR-- A and CPM1A-32CAR-- A 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
20 Hz) 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
PLC model
Input bits
Response time
CPM1A-20CAR-A
IR 00003 to IR 00006
5 ms
CPM1A-20CAR-A
CPM1A-32CAR-A
IR 00003 to IR 00006
5 ms
(20 Hz 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.
CPM1A Features and Functions
Section 1-1
Summary of Contents for CPM1A-20CAR-A
Page 3: ...ii...
Page 5: ...iv...
Page 9: ...iv...
Page 29: ...14 System Configuration Section 1 2...
Page 43: ...29 Unit Components Section 2 2...
Page 65: ...51 Wiring and Connections Section 3 4...
Page 123: ...Appendix B Dimensions 2 CPM1 CIF01 90 81 21 30 205 50 56 CPM1 CIF11 90 81 21 30 205 50 61...
Page 124: ...Appendix B Dimensions 3 Dimensions with Peripheral Devices Attached Approx 90 Approx 125...
Page 125: ...Appendix B Dimensions 4...