![Omron CPM1A Manual Download Page 17](http://html1.mh-extra.com/html/omron/cpm1a/cpm1a_manual_742516017.webp)
A--38
Micro Programmable Controller
CPM1A
Input Interrupt Mode
Regular program
Interrupt program
Input interrupt
Regular program
If an input interrupt occurs, the regu-
lar program shuts down irrelevant of
the cycle time, and the interrupt pro-
cessing program is executed im-
mediately.
Counter Mode
When the number of external signals counted at high speed reaches a specified number of counts, the regular program shuts down, and
the interrupt processing program is executed at fixed counts. The count can be set between 0 and 65535.
Counter setting
Regular program
Interrupt program
Regular program
Input interrupt
J
QUICK-RESPONSE INPUTS
Quick-response inputs can detect input signals with a pulse width
as short as 0.2 ms regardless of their timing during the scan
cycle. Quick-response inputs and interrupt inputs use the same
input terminals.
CPU
Input no.
Minimum input
pulse width
10 point I/O CPU
00003 to 00004
0.2 ms
20 point, 30 point,
40 point I/O CPU
00003 to 00006
Overseeing
processes
Program
execution
I/O
refreshing
Overseeing
processes
Program
execution
I/O
refreshing
Input signal
(00003)
IR 00003
One cycle
Application Example:
Calculating the Number of Chips
The metal sensor counts the number of
parts that have passed. Steady counting
can be achieved even when the input-ON
time is short.
CPM1A
F2LP-WK4
F2LP-W
0.2 ms min