4.3.3 Data types and lengths transformation between Sercos and OPC UA

In order to access data of Sercos devices via OPC UA, data types and lengths are transformed between Sercos and OPC UA. Table 3 shows the data types and data lengths transformation rules between Sercos and OPC UA.

Table 3 – Transformation rules between Sercos and OPC UA
Sercos OPC UA
Data Type Data Length Data Type
Extended Character Set1 Octet ListString
Floating-Point number4 OctetFloat
8 OctetDouble
Integer2 OctetInt16
4 OctetInt32
8 OctetInt64

Unsigned Integer

or

Binary Number

1 OctetByte
2 OctetUInt16
4 OctetUInt32
8 OctetUInt64
Sercos Time8 OctetUtcTime
The Sercos list data types are transformed analogue to the single data types, e.g. S-0-0017 (Data type: Integer, Data length: 4 Octed list) is transformed to an array of Int32.