ST_Dpv1ParamAddrEx
ST_Dpv1ParamAddrEx contains the data of a Profidrive parameter.
TYPE ST_Dpv1ParamAddrEx :
STRUCT
iAttribute : USINT;
iNumOfElements : USINT;
iParameterNumber : UINT;
iSubIndex : UINT;
iDataAddr : PVOID;
iDataSize : UDINT;
eFormat : E_PD_Datatype;
iNumOfValues : UINT;
iErrorValue : UDINT;
stError : ST_PD_Dpv1Error;
END_STRUCT
END_TYPE
Name | Type | Description |
---|---|---|
iAttribute | USINT | 0x10: Value; 0x20: Description; 0x30: Text; 0x80..F0: Vendor-specific; other values are reserved. |
iNumOfElements | USINT | 1..234: number of elements; 0: special functions; other values are reserved |
iParameterNumber | UINT | 1..65535: parameter number; 0: reserved |
iSubIndex | UINT | 0..65535: sub-index |
iDataAddr | PVOID | Address of the buffer/address of the PLC variables. |
iDataSize | UDINT | Size of the buffer/size of the PLC variables. |
eFormat | E_PD_Datatype | 0x01..0x36: Data type; 0x40: ZERO; 0x41: BYTE; 0x42: WORD; 0x43: DWORD; 0x44: Error; other values are reserved. |
iNumOfValues | UINT | 0..234: number of values; other values are reserved |
iErrorValue | UDINT | DPV1 error value |
stError | ST_PD_Dpv1Error | DPV1 error flag, DPV1 error enumeration type |
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) |