Counter minimum count (ctrnmincount), Counter preset (ctrnpreset), Counter minimum count (ctr n mincount) – Rockwell Automation 1769-HSC Compact High Speed Counter Module User Manual

Page 79: Counter preset (ctr n preset)

Advertising
background image

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

79

Module Configuration, Output, and Input Data

Chapter 4

Counter Minimum Count (CtrnMinCount)

This is the minimum count value allowed for counter (

n). The count value

cannot fall below this value. This value must be less than Ctr

nMaxCount or a

configuration error occurs. Allowable values are from -2,147,483,648 to
Ctr

nMaxCount - 1.

The default value is -2,147,483,648 decimal for counters 0 and 1. The default
value is 0 for counters 2 and 3.

Counter Preset (CtrnPreset)

This value can be used to change the current count value of counter

n on certain

gate (Z

n) events and when CtrnSoftPreset is used.

Ctr

nPreset must be greater than or equal to CtrnMinCount and less than

Ctr

nMaxCount. The default value is zero.

Configuration Array Words

15

14

13

12

11

10

09

08

07

06

05

04

03

02

01

00

8

Counter 0 Minimum Count

Ctr0MinCount

9

18

Counter 1 Minimum Count

Ctr1MinCount

19

28

Counter 2 Minimum Count

Ctr2MinCount

29

38

Counter 3 Minimum Count

Ctr3MinCount

39

IMPORTANT

Do not change this value while the counter is enabled. Attempting to do
so will result in a BadModConfigUpdate error. See

page 120

for a list of

prohibited settings.

Configuration Array Words

15

14

13

12

11

10

09

08

07

06

05

04

03

02

01

00

10

Counter 0 Preset

Ctr0Preset

11

20

Counter 1 Preset

Ctr1Preset

21

30

Counter 2 Preset

Ctr2Preset

31

40

Counter 3 Preset

Ctr3Preset

41

Advertising