Op mode: operating mode, Range allocation values – Rockwell Automation 1746-HSCE2 Multi-Channel High Speed Counter Module User Manual

Page 58

Advertising
background image

Publication 1746-UM002B-EN-P - August 2004

4-8 Configuration and Programming

Op Mode: Operating Mode

(Word 1, Bits 01 and 00)

These two bits program the module’s operating mode. The
combinations are shown below:

Range Allocation Values

(Words 2, 3, and 4, Bits 00 to 04)

Sixteen ranges are available for programming output on/off positions
and rates. These ranges are assigned to the counters using these range
allocation parameters. Each value is the number of ranges assigned to
each counter.

The operating mode parameter is read before the range allocation
values. The module’s operating mode determines which counters’
allocation values are read.

• In Mode 1, two counters are used. Only the Counter 1 allocation

value is read. All other ranges are automatically assigned to
Counter 2. Set words 3 and 4 to 0.

• In Mode 2, three counters are used. The Counter 1 and Counter

2 allocation values are read. All other ranges are automatically
assigned to Counter 3. Set word 4 to 0.

• In Mode 3, all four counters are used. The Counter 1, Counter 2,

and Counter 3 allocation values are read. All other ranges are
automatically assigned to Counter 4.

The sum of the range allocation values cannot exceed 16, or the
module responds with a programming error. Unused range allocation
words in Modes 1 and 2 must equal zero, or an error occurs.

Table 4.2 Operating Mode Programming Bit Settings

Bit 01

Bit 00

Operating Mode

0

0

Reserved

(1)

(1) Using the reserved setting causes a programming error.

0

1

Mode 1

1

0

Mode 2

1

1

Mode 3

IMPORTANT

The number of ranges for the last configured counter
used must equal zero, otherwise the module fills in
the value and errors, even if the value is correct.

Advertising