This project contains three example applications relating to the visualization of dialogs
with the language "Structured Text (ST)".
This example shows how dialogs can be opened and how input values can be read and checked by an event handler.
The event handler
IEditBoxInputHandler is set in the main program
PLC_PRG. The method
is called after an input value is set. The range of the input value is checked by the method
CheckValue of the
ControlFB. The OK-Button is active if the variable
pVar is less than 100.
Notice that the function block
ControlFB is passed to the frame by the attribute
This example shows how file dialogs can be opened by program (ST) via the
The file filter and an instance of the function block
Visu_FbFileListProvider is created in the program
The function block
Visu_FbFileListProvider is used by the dialog to list and filter files. The function
OpenFileDialog sets the
Visu_FbFileListProvider and opens the dialog. After selecting a file, the name
of the file is displayed in the visualization.
The example shows how to open dialogs via the library
|System requirements and restrictions||Info|
|Programming System||CODESYS Development System V220.127.116.11 or higher|
|Runtime System||CODESYS Control V18.104.22.168|