Lenze PLC Designer PLC Designer (R3-1) Manual de usuario Pagina 82

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 117
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 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
Vista de pagina 81
1 2 ... 77 78 79 80 81 82 83 84 85 86 87 ... 116 117

Comentarios a estos manuales

Sin comentarios