Input Interrupts (Counter Mode) - Omron CP1L Operation Manual

Sysmac cp series
Hide thumbs Also See for CP1L:
Table of Contents

Advertisement

Interrupt Functions
Operation
Restrictions
6-1-3

Input Interrupts (Counter Mode)

Overview
Relationship of Input Bits,
Task Numbers, and
Counters
When execution condition W0.00 goes ON, MSKS(690) is executed to enable
CIO 0.04 as an up-differentiated input interrupt.
If CIO 0.04 goes from OFF to ON (up-differentiation), processing of the cyclic
task that is currently being executed will be interrupted and processing of
interrupt task 140 will start. When the interrupt task processing is completed,
processing of the interrupted ladder program will restart.
W0.00
0.04
MSKS(690) executed
Cyclic task processing
Inputs cannot be used for input interrupts when they are being used as gen-
eral-purpose (normal) inputs or quick-response inputs.
This function counts up-differentiated or down-differentiated input signals and
executes an interrupt task when the count reaches the set value.
• The counter-mode input interrupts use the same input terminals as the
direct-mode input interrupts. Refer to 6-1-2 Input Interrupts (Direct Mode)
for details.
• The counter input mode can be set to up or down (incrementing or decre-
menting) with MSKS(690).
• The counter-mode input interrupts start the same interrupt tasks (140 to
145) as the direct-mode input interrupts.
• The maximum input response frequency is 5 kHz total for all counter-
mode input interrupts.
Input bits
0.04
0.05
0.06**
0.07**
0.08*
0.09*
Note
*Input interrupts 4 and 5 are not supported by CPU Units with 10 or 14 I/O
Points.
**Input interrupts 2 and 3 are not supported by CPU Units with 10 I/O Points.
Processing
interrupted
Interrupt
task 140
processing
Function
Input interrupt
Interrupt task
number
number
Input interrupt 0
140
Input interrupt 1
141
Input interrupt 2** 142
Input interrupt 3** 143
Input interrupt 4* 144
Input interrupt 5* 145
Processing
Cyclic task
processing
interrupted
Interrupt
task 140
processing
Counter words
SV
(0000 to FFFF)
A532
A533
A534
A535
A544
A545
Section 6-1
PV
A536
A537
A538
A539
A548
A549
347

Advertisement

Table of Contents
loading

Table of Contents