
@*'#""&4'+
Section 4-6
$&)
You can configure an Output to generate interrupts by setting the corresponding
bit in the Interrupt Enable Data of the Outputs. The Interrupt Enable Data of the
Outputs consists of 32 bits representing the 32 Outputs. By default Outputs are
disabled to generate interrupts.
External Interrupt Task
Offset
Every Output that is enabled to generate interrupts is assigned two External Inter-
rupt Tasks in the CS1-CPU. For this purpose all 32 Outputs are assigned in
sequential order to consecutive External Interrupt Tasks starting from Output 0. By
defining an Offset you determine the External Interrupt Task numbers of the (first
two) External Interrupt Tasks that are assigned to Output 0. The remaining 31 Out-
puts are assigned to the respective External Interrupt Task numbers in increasing
order starting from “ 2”.
* The assigned External Interrupt Task number is executed at a rising/falling
edge of the corresponding Output bit in the Unit Output Pattern.
General Setting:
m+2
15 14 13 12 11 10 9
8
7
6
5
4 O3 O2 O1 O0
m+3
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
Interrupt Enable Data
Outputs
= Digital Outputs 0-3
(corresponding to Physical Digital Outputs O0, O1, O2 and O3)
= Soft Outputs 4-31
0 = Interrupts Disabled
1 = Interrupts Enabled
15 14 13 12 11 10
9
8
7
6
5
4
3
2
1
0
Output
Assigned External
Interrupt Task Number
Interrupt executed at
rising/falling edge*
0 (=O0)
Offset
Rising
1
Falling
1 (=O1)
2
Rising
3
Falling
2 (=O2)
4
Rising
5
Falling
3 (=O3)
6
Rising
7
Falling
4
8
Rising
9
Falling
~
~
~
31
62
Rising
63
Falling
W902-E2-03.book Seite 136 Donnerstag, 7. Oktober 2004 2:06 14
Summary of Contents for CS1W-CT021
Page 1: ...OPERATION MANUAL High speed Counter Units CS1W CT021 CS1W CT041 Cat No W902 E2 03...
Page 3: ...W902 E2 03 book Seite iv Donnerstag 7 Oktober 2004 2 06 14...
Page 5: ...W902 E2 03 book Seite vi Donnerstag 7 Oktober 2004 2 06 14...
Page 39: ...W902 E2 03 book Seite 24 Donnerstag 7 Oktober 2004 2 06 14...
Page 59: ...A 2 Section 2 3 W902 E2 03 book Seite 44 Donnerstag 7 Oktober 2004 2 06 14...
Page 155: ...4 Section 4 6 W902 E2 03 book Seite 140 Donnerstag 7 Oktober 2004 2 06 14...
Page 199: ...G W902 E2 03 book Seite 184 Donnerstag 7 Oktober 2004 2 06 14...