Rockwell Automation 1756-LSC8XIB8I ControlLogix Low-speed Counter Module User Manual

Page 22

Advertising
background image

22

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

Chapter 2

Module Operation

To invoke the Preset Count 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 10

.

Figure 10 - Preset Count Function Controlled by Hardware Input

When tied to a hardware input, this function is edge-sensitive resulting in a preset
when the designated input transitions low or high:

By default, the count is set to the preset value on a rising pulse edge.
When the function is inverted, the count is set to the preset value on a

falling pulse edge.

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

x].PresetCount output tag as shown in

Figure 11

.

Figure 11 - Counter[x]PresetCount Output Tag

Preset Count function for counter 4

is tied to hardware input 7.

0 = Tag-based preset not
active.
1 = Count transitions to the
preset value on a rising edge.

Advertising