Interrupt Functions - Omron CP1L-EL20DR-D Operation Manual

Sysmac cp series cp1l-el/em cpu unit
Table of Contents

Advertisement

Interrupt Functions

8-1
Interrupt Functions
8-1-1
Overview of CP1L-EL/EM Interrupt Functions
Types of Interrupt
Functions
Input Interrupts (Direct
Mode)
Input Interrupts (Counter
Mode)
Scheduled Interrupts
High-speed Counter
Interrupts
Note
374
The CP1L-EL/EM CPU Unit's processing is normally cyclical (overseeing pro-
cessing
program execution
cyclic tasks executed in the program execution stage of the cycle. The inter-
rupt functions can be used to temporarily interrupt this cyclic processing and
execute a particular program when a predefined condition occurs.
When one of the CPU Unit's built-in inputs goes from OFF to ON (or ON to
OFF), the corresponding interrupt task is executed. Interrupt tasks 140 to 145
are allocated to the 8 input terminals used for the input interrupts.
This function counts input pulses at one of the CPU Unit's built-in inputs and
executes the corresponding interrupt task when the count reaches the SV.
The maximum input response frequency for input interrupts (in counter mode)
is 5 kHz.
This function executes an interrupt task at a fixed time interval measured by
the CPU Unit's built-in timer. The time interval units can be set to 10 ms, 1 ms,
or 0.1 ms. The minimum timer SV is 0.5 ms.
Interrupt task 2 is allocated to scheduled interrupt.
This function counts input pulses with the CPU Unit's built-in high-speed
counter and executes an interrupt task when the count reaches the preset
value or falls within a preset range (target-value or zone comparison). An
interrupt task between 0 and 255 can be allocated with an instruction.
Refer to 7-1 High-speed Counters for details on high-speed counters.
(1) Power OFF interrupts cannot be used with CP1L-EL/EM CPU Units.
(2) The input terminals are used for input interrupts, but cannot used for
quick-response inputs, high-speed counters, origin searches and normal
inputs.
I/O refreshing
peripheral servicing), with
Section 8-1

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents