This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
comfilehmi:keypad:index [2020/03/01 16:13] COMFILE Technology [Example] |
comfilehmi:keypad:index [2023/05/09 04:22] COMFILE Technology [Referencing the Existing Value] |
||
---|---|---|---|
Line 1: | Line 1: | ||
+ | ====== Keypad ====== | ||
+ | There are two ways to display a keypad in the ComfileHMI. One is to use the [[:comfilehmi:numeric_input:index|numeric input]] widget, and the other is to place the keypad explicitly on the screen with the keypad widget. | ||
+ | |||
+ | {{ :comfilehmi:keypad:keypad.png?nolink |}} | ||
+ | |||
+ | A keypad can be configured to always store its value to a location in a connected external device's((a PLC or MCU connected to the ComfileHMI)) memory, or to a Internal variable. | ||
+ | |||
+ | {{ :comfilehmi:keypad:keypadstore.png?nolink |}} | ||
+ | |||
+ | In the //Design// options there are many styles of keypads to choose from. After selecting a style the color of the keypad can be further customized. | ||
+ | |||
+ | {{ :comfilehmi:keypad:keypadstore2.png?nolink |}} | ||
+ | |||
+ | {{ :comfilehmi:keypad:keypad2.png?nolink |}} | ||
+ | |||
+ | ===== Running an Action Group ===== | ||
+ | |||
+ | An [[comfilehmi:user_action_groups:index|action group]] can be assigned to the keypad to be run whenever the keypad is closed. | ||
+ | |||
+ | ==== Enter Key ==== | ||
+ | {{ :comfilehmi:keypad:keypad_action.png |}} | ||
+ | |||
+ | ==== ESC Key ==== | ||
+ | {{ :comfilehmi:keypad:keypad_action2.png?nolink |}} | ||
+ | |||
+ | ===== Preprocessing Operations ===== | ||
+ | |||
+ | The numeric value entered can be multiplied or added to before storing the result to the variable. | ||
+ | |||
+ | {{ :comfilehmi:keypad:aftermulti.png?nolink |}} | ||
+ | |||
+ | ===== Referencing the Existing Value ===== | ||
+ | |||
+ | Existing values, either as device memory or a ComfileHMI variable, can also be incremented or decremented by the value entered on the keypad. | ||
+ | |||
+ | |||
+ | {{ :comfilehmi:keypad:keypad_operation.png |}} | ||
+ | |||
+ | |||
+ | {{ :comfilehmi:keypad:keypad_operation2.png?nolink |}} | ||
+ | |||
+ | [[comfilehmi:index#widgets| Back to ComfileHMI]] | ||