beautypg.com

Rockwell Automation AutoMax Enhanced Ladder Language Reference Manual User Manual

Page 38

background image

2Ć4

Parameter

Data Type/Range

Variable Type

Description

Name

Enter the name of the counter variable you want to use for

this instruction.

data structure

counter

See also About

Counter Variables"

CPreset

Enter the value you want the counter to count up to or

count down from. This value is stored in name.CPreset.
See Changing the Preset Value of a Counter Instruction

by Using Ladder Logic," section 2.3.

constant

double integer

2.1.2

Output Parameters for the Count Up Down Instruction

This table lists the outputs for the CTUD instruction. To use them, connect them to a

contact, coil, or Boolean input of another instruction.

Parameter

Description

ENO

Use this output as the input to another instruction for easily chaining

multiple instructions. This output follows the state of EN.

QU

This output is true when the value in Current is greater than or equal to

the preset value (CPreset).

QD

This output is true when the value in Current is less than or equal to 0.