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
Name | Type | Description |
---|---|---|
eFormat | E_PD_Datatype | 0x01..0x36: Data type; 0x40: ZERO; 0x41: BYTE; 0x42: WORD; 0x43: DWORD; 0x44: Error; other values are reserved. |
iNumOfValues | USINT | 0..234: number of values; other values are reserved. |
iOffset | USINT | Offset in the DPV1 answer telegram |
iDataLen | UINT | Data length |
strData | STRING | 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, |
Tc2_IoFunctions (IO) |