Download project
This example shows how to integrate an on-screen numpad or keypad for user input to any visualization.
This example shows how to use an on-screen keypad or numpad allowing the user
to use a mouse pointer or touch-screen to type as if using a hardware keyboard.
PLC_PRG
: The main program holds the variables in which the visualization writes
the values from the keypad or numpad.
Visualization
: The visualization has three fields. Each displays either a numpad or a keypad when clicked.
The first one displays a numpad for integer numbers. It also uses a minimum and maximum value. The second one
inherits a numpad for real numbers. The third field displays a keypad for writing letters to a string variable.
All fields are configured with an "OnMouseClick"
event 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 | - |