beautypg.com

Variables, Naming conventions – Watlow LogicPro User Manual

Page 65

background image

Doc.# 28002-00 Rev 3.00

Watlow Anafaze

49

6

Variables

A LogicPro Variable is the name tag given to a piece of data
used by various execution elements of the Program. Variables
are both physical I/O and internally represented data.
LogicPro uses several types of Variables, including:

Project Variables

Resource Variables

Program Variables

Naming

Conventions

When naming Variables try to be as descriptive as possible
especially if there are more than a few Variables in the
Program. For example, Go_Light_On will prove more useful
a name than Variable_1.

Variables may be up to 28 characters long.

lnitial Value—When a logic program is first run all of
the variables are set equal to the initial values specified
when the variables are declared or created. If an initial
value is not explicitly entered in the

Add Variable

dialog box, the variable is set equal to zero. Unless a
variable is set as retentive, it is set equal to its intitial
value each time the logic program is run.