Soft_bool – Watlow LogicPro User Manual

Page 232

Advertising
background image

Chapter 12: Function Blocks

LogicPro User’s Guide

216

Watlow Anafaze

Doc.# 28002-00 Rev 3.00

Soft_Bool

A Soft Bool can be used in logic programs by creating a
variable in the logic program that points to the Soft Bool as if
it were physical I/O. This allows the logic program to examine
and set values of Soft Bools. The I/O address for Soft Bools is
the Soft Bool number.

To read or set a Soft Bool with a logic program variable:

1.

Open the

Add Program/Resource Variable

dialog

box.

2.

Enter a unique variable

Name

.

3.

Select

BOOL

from the Type list.

4.

Select

Input

or

Output

by clicking the corresponding check

box.

5.

Select

Soft_Bool

from the

IO Driver

list.

6.

In the

IO Physical Address

field enter the Soft Bool num-

ber (1-256).

7.

Click

[OK]

Soft Bool Addressing Example

To create a variable named Soft_Bool_178 that sets the value
of soft bool 178, set the options in the

Add Program/

Resource Variable

dialog box as illustrated below.

Advertising