Count range – Rockwell Automation 1769-HSC Compact High Speed Counter Module User Manual

Page 38

Advertising
background image

38

Rockwell Automation Publication 1769-UM006E-EN-P - July 2013

Chapter 2

Module Operation

Count Range

In a non-inverted count range, the outputs are active if the count value is within
the user-defined range. In an inverted count range, the outputs are active if the
count value is outside the user-defined range. Valid limits for the range are
-2…2 billion regardless of programmed minimum and maximum values.

Figure 9 shows all ranges referring to one counter. The module is capable of
individually assigning each range to any counter. Each counter can also have a
combination of count and rate ranges.

Figure 9 - Count Range Example

-200,000

106,000

0

Ctr[0].CurrentCount

Range 4
Stop Value

Range 1

Range 2

Range 4
Start Value

Output 0

Output 1

Output 2

Output 3

On

Off

Range 3

Table 9 - Count Range Example Values

Range

Range

Counter

Number

Range

Type

(1)

Range

Low

Limit

Range

High

Limit

Range

Invert

Bit

Outputs

(2)

(Range[n].OutputControl word)

Outputs

Affected

15

14

13

12

11

10

9

8

7

6

5

4

3

2

1

0

1

01

0

-7000

-5000

0

0

0

0

0

0

0

0

0

0

0

0

0

0

0

0

1

0

2

01

0

-1000

4500

0

0

0

0

0

0

0

0

0

0

0

0

0

0

0

1

0

1

3

01

0

-4000

3000

0

0

0

0

0

0

0

0

0

0

0

0

0

0

1

0

0

2

4

01

0

-9000

9000

1

0

0

0

0

0

0

0

0

0

0

0

0

1

0

0

1

0 and 3

(1) For Range Type, 0 = count range and 1 = rate range.

(2) Bits 0…3 are real outputs. Bits 4…15 are virtual outputs.

Advertising