High-Speed Counters; External Interrupts; Overview - Omron CP1H CPU Operation Manual

Cp1h cpu unit
Hide thumbs Also See for CP1H CPU:
Table of Contents

Advertisement

High-speed Counters

5-1-6

External Interrupts

Note
5-2

High-speed Counters

5-2-1

Overview

208
An external interrupt task performs interrupt processing in the CPU Unit in
response to an input from a CJ-series Special I/O Unit or CPU Bus Unit con-
nected to the CPU Unit. The reception of these interrupts is always enabled.
External interrupts require no special settings in the CPU Unit, although an
interrupt task with the specified number must be included in the user program.
Example: External interrupt from a CJ1W-CT021-V1 High-speed Counter Unit
High-speed Counter Unit
CP1H CPU Unit
Interrupt
When the same interrupt number is used for both an external interrupt task
(task 0 to 255), and scheduled interrupt task (task 2) or high-speed counter
interrupt task (0 to 255), the task will be executed for both the external inter-
rupt condition and the other interrupt condition. As a general rule, do not use
the same interrupt number for different interrupt conditions.
• A rotary encoder can be connected to a built-in input to produce a high-
speed pulse input.
• High-speed interrupt processing can be performed when the high-speed
counter PV matches a target value or is within a target value range.
• The PRV(881) instruction can be used to measure the input pulse fre-
quency (one input only).
• The high-speed counter PVs can be maintained or refreshed.
• The High-speed Counter Gate Bit can be turned ON/OFF from the ladder
program to select whether the high-speed counter PVs will be maintained
or refreshed.
• Any one of the following input signals can be selected as the counter input
mode.
Response Frequencies for 24 VDC Inputs to High-speed Counters 0 to 3
in X/XA CPU Units or High-speed Counters 2 and 3 in Y CPU Units:
• Differential phase inputs (4x): 50 kHz
• Pulse + direction inputs: 100 kHz
• Up/Down pulse inputs: 100 kHz
• Increment pulse inputs: 100 kHz
Response Frequencies for Line Driver Inputs to High-speed Counters 0
and 1 in Y CPU Units:
• Differential phase inputs (4x): 500 kHz
• Pulse + direction inputs: 1 MHz
• Up/Down pulse inputs: 1 MHz
• Increment pulse inputs: 1 MHz
Section 5-2

Advertisement

Table of Contents
loading

Table of Contents