Rockwell Automation AutoMax Enhanced Ladder Language Reference Manual User Manual

Page 280

Advertising
background image

AĆ8

A.1.4

Counter Variables

A counter variable is a data structure that combines preĆdefined elements into a single

symbol.

This element:

Is a:

Current

double integer element that contains the current

count
Current is initialized to 0 when a program first begins

to run unless the counter is a global and declared

nonĆvolatile in the Variable Configurator.

CPreset

double integer element that contains the value that

the counter should count to or from

QU

Boolean output that is true when the value in Current

is greater than or equal to the preset value (CPreset)

QD

Boolean output that is true when the value in Current

is less than or equal to zero

Advertising