User-Defined Keypad
User-Defined Keypad allows you to change the layout or size of a Password, Numeric Entry, or Text Entry keypad. C-more comes with a default keypad for each data type and use. You may need your own keypad design.
Default Keyboards:
Open the User-Defined Keypad Editor
-
In the Navigation Window Screen tab
— or —
-
from the Screen tab in the top ribbon menu.
When you select Define Keypad (top ribbon), the screen thumbnails on the Screen tab become Keypad thumbnails. The project work area displays a keypad you can edit. There are six Default keypads for Data Entry objects, available as System Default or Classic keypads. The HMI will open the appropriate system keypad based on the data type of the tag in the data entry object, or the developer can select a custom keypad in the data entry object:
-
System Default 0: Basic signed/unsigned integer
-
System Default 1: Signed/unsigned integer or BCD with min/max limits
-
System Default 2: Octal with min/max limits
-
System Default 3: Hexadecimal with min/max limits
-
System Default 4: Floating point with min/max limits
-
System Default 5: Alphanumeric (QWERTY)
-
Classic 0: Basic signed integer
-
Classic 1: Signed integer with min/max limits
-
Classic 2: Octal with min/max limits
-
Classic 3: Hexadecimal with min/max limits
-
Classic 4: Floating point with min/max limits
-
Classic 5: Alphanumeric (Alphabetic key order)
Create a User-Defined Keypad
-
Right-click on an existing keypad as the starting point for your User Defined Keypad.
-
Select Duplicate Screen from the drop-down menu.
-
The new keypad is added to the bottom of the list, named User Define Keypad 1.
-
Right click on the thumbnail to open the options to change the keypad name.
-
Click the new User Define Keypad to bring it to the Workspace.
Edit the User-Defined Keypad
Refer to Key Button for details on how to add custom data string buttons or Control Keys.
From this view you can move keys, add or delete any key. You can also change the styling to any look desired.
Notice, there are five special fields on this keyboard. All five are ASCII String data types:
-
The value being entered. This goes into the “SYS Keypad Value” system tag. When the keyboard is closed, the value entered here is cast to the datatype of the control that opened the keypad and this value is copied to the “Entry Tag” in the object that opened the keyboard.
-
An error text field. This is an empty Static Text object. It must be left empty and the object name must be “Error”. Any message indicating the value entered is more or less than the Minimum or Maximum values for this keypad will be displayed here. It is possible to change the font or background colors by editing the static text properties.
-
The Current value of that tag being edited. This value is set in the “SYS Keypad Current” system tag when the keypad opens, and does not change until the keypad is closed.
-
The minimum allowed value to be entered. When the keypad is opened, this value is copied from the Minimum Range field in the calling object and set in the “SYS Keypad Minimum” tag. It is only updated when the keypad opens.
-
The maximum allowed value to be entered. When the keypad is opened, this value is copied from the Maximum Range field in the calling object and set in the “SYS Keypad Maximum” tag. It is only updated when the keypad opens.
After you configure the new keypad, click the Screen icon on the Screen Tab to return to project screens in the workspace pane.
The new User Defined Keypad is available in the Keypad list on the Numeric Entry, Text Entry objects or Password configuration windows.
User-Defined Keypad
CM098