16
Input Interrupts
There are two input interrupts in the CPM1A 10-point I/O CPU and four in the 20-, 30-, and 40-point I/O CPUs. Input interrupts are
available in two modes.
10-point I/O CPU 20-, 30-, and 40-point I/O CPU
Application Example:
Cutting Metal Sheets to Specified Lengths
The proximity sensor detects the edge of a
metal plate to operate the cutter. Metal sheets
can be cut continuously to the specified
lengths at a high speed.
Cutter
Conveyor
Proximity
sensor
Input
interrupt
CPM1A
Cutter
operation
signal
Metal sheets
Input Interrupt Mode
If an input interrupt occurs, the regular program shuts down irrelevant of the cycle time, and the interrupt processing program is
executed immediately.
Regular program
Interrupt program
Input interrupt
Regular program
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
Functions