How data types map between WinCC OA and DIP

From DIP to WinCC OA

I.E. The API manager configured as a Client

DIP type WinCC OA type Comments
TYPE_BOOLEAN DPELEMENT_BIT  
TYPE_BYTE DPELEMENT_32BIT  
TYPE_SHORT DPELEMENT_INT  
TYPE_INT DPELEMENT_INT  
TYPE_LONG DPELEMENT_INT DIP type is 64bit WinCC OA type is 32 bit => loss of precission.
TYPE_FLOAT DPELEMENT_FLOAT  
TYPE_DOUBLE DPELEMENT_FLOAT DIP type is 64bit WinCC OA type is 32 bit => loss of precission.
TYPE_STRING DPELEMENT_TEXT  
TYPE_BOOLEAN_ARRAY DPELEMENT_DYNBIT  
TYPE_BYTE_ARRAY DPELEMENT_DYN32BIT  
TYPE_SHORT_ARRAY DPELEMENT_DYNINT  
TYPE_INT_ARRAY DPELEMENT_DYNINT  
TYPE_LONG_ARRAY DPELEMENT_DYNINT DIP type is array 64 bit values WinCC OA type is list of 32 bit value => loss of precission.
TYPE_FLOAT_ARRAY DPELEMENT_DYNFLOAT  
TYPE_DOUBLE_ARRAY DPELEMENT_DYNFLOAT DIP type is array 64 bit values WinCC OA type is list of 32 bit value => loss of precission.
TYPE_STRING_ARRAY DPELEMENT_DYNTEXT  

From WinCC OA to DIP

I.E. The API manager configured as a Publisher.

WinCC OA type DIP type Comments
DPELEMENT_BIT TYPE_BOOLEAN  
DPELEMENT_CHAR TYPE_STRING  
DPELEMENT_INT TYPE_INT  
DPELEMENT_32BIT TYPE_INT It must be made clear to clients that this is a bit field - at times the value will go negative.
DPELEMENT_UINT TYPE_LONG Mapped to long so that the sign is preserved.
DPELEMENT_FLOAT TYPE_FLOAT  
DPELEMENT_TEXT TYPE_STRING  
DPELEMENT_DYNBIT TYPE_BOOLEAN_ARRAY  
DPELEMENT_DYNCHAR TYPE_STRING_ARRAY  
DPELEMENT_DYNINT TYPE_INT_ARRAY  
DPELEMENT_DYN32BIT TYPE_INT_ARRAY It must be made clear to clients that this is a bit field array - at times the value will go negative.
DPELEMENT_DYNUINT TYPE_LONG_ARRAY Mapped to long array so that the sign of each element is preserved.
DPELEMENT_DYNFLOAT TYPE_FLOAT_ARRAY  
DPELEMENT_DYNTEXT TYPE_STRING_ARRAY  

Note that this does not cover all DPE data types supported by WinCC OA. Currently the following are not supported by the API manager.