Watlow LogicPro Instrukcja Użytkownika Strona 233

  • Pobierz
  • Dodaj do moich podręczników
  • Drukuj
  • Strona
    / 296
  • Spis treści
  • BOOKMARKI
  • Oceniono. / 5. Na podstawie oceny klientów
Przeglądanie stron 232
LogicPro Users 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.
Przeglądanie stron 232
1 2 ... 228 229 230 231 232 233 234 235 236 237 238 ... 295 296

Komentarze do niniejszej Instrukcji

Brak uwag