Quick-Response Inputs - Omron CP1L - 12-2007 Operation Manual

Cp1l cpu unit
Table of Contents

Advertisement

Quick-response Inputs

6-2
Quick-response Inputs
Overview
PLC Setup
338
4. Use CTBL(882) to start the comparison operation with high-speed counter
1 and interrupt task 12.
W0.00
5. Operation
When execution condition W0.00 goes ON, the comparison starts with
high-speed counter 1.
When the PV of high speed counter 1 is between 25,000 and 25,500, cyclic
task processing is interrupted, and interrupt task 12 is processed. When
interrupt task 12 processing is completed, processing of the interrupted cy-
clic task resumes.
W0.00
CIO 0.01
High-speed counter 1 PV
(in A272 and A273)
Upper limit: 25,500 (639C hex)
Lower limit: 25,000 (61A8 hex)
Counting enabled
The quick-response inputs can read pulses with an ON time shorter than the
cycle time (as short as 50 µs). Use the quick-response inputs to read signals
shorter than the cycle time, such as inputs from photomicrosensors.
Use the CX-Programmer to set a built-in input as a quick-response input in the
PLC Setup. Click the Built-in Input Tab to display the Interrupt Input settings
(at the bottom of the tab). Set the input function from Normal to Quick for each
input that will be used as a quick-response input.
@CTBL(882)
Use high-speed counter 1.
#0001
Register a range comparison table and start
#0001
comparison operation.
D20000
First comparison table word
Processing
Cyclic task
interrupted
processing
Interrupt task
10 processing
Section 6-2
Processing
Cyclic task
Cyclic task
interrupted
processing
processing
Interrupt task
10 processing

Advertisement

Table of Contents
loading

Table of Contents