Adding a project variable, Figure 6.2—add project variable – Watlow LogicPro User Manual
Page 68
Chapter 6: Variables
LogicPro User’s Guide
52
Watlow Anafaze
Doc.# 28002-00 Rev 3.00
Adding a Project Variable
To add a Project Variable:
1.
Click
[Add]
in the
Project Variable
dialog box. This
dialog box to opens, as shown in Figure 6.2.
Figure 6.2
Add Project Variable
2.
Enter the Variable name. This name must follow the
Variable naming conventions discussed in “Naming
Conventions” on page 49.
3.
If you want to create several Variables with similar
names, enter the root name in the
Name
field and enter
a starting number and ending number in the
Increment
field. By this method, multiple Variables are created,
each named with the root name and each appended with
a number.
4.
Select the Variable type from the list of types, either:
•
BOOL
(Boolean)
•
INT
(Integer)
•
LONG
(Long integer)
•
REAL
(Floating Point)
5.
Enter the
Initial Variable Value
. If this field is left
blank, zero is the default value. The Variable holds the
value of zero until the Program changes that value. Initial
value can be used for constant values of function blocks
or constant true/false Variables.