StructValue (STRUCT)ΒΆ

TYPE StructValue : STRUCT

Description of a STRUCT member

InOut:

Name

Type

Comment

eType

IEC_TYPE

value type

pValue

POINTER TO BYTE

target location of the IEC value

If eType = IEC_ARRAY pValue is a pointer to ArrayValue
If eType = IEC_STRUCT pValue is a pointer to StructValue
If eType = IEC_UNION pValue is a pointer to UnionValue

udiSize

UDINT

(max) size of this item.
with the exception of the types [UWX]?STRING this 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)