
;&'4&'-0)*'")<
Section 3-5
*-
3-5-1-2
Configuration and operation in Range Mode
Specifying Range-Data
In Range Mode every Counter can be assigned up to a maximum of 32 Ranges.
The Data of every Range is contained by 3 double words:
•
Lower Range Limit, specifying the Lower Limit of the Range
•
Upper Range Limit, specifying the Upper Limit of the Range
•
Output Pattern, specifying which Outputs have to be activated when that
Range is active
The Counter Type (Circular or Linear) determines the range in which the Upper
and Lower Limits can be set. For Circular Counters this range is 00000000
H
-
FFFFFFFF
H
and for Linear Counters this range is 80000000
H
-7FFFFFFF
H
. For
Linear Counters the Upper Range Limit must be greater than the Lower Range
Limit. The Unit will generate an error if the Upper Range Limit
≤
Lower Range Limit
(refer to 5-2
for more details).
To configure a Counter in Range Mode for every Range that you want to use the
Range-Data must be set. Each data-item is specified by two words (=32 bits). For
the exact memory location to set the Range-Data refer to 4-2-1
In the Output Pattern of the Range every single Output can be configured to turn
ON when that Range is active. To configure an Output to turn ON you must set the
corresponding bit to 1. If multiple Ranges of a Counter are active at the same time,
the Output Patterns of those Ranges are logically OR’ed to become the Output
Pattern of that Counter.
Note
1. The Counter Range-Data can also be changed during actual operation using
the IOWR-instruction. Refer to
for more details.
2. In Range Mode it is possible to apply Hysteresis to Ranges in order to prevent
Digital Outputs from toggling due to unwanted oscillating of an encoder. Refer
to 3-7-3
for detailed information.
3. If Range Mode is used with Ring Counter Mode, a maximum ring value of 3 or
more should be set up. Note that a value of 1 or 2 will not generate an error
message.
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
W902-E2-03.book Seite 70 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...