beckhoff TwinCAT 2 PLC Control — 9.2.2.3 XML File for dynamic Texts

Visualization The list of assignments Prefix-ID-text starts with and ends with . The particular text entries each start with text prefix> and end with . A text entry which is assigned to a Prefix-ID-combination must contain the following lines: For each prefix-ID-combination at least for one language a text entry must be available. E.g. see in the file example shown below: indicates the start of the german version of a text, terminates the text. Dynamic texts on the one hand can serve to display texts in different languages, but of course on the other hand they also can be used to change the content of a text (same language) display dynamically. TwinCAT 2 PLC Control 246 Version:

1.0 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 ... ... ...

= " id=" " "PREFIX" corresponds to the used in the visualization element configuration (category Text); "ID" corresponds to the entry in category 'Variables', Textdisplay ]] Use any string as a 'language' identifier (e.g. "english"). This identifier then will be displayed in the 'Settings' dialog, category Language of the visualization element in the selection list at 'Language'; instead of "TEXT" insert any text which then will be displayed instead of the above defined ID-prefix-combination in the visualization element.