Visualization Fehler an Position 4711 Error at position 4711 Fehler an Position 815 Error at position 815 mehrere Zeilen]]> one line]]> (5) In the visualization open dialog ‚Settings’, category Language: Activate option ‚Dynamic Texts’; Add file dynamictextsample.xml, now available on your computer, to the file list. (6) Go online with the project. (7) In the visualization settings set language to "deutsch". Set PLC_PRG.ivar to "1" and PLC_PRG.errnum to "4711". Now in the visualization elements the following texts should be displayed: "Vorschub" resp. "Fehler an Position 4711". The texts will be displayed in Arial 13. (8) Set PLC_PRG.ivar to „2“ and PLC_PRG.errnum to "2000".
The texts will change to "Beschleunigung" and "Das ist ein Fehlertext ьber mehrere Zeilen“. (9) In the visualization settings change the language to "english". Now the following texts will be displayed: "Acceleration" and "This is a error text over more than one line". (The change of language also could be managed by using the INTERN command 'LANGUAGE' by another visualization element.) 10.2.3 Language dependend Online Help 10.2.3.1 Calling up language-dependent Online Help via a visualization element The calling of a different Help file with a visualization element can be tied in with the language currently entered for the visualization.
For this purpose, the command INTERN HELP must be entered for this element in the 'Configure element' dialog at the location 'Execute program', and a [Visu-Helpfiles] section must be present in the TwinCAT PLC Control.ini file. Below this, the corresponding help files must be assigned to the languages available for selection in the visualization: e.g.: [Visu-Helpfiles] German=C:\PROGRAMME\HELP_D.HLP English=C:\PROGRAMME\HELP_E.HLP 10.3 Placeholder Concept At each location in the configuration dialog at which variables or text are entered, a placeholder can be set in place of the respective variable or text.
This makes sense if the visualization object is not to be used directly in the program, but is created to be inserted in other visualization objects as an "instance". When configuring such an Instance , the placeholders can be replaced with variable names or with text (see „Configuring an inserted visualization", there you also find an example for using placeholders). TX1200 316 Version: 1.3