ST_Dpv1ValueHeaderEx

ST_Dpv1ValueHeaderEx contains the data of a parameter in the DPV1 telegram and its string representation.

TYPE ST_Dpv1ValueHeaderEx :
STRUCT
    eFormat      : E_PD_Datatype;
    iNumOfValues : USINT;
    iOffset      : USINT;
    iDataLen     : UINT;
    strData      : STRING;
END_STRUCT
END_TYPE

eFormat: 0x01..0x36: data type; 0x40: ZERO; 0x41: BYTE; 0x42: WORD; 0x43: DWORD; 0x44: error; other values are reserved. (Type: E_PD_Datatype).

iNumOfValues: 0 to 234: number of values; other values are reserved.

iOffset: Offset in the DPV1 response telegram.

iDataLen: Data length.

strData: Data as STRING.

Requirements

Development environment

Target platform

IO hardware

PLC libraries to be integrated (category group)

TwinCAT v3.1.0

PC or CX (x86, x64, ARM)

Beckhoff FC310x PCI,
CX1500-M310,
EL6731,
EL6632

Tc2_IoFunctions (IO)