UDT "LocalizedText"
For the basic data type "LocalizedText", create the following PLC data type:
Figure 9-41
The EncodingByte indicates which fields (Locale or Text) are available:
EncodingByte
0
1
2
3
UDT "ByteString"
For the basic data type "ByteString", create the following PLC data type; in this case, for
example, a ByteString array with 12 elements:
Figure 9-42
Communication
Function Manual, 11/2019, A5E03735815-AH
"LocalizedText" UDT
Meaning
The fields Locale and Text are empty
The field Locale has content, the field Text is empty
The field Locale is empty, the field Text has content
The fields Locale and Text have content
"ByteString" UDT
OPC UA communication
9.3 Using the S7-1500 as an OPC UA server
217