Counter element – Rockwell Automation DeviceLogix System User Manual User Manual

Page 100

Advertising
background image

100

Publication RA-UM003B-EN-P - February 2010

Chapter 4 Navigate the Old Ladder Editor Interface

Counter Element

Up Counter

The up counter counts up on a false to true transition of the count
input and sets its output to true when the accumulator reaches the
preset value. The accumulator continues to count up until the counter
is reset or until the counter reaches 65,535. A reset causes the
accumulator to be set to zero and sets the output to false. The reset
(RES) element must reference the same tag name as the counter that it
will be resetting. The illustration shows an up counter with a preset
value of 3.

Counter Elements

Element

Description

Count Up Element - The up counter increments its accumulator when the
input is true. It has a preset value and an accumulator value.

Count Down Element - The counter decrements its accumulator when the
input is true. It has a preset value and an accumulator value.

Count Reset Element - Resets the accumulator and output value.

Count Input

Reset

Output

Count Value

4

0

0

1

44018

1

2

3

5

Advertising