Lenze DDS v2.3 Manuel d'utilisateur Page 143

  • Télécharger
  • Ajouter à mon manuel
  • Imprimer
  • Page
    / 340
  • Table des matières
  • MARQUE LIVRES
  • Noté. / 5. Basé sur avis des utilisateurs
Vue de la page 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
Vue de la page 142
1 2 ... 138 139 140 141 142 143 144 145 146 147 148 ... 339 340

Commentaires sur ces manuels

Pas de commentaire