Structure
- Members of a structure can have various data types.
- A member of a structure can have dimensions or can be an instance of another structure.
- 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.
- Corresponding members of all declared variables having this structure type are 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 this 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.