Index (STRUCT)ΒΆ
TYPE Index : STRUCT
Take a look to the example PubSubDataSet.project
to see how to use this struct in the context of a DataSet
- InOut:
Name
Type
Comment
eType
item type
pValue
POINTER TO BYTE
target/source location
udiSize
UDINT
(max) size of this item in the data set messageWith the exception of the typesSTRING
andWSTRING
this value is calculated by the library.If eType is set toIEC_TYPE.TYPE_BIT
then this value is interpreted asBit 30+31: BIT_SIZE
Bit 0-7: Bit Offset (0..63) in pValue
udiOffset
UDINT
offset inside data set messagethis value is calculated by the library