Download project

Visu On-Screen Numpad/Keypad

This example shows how to integrate an on-screen numpad or keypad for user input to any visualization.

Product description

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.

More information

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

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
Screenshot thumbnail