H#>)"D-=<<)$%'()*
Section 4-2
,)
Note
If you do not want the Ranges to be consecutive and only intend to use two
Ranges (e.g. Range 0 and Range 15) then you still have to define the number of
Ranges (M) to be 16. In order to prevent configuration errors from happening you
should make sure that the data of Ranges 1 to 14 is also valid, although you do not
intend to use Range 1 to 14.
Unit in Comparison Mode
In Comparison Mode Indirect Addressing can be used to define the Comparison
Values per Counter that you want to use. The number of CV’s (M) defines the size
of the CV Data block (size = M x 10 words). If you want to use multiple CV’s you
are recommended to use consecutive CV’s starting from CV 0 (i.e. CV 0, 1, 2, 3
→
M - 1) in order to save memory occupation.
Note
If you do not want the Comparison Values to be consecutive and only intend to use
two CV’s (e.g. CV 0 and CV 15) then you still have to define the number of CV’s
(M) to be 16. In order to prevent configuration errors from happening you should
make sure that the data of CV’s 1 to 14 is also valid, although you do not intend to
use CV 1 to 14.
Configuring Indirect
Addressing
Indirect Addressing with the Unit in Range or Comparison Mode is specified in the
Special I/O Unit DM Area for every Counter. You must specify the memory area
(EM/DM) and the address (00000 to 32760) of the first word where the Range/CV
data is to be stored. Like this you are able to specify any address that is available
in EM or DM. By specifying the number of Ranges or Comparison Values per
Counter you determine the number of words with Range/CV data that are allo-
cated for every Counter. For every Range 6 words and for every Comparison
Value 10 words are allocated.
The Range/Comparison Data, as part of the Unit configuration data, is transferred
to the Unit at Power Up or after the Unit has been restarted.
Counter 'c'
c = 1, 2, 3, or 4
# o f CV’s M
(0 M
≤
32)
≤
EM (=0) / DM (=1)
Area
Indirect Address k(c)
(00000 t o 32760)
Data CV 0
Data CV M *-1
Data CV 1
Data CV 2
Data CV 3
k(c)
* Assumed that M 0. By default M=0 which means that no CV’s will be used.
≠
Size of CV Data block:
Number of CV’s (= M ) x 10 words
EM/DM:
Special I/O Unit DM-Area:
W902-E2-03.book Seite 96 Donnerstag, 7. Oktober 2004 2:06 14
Содержание CS1W-CT021
Страница 1: ...OPERATION MANUAL High speed Counter Units CS1W CT021 CS1W CT041 Cat No W902 E2 03...
Страница 3: ...W902 E2 03 book Seite iv Donnerstag 7 Oktober 2004 2 06 14...
Страница 5: ...W902 E2 03 book Seite vi Donnerstag 7 Oktober 2004 2 06 14...
Страница 39: ...W902 E2 03 book Seite 24 Donnerstag 7 Oktober 2004 2 06 14...
Страница 59: ...A 2 Section 2 3 W902 E2 03 book Seite 44 Donnerstag 7 Oktober 2004 2 06 14...
Страница 155: ...4 Section 4 6 W902 E2 03 book Seite 140 Donnerstag 7 Oktober 2004 2 06 14...
Страница 199: ...G W902 E2 03 book Seite 184 Donnerstag 7 Oktober 2004 2 06 14...