Configuration array – Rockwell Automation 1769-HSC Compact High Speed Counter Module User Manual

Page 66

Advertising
background image

66

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

Chapter 4

Module Configuration, Output, and Input Data

Configuration Array

The configuration array, which consists of 118 words (46 words for the packaged
controller), lets you specify how the module’s counters will function. The default
value is all zeros with the exception of the following:

NumberofCounters (see

page 75

)

Ctr

nMaxCount (see

page 78

)

Ctr

nMinCount (see

page 79

)

Ctr

nScalar (see

page 80

)

Ctr

nCyclicUpdateTime (see

page 81

)

Word 0 contains general configuration bits. Word 1 contains the filter settings.
Words 2 through 5 refer to the physical outputs. Words 6 through 45 are counter
configuration words. Words 46 through 117 are range configuration words. More
detailed descriptions of the configuration words and bits follow the configuration
array below.

TIP

Normal counter configuration is done using programming software. In
that case, it is not necessary to know the bit location. However, some
systems let the control program change configuration. Refer to your
controller’s documentation for details.

IMPORTANT

When changing configuration values, verify that only valid configurations
are created for the module. For example, changing NumberofCounters
from its default of 1 to 0 requires that Ctr1MinCount and Ctr1MaxCount
also be set to 0, and so forth.

See the

Configuration Error Codes table on page 117

if you encounter

configuration errors.

IMPORTANT

Certain values (noted below) cannot be changed while a counter or range
is enabled. Attempting to do so will cause a configuration error and the
entire configuration array will be rejected until the error is eliminated.

Table 12 - Configuration Array - 1769-HSC Module and CMX 5370 L2 Packaged Controller Embedded HSC

Word

Bit

Function

15

14

13

12

11

10

09

08

07

06

05

04

03

02

01

00

0

Individual Counter Reset
Disable

(1)

NumberOf
Counters

Not used

PFE

Not used

Ctr
Rst

OCL
O

General Configuration
Bits

1

Filter_Z1

Not
used

Filter_B1

Not
used

Filter_A1

Filter_Z0

Not
used

Filter_B0

Not
used

Filter_A0

Filter Selection

2

Not used

Out
3
PSR

Out
2
PSR

Out1
PSR

Out0
PSR

Out3
PM

Out2
PM

Out1
PM

Out0
PM

Output Program Mode
and Output Program
State Run

3

Not used

Out3
PV

Out2
PV

Out1
PV

Out0
PV

Output Program Value

(1)

For the 1769-HSC/B module only. Bit 12 is Counter 0 reset disable; Bit 13, Counter 1 reset disable; Bit 14, Counter 2 reset disable; Bit 15, Counter 3 reset disable.

Counter reset function = 0: reset enable (default), 1: reset disable. See

page 73

for details.

Advertising