beautypg.com

Rockwell Automation AutoMax Enhanced Ladder Language Reference Manual User Manual

Page 37

background image

2Ć3

2.1.1

Input Parameters for the Count Up Down Instruction

This table lists the inputs for the CTUD instruction and the variable type and data

type/range that each input supports.

Parameter

Description

Variable Type

Data Type/Range

EN

When this input is true, the instruction is enabled.
When EN is false, the instruction is not executed and

ENO, QU, and QD are set false.

CU

When the instruction is enabled and CR and LD are false,

a falseĆtrue transition of this input causes the value in

Current to be incremented by one.
This input is false when not connected.

Connect a Boolean input or output.

CD

When the instruction is enabled and CR and LD are false,

a falseĆtrue transition of this input decrements the value in

Current by one.
This input is false when not connected.

CR

When this input is true, the value in Current is reset to

zero.
This input is false when it is not connected.
See Resetting a Counter," section 2.2.

LD

When this input is true and CR is false, the value in

Current is set equal to the value in CPreset.
This input is false when not connected.