Creating a structure variable |
Manual -> Variables -> Structures -> Structure variables -> Creating a structure variable |
Show all Hide all |
Create a simple variable. Proceed as described in chapter Creating a simple variable. As a structure variable is based on a structure data type, select one.
Select a driver, a driver object type and the array dimensions.
The following options are available:
Automatic addressing |
In the process zenon calculates an automatic address allocation. This depends on the granularity of the driver object type resp. the IEC datatype on which the datatype is based on. |
Each data type starts with new offset |
Defined the position of the single array elements for the automatic addressing. Either the offsets are used completely (variables are addressed in a row) when deactivated, or each structure starts at a new offset when activated. |
Activate all elements |
On creating the new array variable all elements are automatically activated. |
Activae elements manually |
On creating the elements are not activated. They have to activated in the variable list individually. This can be done via the context menu of the variable list. |