Lenze PLC Designer PLC Designer (R3-1) Uživatelský manuál Strana 82

  • Stažení
  • Přidat do mých příruček
  • Tisk
  • Strana
    / 117
  • Tabulka s obsahem
  • KNIHY
  • Hodnocené. / 5. Na základě hodnocení zákazníků
Zobrazit stránku 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
Zobrazit stránku 81
1 2 ... 77 78 79 80 81 82 83 84 85 86 87 ... 116 117

Komentáře k této Příručce

Žádné komentáře