Download project
This example demonstrates how to work with dialog boxes in the visualization.
The user can open a dialog box and enter some data. After closing the dialog box the data is stored
and displayed in the main window.
The visualization shows three variables which can be set via a dialog.
The "Open Dialog" button will open a dialog box. There the values can be set and saved.
Afterwards they are inserted into the main window.
Main
: This program only includes the variables which are displayed in the main window.
Visualization
: The visualization consists of a main window and a dialog box where data values
can be set by the user. Under "Inputconfiguration"
in the Properties editor of the "Open Dialog"
button the dialog visualization is selected to be opened by clicking the button.
The mapping of the variables from the dialog box to the main window is also done in the Properties Editor.
System requirements and restrictions | Info |
---|---|
Programming System | CODESYS Development System Version 3.5.14.0 or higher |
Runtime System | CODESYS Control Version 3.5.14.0 |
Required Accessories | - |