Structures
When a structure is defined, it can be used like other data types to declare variables.
Members of a structure can have an initial value. In that case, corresponding members of all declared variables having this structure type will be initialized with the initial value of the member.
To specify a member of a structured variable in PLC"Programmable Logic Controller" A Programmable Logic Controller, PLC, or Programmable Controller is a digital computer used for automation of industrial processes, such as control of machinery on factory assembly lines. Used to synchronize the flow of inputs from (physical) sensors and events with the flow of outputs to actuators and events languages, use the following notation:
VariableName.MemberName
Limitation
If a member of a structure is an instance of another structure, the nested structure must be declared BEFORE in the list.