Download project

Dynamic Text

This example demonstrates the use of text fields. A visualization which lets the user
switch the language of a given text was implemented for better understanding.

Product description

The visualization consists of one text field and three buttons for different languages.
Pressing the button will display the text in the selected language.

More information

By default this example displays "Hello World!" in three different languages.
To extend the example add more text to the "Textlist". Then select the text field in the visualization
and change the "dynamic variable" to the ID from the list with the "Properties Editor".
The "Expert View" is necessary to see this option.

The language buttons use the "OnMouseClick" event to change the language.

System requirements and restrictions

System requirements and restrictions Info
Programming System CODESYS Development System Version or higher
Runtime System CODESYS Control Version
Required Accessories -

Screenshot thumbnail
Screenshot of Visualization