OPC UA communication
9.4 Using the S7-1500 CPU as an OPC UA client
Communication
Function Manual, 11/2019, A5E03735815-AH
265
Example for multilingual texts in an OPC UA XML file
In the XML file below, the display name and the description, for example, are entered with a
"default" text and multiple localizable texts.
●
Default text is the first entry without localization information.
●
Localized text is the text after "Locale=" followed by a language code, e.g. "it-IT" for
Italian
Figure 9-68 Example of multilingual texts in an OPC UA XML file
Display of multilingual texts
When importing a server interface, the available multilingual texts are saved internally and
downloaded to a CPU together with the project.
The client editor displays the text from the OPC UA XML file in the columns "Name of the
node" (corresponds to "DisplayName") and "Description" (corresponds to "Description").
The following cascading rules determine which language is shown for a node:
●
When the node contains text in the currently used editing language, the text is also
displayed in the editing language.
(Setting the editing language: In the project tree, select the area "Languages & resources
> Project languages")
●
When the node does not contain text in the editing language but a default text is defined
there (without language code), the default text is displayed.
●
"Name of the node" column: If no default text is defined either but a text in any other
language exists, the DisplayName text is displayed in the first available language. This
rule does not apply to description texts.
●
If none of the conditions listed above is met, no text is displayed.
Figure 9-69 Display for multilingual texts
Содержание SIMATIC ET 200SP
Страница 1: ...Communication ...