smartLink HW-DP - User Guide
4.6.2
Data type conversion
smartLink HW-DP converts PROFIBUS data types to OPC UA data types. Simple data types like Integer16
are mapped to the corresponding OPC UA data types (Int16). All multi-byte data types are converted
from big endianness used by PROFIBUS to little endianness used by OPC UA. More complex, structured
data types are split up to multiple OPC UA variables. Some data types require additional calculation like
scaling. See the following mapping table for an exact description on how PROFIBUS data types are
converted to OPC UA data types.
PROFIBUS data type
Boolean
Integer8
Integer16
Integer32
Integer64
Unsigned8
Unsigned16
Unsigned32
Unsigned64
Float32
Float64
VisibleString
OctetString
UnicodeString8
F message trailer with 4
octets
F message trailer with 5
octets
TimeStamp
TimeStampDifference
TimeStampDifferenceShort
Float32+Status8
Float64+Unsigned8
80
OPC UA variable
OPC UA data type
name suffix
Boolean
Sbyte
Int16
Int32
Int64
Byte
UInt16
UInt32
UInt64
Float
Double
String
ByteString
String
_status
Byte
_crc
ByteString
_status
Byte
_crc
UInt32
_status
UInt16
_seconds
UInt64
_nanoseconds
UInt32
_status
UInt16
_seconds
UInt64
_nanoseconds
UInt32
Int64
_value
Float
_status
Byte
_value
Double
_status
Byte
conversion
0 -> False; !0 -> True
-
big -> little endian
big -> little endian
big -> little endian
-
big -> little endian
big -> little endian
big -> little endian
big -> little endian
big -> little endian
ISO 8859-1 -> String
-
-
-
-
-
big -> little endian
big -> little endian
big -> little endian
(SecondsHigh << 32) + SecondsLow
big -> little endian
big -> little endian
big -> little endian
(SecondsHigh << 32) + SecondsLow
big -> little endian
big -> little endian
big -> little endian
-
big -> little endian
-
Version EN-012025-1.32
Need help?
Do you have a question about the smartLink HW-DP and is the answer not in the manual?