Digital Inputs Generating Interrupts - Omron CS1W-CT041 Operation Manual

High-speed counter units
Hide thumbs Also See for CS1W-CT041:
Table of Contents

Advertisement

@*'#""&4'+
4-6-2

Digital Inputs Generating Interrupts

Enabling / Disabling
Interrupts
General Setting:
External Interrupt Task
Offset
$&+
The 4 Digital Inputs can all be configured to generate interrupts to the CS1-CPU.
If a Digital Input is configured to generate interrupts, an interrupt is issued to the
CS1-CPU at a rising- or falling edge of the signal applied to the Digital Input. The
Function that is assigned to the Digital Input determines if the interrupt is gener-
ated at a rising- or falling edge (refer to 3-4 "Digital Input Functions").
Number
Function
00
No Function
01
Gate Positive
02
Gate Negative
03
Preset Rising Edge
04
Preset Falling Edge
05
Reset Rising Edge
06
Reset Falling Edge
07
Capture Rising Edge
08
Capture Falling Edge
09
Stop, Capture and Continue
10
Stop, Capture and Continue (Inv)
11
Stop, Capture, Reset and Continue
12
Stop, Capture, Reset and Continue (Inv)
13
Capture-Reset Rising Edge
14
Capture-Reset Falling Edge
15
Enable Reset
16
Disable Reset
You can (DM-) configure a Digital Input to generate interrupts by setting the corre-
sponding bit in the Interrupt Enable Data of the Digital Inputs. The Interrupt Enable
Data of the Digital Inputs consists of 4 bits representing the 4 Digital Inputs. By
default the Inputs are disabled to generate interrupts.
15 14 13 12 11 10 9
m+5
Bits 0, 1, 2 and 3 correspond with the Physical Digital Inputs I0, I2 and I3.
Every Digital Input that is enabled to generate interrupts is assigned to an external
interrupt task in the CS1-CPU. In the External Interrupt Task you should write an
appropriate (ladder) program that takes the required action on the occurrence of
an interrupt.
8
7
6
5
4
3
2
1
I3 I2 I1 I0
Section 4-6
Interrupt on
Rising Edge
Rising Edge
Falling Edge
Rising Edge
Falling Edge
Rising Edge
Falling Edge
Rising Edge
Falling Edge
Rising Edge
Falling Edge
Rising Edge
Falling Edge
Rising Edge
Falling Edge
Rising Edge
Rising Edge
0
Interrupt Enable Data Inputs
0 = Interrupts Disabled
1 = Interrupts Enabled

Advertisement

Table of Contents
loading

This manual is also suitable for:

Cs1w-ct021

Table of Contents