
H#>)"D-=<<)$%'()*
Section 4-2
$-(
4-2-4
DM-Memory Mapping
The High-speed Counter Unit is allocated 400 Words in DM. These 400 Words are
divided in 30 General DM-words (m to m+29) and 45 Counter Specific words for
every Counter (Counter 1 = m+30 to m+74, Counter 2 = m+75 to m+119, Counter
3 = m+120 to m+164, Counter 4 = m+165 to m+202).
Note
Double words in DM are indicated as for example “m+2, m+3”. How to distinguish
between the least- and most significant words (LSW and MSW) within double
words, you should refer to the section called
“About this Manual”
at the beginning
of this Manual.
* Refer to 4-6
for information about Outputs and Inputs generating
Interrupts.
Word Bit
Item
Function
General
m
00-07
Output Control Mode
Output Control Mode:
00 = Range Mode (=default)
01 = Comparison Mode
08-15
AND/OR Counter
Output Patterns
In case of Range Mode, define if the output patterns of
the Counters should be logically AND-ed (01) or OR-ed
(00)
m+1
00-15
Interrupt Task Offset
(Outputs)*
Define Offset [0, 192
(BCD)
] to execute External Interrupt
Tasks [0, 255] corresponding to Outputs [0-31]
m+2, m+3
00-15
Interrupt Enable
Data Outputs*
Enable (=1) or Disable (=0) Interrupts in the Unit
corresponding to Outputs [0, 31]
m+4
00-15
Interrupt Task Offset
(Inputs)*
Define Offset [0, 252
(BCD)
] to execute External Interrupt
Tasks [0, 255] corresponding to Digital Inputs [0-3]:
(Having interrupts on rising or falling edge is fixed by the
Function of the Digital Input, refer to 3-4
m+5
00-15
Interrupt Enable
Data Inputs*
Enable (=1) or Disable (=0) Interrupts in the Unit
corresponding to Digital Inputs [0, 3]
m+6
00-03
Output Driver
NPN/PNP
Define Output Driver NPN (=0) or PNP (=1) for every
Digital Output [0-3]
04-11
---
Not used
12-15
Output State
Control
Define state control of the Outputs in case the operating
mode of CS1-CPU is changed from RUN/MONITOR
→
PROGRAM or an I/O Bus- or Overflow/Underflow error
occurs:
0 = Continue automatic updating Output States
1 = Freeze Output States
2 = Predefine Output States
W902-E2-03.book Seite 105 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...