Output Control
Section 3-5
45
Reflecting Active / Not
Active Ranges
A Range becomes active if: Lower Range Limit
≤
Counter Value
≤
Upper Range
Limit. Whether or not a Range is active is reflected in CIO for each Counter.
Note
Lower Range Limit = Upper Range Limit can be set under the Range conditions.
Enabling and Disabling of
Ranges
Every single Range can be enabled or disabled. If a Range is disabled (by default)
its Output Pattern will be ignored in the Unit Output Pattern calculation. If a Range
is enabled the Output Pattern of that Range will be applied to the Output Pattern
of the corresponding Counter when that Range becomes active. To Enable/Disa-
ble Ranges of Counters refer to section the following:
Note
Enabling/Disabling of Ranges can also be done on the fly by using IOWR-instruc-
tions. Refer to section Section 4-3
for more details.
Logically AND/OR Counter
Output Patterns
If the Unit is in Range mode, the Output Patterns of the two Counters are (by
default) logically OR’d and consecutively applied to the Unit Output Pattern.
Depending on the requirements of your application you can also choose to AND
the Counter Output Patterns before they are applied to the Unit Output Pattern.
If multiple Counters are used together to control an application, you have the
option to logically AND or OR the Counter Output Patterns to become the Unit
Output Pattern. In this way it is possible to turn Outputs ON or OFF depending on
Ranges being active of multiple Counters. For instance, it is possible to turn an
Output ON when both a Range of Counter 1 and a Range of Counter 2 are active.
To configure the Unit to AND the Counter Output Patterns refer to section the fol-
lowing.
15 14 13 12 11 10 9
8
7
6
5
4
3
2
1
0
CNT3
CNT4:
n+26
n+30
Active Ranges:
= Range 0-3
0 = Range Active
1 = Range not Active
Range Active:
Lower Range Limit
≤
Counter Value
≤
Upper Range Limit
Range not Active: Counter Value
<
Lower Range Limit
Counter Value
>
Upper Range Limit
CNT1:
CNT2:
n+18
n+22
15 14 13 12 11 10 9
8
7
6
5
4
3
2
1
0
15 14 13 12 11 10 9
8
7
6
5
4
3
2
1
0
CNT3:
CNT4:
m+59
m+79
m+60
m+80
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
Range Enable Data:
= Range 0-3
0 = Range Disabled
1 = Range Enabled
CNT1:
CNT2:
m+19
m+39
m+20
m+40
15 14 13 12 11 10 9
8
7
6
5
4
3
2
1
0
General Setting:
m
AND/OR Counter Output Patterns:
0 = Logically OR Counter Output Patterns
1 = Logically AND Counter Output Patterns
15 14 13 12 11 10 9
8
7
6
5
4
3
2
1
0
Содержание CJ1W-CTL41-E
Страница 2: ...i SYSMAC CJ series CJ1W CTL41 E 4 Channel Counter Unit Operation Manual Produced September 2004...
Страница 3: ...ii...
Страница 5: ...iv...
Страница 9: ...viii...
Страница 31: ......
Страница 43: ......
Страница 73: ......
Страница 119: ......
Страница 123: ......
Страница 126: ......
Страница 127: ......
Страница 131: ......
Страница 133: ...116...