Count enable function – Rockwell Automation 1756-LSC8XIB8I ControlLogix Low-speed Counter Module User Manual

Page 19

Advertising
background image

Rockwell Automation Publication 1756-UM536A-EN-P - April 2012

19

Module Operation

Chapter 2

Count Enable Function

The Count Enable function serves as a gate input that controls when counting
starts and stops.

To invoke the Count Enable function for a counter by using the hardware input
method, tie the function to a hardware input on the Input Configuration tab of
the Module Properties dialog box as shown in

Figure 6 on page 19

.

Figure 6 - Count Enable Function Controlled by Hardware Input

When tied to a hardware input, this function is level-sensitive resulting in a
change of status when the input is either low or high:

By default, counting starts only when the input is high and stops when the

input is low.

When the function is inverted, counting starts only when the input is low

and stops when the input is high.

To invoke the Count Enable function by using the output tag method, use the
Counter[

x].DisableCount output tag as shown in

Figure 7

.

Figure 7 - Counter[x]DisableCount Output Tag

Count Enable function for counter 2

is tied to hardware input 4.

0 = Counting occurs,
level-sensitive.
1 = Counting is disabled,
level-sensitive.

Advertising