ArrayValue (STRUCT)¶
TYPE ArrayValue : STRUCT
Description of a (multi dimensional) ARRAY type
- InOut:
Name
Type
Comment
eTypebase type of the array
pValuePOINTER TO BYTE
target location of the first element of the array
If eType = IEC_ARRAY pValue is a pointer to ArrayValueIf eType = IEC_STRUCT pValue is a pointer to StructValueIf eType = IEC_UNION pValue is a pointer to UnionValueudiSizeUDINT(max) size of this item.with the exception of the types[UWX]?STRINGthis value is calculated by the library.If eType = IEC_ARRAY udiSize should be SIZEOF(UA.ArrayValue)If eType = IEC_STRUCT udiSize should be SIZEOF(ARRAY[0..n] OF UA.StructValue)If eType = IEC_UNION udiSize should be SIZEOF(UA.UnionValue)pudiDimensionSizePOINTER TO UDINT
The size of the dimensions
udiDimensionCountUDINTudiElementSizeUDINTSize of an array elementIf eType = IEC_STRUCT udiElementSize should be SIZEOF(“STRUCT_DATATYPE”)