Lenze DDS v2.3 Instrukcja Użytkownika Strona 143

  • Pobierz
  • Dodaj do moich podręczników
  • Drukuj
  • Strona
    / 340
  • Spis treści
  • BOOKMARKI
  • Oceniono. / 5. Na podstawie oceny klientów
Przeglądanie stron 142
Drive PLC Developer Studio
Editors
7-21
l DDS EN 2.3
If the organization unit is given read and write access, the following pragma allows variable a to be
exported with write access only and variable b not at all.
VAR
a:INT {flag noread};
b:INT {flag noread,nowrite};
END_VAR
VAR
{flag noread on}
a:INT;
{flag noread,nowrite on}
b:INT;
{flag off}
END_VAR
Variables a and b are not exported into the icon file.
{flag noread, nowrite on}
VAR
a:INT;
b:INT;
END_VAR
{flag off}
VAR
{flag noread, nowrite on}
a:INT;
b:INT;
{flag off}
END_VAR
The pragma is inherited by the subordinate variable declarations.
a:afb;
.
.
.
FUNKTION_BLOCK afB
VAR
b:bfb{flag nowrite};
c:INT;
END_VAR
.
.
.
FUNKTION_BLOCK bfB
VAR
d:INT{flag noread};
e:INT{flag nowrite};
END_VAR
a.b.d is not exported.
a.b.e is exported with read access only.
a.c is exported with read and write access.
Show/Hide Bookmarks
Przeglądanie stron 142
1 2 ... 138 139 140 141 142 143 144 145 146 147 148 ... 339 340

Komentarze do niniejszej Instrukcji

Brak uwag