6
Quick-response Inputs The CPM1-10CDR- PCs have 2 quick-response input terminals and the
CPM1-20CDR-/30CDR-(-V1) PCs have 4 quick-response input terminals.
(The same terminals are used for quick-response inputs and interrupt inputs.)
Quick-response inputs have an internal buffer, so input signals shorter than one
cycle can be detected.
Overseeing
processes
Program
execution
I/O
refreshing
Overseeing
processes
Program
execution
I/O
refreshing
Input signal
(00003)
IR 00003
One cycle
PC model Input bits Min. input pulse
width
CPM1-10CDR-
IR 00003 to IR 00004
0.2 ms
CPM1-20CDR-/30CDR-(-V1)
IR 00003 to IR 00006
CPM1 PCs are equipped with an interval timer which can be set from 0.5 ms to
319,968 ms in units of 0.1 ms. The timer can be set to trigger a single interrupt
(one-shot mode) or repeat scheduled interrupts (scheduled interrupt mode).
Main program
Interval timer time-out
Interrupt program
MOV
ADD
END
SBN00
MOV
RET
Mode Function
One-shot Generates a single interrupt the first time that the timer times
out.
Scheduled interrupt Generates an interrupt each time that the timer times out.
Refer to the CQM1/CPM1/CPM1A/SRM1 Programming Manual (W228) for set-
ting and using the interval timer function.
Interval Timer Function
(Scheduled Interrupts)
CPM1 Features and Functions Section 1-1