Rockwell Automation 1746-HSCE,D17466.5 High-Speed Counter Module User Manual

Page 36

Advertising
background image

Publication 1746-UM006B-EN-P - August 2005

2-18 Module Operation

In this example, four ranges are specified. Configuration data for the
counter is shown in the table. It indicates that output 0 is on for
counts within range 1, output 1 is on for counts within range 2, output
2 is on for counts within range 3, and both outputs 0 and 3 are on for
counts within range 4. When the count is 2000, outputs 2 and 1 are
on, since 2000 falls within ranges 2 and 3.

The figure below demonstrates Range Mode when a ring counter is
used.

Range Mode with Ring Counter

Range

Starting
Value

Ending
Value

Outputs

(1)

(1) Bits 0-3 are physical outputs, bits 4-7 are soft outputs.

Outputs On

7 6 5 4 3 2 1 0

1

10,000

12,500

0 0 0 0 0 0 0 1 0

2

200

8,000

0 0 0 0 0 0 1 0 1

3

32,000

500

0 0 0 0 0 1 0 0 2

4

20,000

23,000

0 0 0 0 1 0 0 1 0 and 3

Range
4

Range
3

Range
2

Range
1

1

32,767

32,000

200

500

8,000

10,000

12,500

20,000

23,000

Advertising