
LogicPro User’s Guide Chapter 12: Function Blocks
Doc.# 28002-00 Rev 3.00 Watlow Anafaze 203
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.
For example, a Soft Int could be used to allow a user to set a timer
preset in a logic Program. The I/O address for a Soft Int is the Soft
Int number.
To associate a variable with a Soft Int:
1. Open the Add Program/Resource Variable dialog box.
2. Enter a unique variable Name.
3. Select INT from the Type list.
4. Select Input or Output by clicking the corresponding check
box.
5. Select Soft_Int from the IO Driver list.
6. Select WORD from the IO Size list.
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.
Komentarze do niniejszej Instrukcji