VariableValue (STRUCT)

TYPE VariableValue : STRUCT

Instances of this structure represent the value and status information for a single variable

Note

In fact this structure is the same than PlcVarValue from the PLCHandler SDK

InOut:

Name

Type

Comment

ulTimeStamp

UDINT

UTC-Timestamp of the value, is read from the PLC

Note

The UTC-timestamp is not supported by all PLCs

quality

BYTE

Quality of the value 1: Value was read from the PLC 0: Value was not read from the PLC

data

ARRAY [0..0] OF BYTE

Array with the value. The concrete size of this array depends on the data type (byData[1] is only a placeholder with the minimum size). Should only be accessed, if bQuality is TRUE