Lenze PLC Designer PLC Designer (R3-1) Manuel d'utilisateur Page 82

  • Télécharger
  • Ajouter à mon manuel
  • Imprimer
  • Page
    / 117
  • Table des matières
  • MARQUE LIVRES
  • Noté. / 5. Basé sur avis des utilisateurs
Vue de la page 81
L-force | PLC Designer
Concepts and Base Components
80 DMS 4.1 EN 03/2011 TD29
Syntax for declaration of a DUT:
TYPE <identifier> : <DUT components declaration>
END_TYPE
The DUT components declaration depends on the type of DUT, e.g. a structure or an
enumeration.
Example:
See in the following two DUTS, defining structures struct1 and struct2; struct2 extends
struct1, which means that you can use "
struct2.a" in your implementation to access
variable a.
TYPE struct1 :
STRUCT
a:INT;
b:BOOL;
END_STRUCT
END_TYPE
TYPE struct2 EXTENDS struct1 :
STRUCT
c:DWORD;
d:STRING;
END_STRUCT
END_TYPE
Vue de la page 81
1 2 ... 77 78 79 80 81 82 83 84 85 86 87 ... 116 117

Commentaires sur ces manuels

Pas de commentaire