Omron CJ1W-CT021 Operation Manual page 92

High-speed counter units
Hide thumbs Also See for CJ1W-CT021:
Table of Contents

Advertisement

Output Control
Reflecting Active / Not
Active Ranges
CNT1:
CNT2:
n+20
n+25
n+21
n+26
Enabling and Disabling of
Ranges
CNT1:
CNT2:
m+57
m+102
m+58
m+103
Logically AND/OR Counter
Output Patterns
General Setting:
m
72
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.
15 14 13 12 11 10 9
15 14 13 12 11 10 9
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
= Range 0-31
Lower Range Limit ≤ Counter Value ≤ Upper Range Limit
Range Active:
Range not Active: Counter Value < Lower Range Limit
Counter Value > Upper Range Limit
Note Lower Range Limit = Upper Range Limit can be set under the Range conditions.
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 the following:
15 14 13 12 11 10 9
15 14 13 12 11 10 9
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
= Range 0-31
Note
Enabling/Disabling of Ranges can also be done on the fly by using IOWR-instruc-
tions. Refer to 4-3 "IOWR-Instruction" for more details.
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 the following.
15 14 13 12 11 10 9
8
7
6
5
4
3
2
1
7
7
6
5
4
3
2
1
8
7
6
5
4
3
2
1
7
7
6
5
4
3
2
1
8
7
6
5
4
3
2
1 = Logically AND Counter Output Patterns
0
0
Active Ranges:
0 = Range Active
1 = Range not Active
0
0
Range Enable Data:
0 = Range Disabled
1 = Range Enabled
1
0
AND/OR Counter Output Patterns:
0 = Logically OR Counter Output Patterns
Section 3-5

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents