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

IEC_TYPE

item type

pValue

POINTER TO BYTE

target/source location

udiSize

UDINT

(max) size of this item in the data set message
With the exception of the types STRING and WSTRING this value is calculated by the library.

udiOffset

UDINT

offset inside data set message
this value is calculated by the library