![Siemens SIMATIC ET 200SP Function Manual Download Page 144](http://html.mh-extra.com/html/siemens/simatic-et-200sp/simatic-et-200sp_function-manual_374388144.webp)
OPC UA communication
9.1 What you need to know about OPC UA
Communication
Function Manual, 11/2019, A5E03735815-AH
143
Example
A tag has the SIMATIC data type "COUNTER". You read COUNTER
→
UInt16 in the table.
You now know that you do not need to convert; the COUNTER value is sent over the line as
a UInt16 data type.
The client detects from the attribute "DataType" that the tag is actually the SIMATIC data
type "COUNTER". With this knowledge, the client reconstructs the data type.
Table 9- 1
SIMATIC and OPC UA data types
SIMATIC data type
OPC UA data type
BOOL
Boolean
BYTE
BYTE
→
Byte
WORD
WORD
→
UInt16
DWORD
DWORD
→
UInt32
LWORD
LWORD
→
UInt64
SINT
SByte
INT
Int16
DINT
Int32
LINT
Int64
USINT
Byte
UINT
UInt16
UDINT
UInt32
ULINT
UInt64
REAL
Float
LREAL
Double
S5TIME
S5TIME
→
UInt16
TIME
TIME
→
Int32
LTIME
LTIME
→
Int64
DATE
DATE
→
UInt16
TIME_OF_DAY (TOD)
TOD
→
UInt32
LTIME_OF_DAY (LTOD)
LTOD
→
UInt64
DATE_AND_TIME (DT)
DT
→
Byte[8]
LDT
DateTime
Summary of Contents for SIMATIC ET 200SP
Page 1: ...Communication ...