What is a Structure?

It is a data item containing a set of data of a different type, such as:

  • a group of BOOL, WORD, UNINT, etc. , (EDT structure),

  • a group of tables (DDT structure),

  • a group of REAL, DWORD, tables, etc., (EDT and DDT structures).

NOTE: You can create nested structures (nested DDTs) over 15 levels. Recurring structures (DDT) are not allowed.

Characteristics

A structure is composed of data which are each characterized by:

  • a type,

  • a name, which enables it to be identified,

  • a comment (optional) describing its role.

Definition of a structure type:

Definition of two data instances of an IDENT type structure:

Access to the Data of a Structure

Access to the data of the Person_1 IDENT-type instance: