Maximum count, Reset value, Important – Rockwell Automation 1746-HSCE,D17466.5 High-Speed Counter Module User Manual

Page 95

Advertising
background image

Publication 1746-UM006B-EN-P - August 2005

Configuration and Programming 4-35

M0:e.41 Maximum Count (Static) / Reset Value (Dynamic)

Maximum Count

When the module is configured as a Ring Counter type, this word
allows you to specify the ring rollover count. The range of this value
is 1 to +32767. If 0, a configuration error occurs.

The example below specifies a rollover count of 32,767.

Reset Value

When the module is configured for a linear counter, the counter is
reset to the value you enter in this word. This word allows you to
initialize the counter, when a reset condition occurs, to a specific
value other than zero. The range of this value is -32767 to +32767.

The example below illustrates reset values of -32,767 and +32,767.

IMPORTANT

Resetting to a non zero value takes more time than
resetting to zero. It is possible to lose counts while a
non zero value is being loaded into the counter.
Refer to Timing Information in Appendix A.

Maximum Count / Reset Value

Bit Number (decimal)

15 14 13 12 11 10 9

8

7

6

5

4

3

2

1

0

M0:e.41

Maximum Count

Bit Number (decimal)

15 14 13 12 11 10 9

8

7

6

5

4

3

2

1

0

1

1

1

1

1

1

1

1

1

1

1

1

1

1

1

0

= +32767

M0:e.41

Reset Value

Bit Number (decimal)

15 14 13 12 11 10 9

8

7

6

5

4

3

2

1

0

1

1

1

1

1

1

1

1

1

1

1

1

1

1

1

0

= +32767

Reset Value

Bit Number (decimal)

15 14 13 12 11 10 9

8

7

6

5

4

3

2

1

0

0

0

0

0

0

0

0

0

0

0

0

0

0

0

1

1

= –32767

M0:e.41

M0:e.41

Advertising