beautypg.com

Naming and assigning variables to function blocks – Watlow LogicPro User Manual

Page 118

background image

Chapter 8: Ladder Diagrams

LogicPro User’s Guide

102

Watlow Anafaze

Doc.# 28002-00 Rev 3.00

Naming and Assigning Variables to Function
Blocks

Function Blocks must have unique names and their I/O must
be assigned. I/O may be constants, variables or rung
connections. Inputs and outputs may be integer or real or
Boolean.

To assign symbolic Variable names or preset values to a
function block:

1.

Select the

[Selector]

tool.

2.

Double-click on an existing function block. The

Assign

Function Block Symbolic Input/Output

dialog box

for that function block appears, as shown in Figure 8.25
on page 103
. The Input and Output to which you can
assign Variables are listed in the dialog box.

3.

Enter a unique name in the

FB Name

field. If necessary,

click

[List]

to see a list of Function Block names in the

current program.

4.

Select the value in the

Symbolic Input

or

Symbolic

Output

field to which you want to assign a value.

5.

Enter a numeric value or variable name in the field at the
bottom of the dialog box,
– or –
click the

[Search]

button and double-click on a variable

name in the displayed list.

6.

Repeat steps 4 and 5 until all Symbolic I/O are assigned.