3&44)"'#.-@;A9J@;9EI@*+'"&$'()*+
Section 4-5
$%,
Example:
The High-speed Counter Unit is assigned Machine Number 6. You want to change
the Maximum Count Value of Circular Counter 3. The new Maximum Count Limit
consists of 2 words, is located in Data-Memory at address D0050 and D0051 and
is equal to 2710
H
(=10,000 decimal).
Example:
The High-speed Counter Unit is in Range Mode and is assigned Machine Number
3. You want to read the Range Enable Data of Counter 2 and write it to D1800 in
the PLC memory.
4-5-2
Range- and Comparison data
The Unit can be in Range or Comparison Mode (refer to 3-5-1
and
). IOWR- and IORD-instructions can be used respec-
tively to change Range/Comparison Data inside the Unit or to read Range/Com-
parison Data from the Unit, during actual operation. Depending on the mode of the
Unit (Range or Comparison mode) the Control Code is interpreted accordingly by
the High-speed Counter Unit.
c = Counter Number (1, 2, 3 or 4)
*
1
M = Number of Ranges, 1
≤
M
≤
21
*
2
M = Number of Comparison Values, 1
≤
M
≤
12
IOWR(223)
#3C03
CC1= 3C (= Counter 3), CC2= 03
D0050
S= D0050 (first word with new Maximum Count Value)
#00020006
D= #0006 (Machine Number) and D+1= #0002 (# words)
IORD(222)
#2B03
CC1= 2B (= Counter 2), CC2= 03
#00020003
S= #0003 (Machine Number) and S+1= #0002 (# words)
D1800
D= D1800 (write Range Enable Data to D1800 and D1801)
Item
IOWR
IORD
Control Code
No. of
Words
CC1
CC2
Data Range 00 – Data Range 31
Y
Y
cA
00-31
6 x M*
1
Data Comparison Value 00 – Data Comparison
Value 31
Y
Y
cA
00-31
10 x M*
2
W902-E2-03.book Seite 129 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...