beautypg.com

Soft_int – Watlow LogicPro User Manual

Page 233

background image

LogicPro User’s Guide

Chapter 12: Function Blocks

Doc.# 28002-00 Rev 3.00

Watlow Anafaze

217

Soft_Int

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

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

1.

Open the

Add Program/Resource Variable

dialog box.

2.

Enter a unique variable

Name

.

3.

Select

INT

from the

Type

list.

4.

Choose

Input

or

Output

by clicking on the corresponding

check box.

5.

Select

Soft_Int

from the

IO Driver

list.

6.

Select

WORD

as the

IO Size

.

7.

In the

IO Physical Address

field, enter the

Soft Int

number

(1-100).

8.

Click

[OK]

Soft Int Addressing Example

To create a variable named Soft_Int_35 that reads the value of
soft int 35, set the options in the

Add Program/Resource

Variable

dialog box as illustrated below.