
3&44)"'#.-@;A9J@;9EI@*+'"&$'()*+
Section 4-5
$&-
Range Data
If the Unit is in Range Mode for each Counter the Range Data of one or multiple
Ranges can be read from the Unit or written to the Unit. For every Range the
Range Data is contained in 6 words. Every IORD- and IOWR-instruction can
transfer up to a maximum of 128 words. Thus per IORD- or IOWR-instruction you
can read or write Range Data of up to a maximum of 21 Ranges.
In the Control Code, CC1 specifies the Counter number (c = 1, 2, 3, or 4) from
which the Range Data is to be read or written. CC2 specifies the first Range
number (00-31). Depending on the number of Ranges that you want to read the
Range Data from or overwrite with new Range Data, you have to specify the
number of words to be transferred. This number of words is equal to the number
of Ranges x 6.
Example:
The High-speed Counter Unit, with Machine Number 1, operates in Range Mode
and Counter 2 uses 5 Ranges (Range 00 to Range 04). You want to change the
Range Data of Ranges 03 and 04. The new Range Data, consisting of 12 words
(= 6 words x 2 Ranges), is located in Data-Memory starting from D0100.
Lower Range Limit
Range Data
Upper Range Limit
15 14 13 12 11 10 9
8
7
6
5
4 O3 O2 O1 O0
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
Output Pattern
In the Output Pattern the Outputs are represented by:
= Digital Outputs 0-3
(corresponding with Physical Digital Outputs O0, O1, O2 and O3)
= Soft Outputs 4-31
15 14 13 12 11 10
9
8
7
6
5
4
3
2
1
0
IOWR(223)
#2A03
CC1= 2A (= Counter 2), CC2= 03 (= first Range Number)
D0100
S= D0100 (first word with new Range Data)
#00120001
D= #0001 (Machine Number) and D+1= #0012 (# words)
W902-E2-03.book Seite 130 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...