Beckhoff Automation GmbH & Co. KG TX1200 — 10.2.2.3 XML File for dynamic Texts

Visualization 10.2.2.3 XML File for dynamic Texts For a description how to use dynamic texts in the visualization see 'Settings', category Language. The underlying file must be available in XML format ( .xml). In this file texts are assigned to identifiers (which are a combination of a prefix and a ID). These prefix-ID combinations can be entered in the configuration of a visualization element. In the header section of the file a default language and a default font assigned to a language can be defined. The descriptions in the xml-file are enclosed by tag and which have to be entered at the beginning resp. end of the file.

The language files for dynamic texts can be created in Unicode (UTF-16) or ANSI (ISO-8859-1). This is to be defined via the encoding syntax at the beginning of the xml-file. See a file example below. Primary formats of the xml-file, which do not use the \ tags or the header section, will be supported further on! The Target-Visualization offers an interface for scanning the entries of dynamic textlists. Thus those can be used directly in the program. The header section starts with and is closed with . If you want to define a default language, use entry . A default font which is assigned to a certain language, can be defined via entry default-font> . These entries are optional.

If they are missing, the dynamic text in the visualization will be displayed according to the local configuration settings of the visualization. TX1200 314 Version: 1.3 Default language; that means that if there is no text entry available for the currently set language, that text will be used which is found within the same text entry for the default language. If also for the default language no text is found, " “ will be displayed. f multiple XML-files are used, thus providing multiple headers, only that header section will be regarded, which is read at last. So it is reasonable to use only one header section!

The language token must correspond which one of that used in the text entries (see below). Note: In online mode the default language can be set explicitly via a visualization element configured with command INTERN LANGUAGE DEFAULT in category Input, Execute program (see Chapter Special input possibilities for operating versions). Default font for : The given font (e.g. "Arial" will automatically be used for all elements, which display dynamic texts in . The language token must correspond which one of that used in the text entries (see below). further default fonts for other languages ... ... ...