beautypg.com

Soft_bool – Watlow LogicPro User Manual

Page 218

background image

Chapter 12: Function Blocks

LogicPro User’s Guide

202

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. For example, an HMI program could allow a user to set a
software switch that is read by and affects the operation of a logic
Program. The I/O address for Soft Bools is the Soft Bool number.

To associate a variable with a Soft Bool:

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-1000).

7.

Click

[OK].

Soft Bool Addressing Example

To create a variable named Soft_Bool_278 that sets the value of Soft
Bool 278, set the options in the Add Program/Resource
Variable
dialog box as illustrated below.