TSL Automation Solutions Logo

Section 15.4.10 · Chapter 15: Using Macros

Keypad Operation

■ KB_MCR

Format KB_MCR(P1) Data Type U
Function Accepts or ignores the character/command currently input by the associated keypad button. This command must be used only in a macro that is run by a keypad button. A keypad button runs the specified macro when it is pressed. You can use this command in a keypad button macro to accept or ignore the current input of that button.
P1 (I/C) The value or the location that holds the value to determine the acceptance of the keypad button input. If the value is 0, the input will be accepted; Otherwise the input will be ignored.
Example 1 KB_MCR(1) /* Ignore the current input */

■ KPD_TEXT

Format KPD_TEXT(P1) Data Type U
Function Initialized the keypad display and buffer using the string P1.
P1 (I) The memory block (or byte array) that contains the null-terminated ASCII character string to be used to initialize the keypad display and buffer.
Example 1 $U100 = "initial text"
KPD_TEXT($U100) /* Initialize the keypad display and buffer using the string "initial text". */

Need PM Designer itself?

V4 for current PK, PT, ITV and PM panels, V2 for older models. Free, sent by email.

Source.Section 15.4.10 of the PM Designer Software User Manual, Edition 2.0, © Cermate Technologies Inc. (www.cermate.com, service@cermate.com). Reproduced online, with the manual's own figures, by TSL Automation Solutions, authorised Cermate distributor, for users of Cermate HMI panels. PM Designer and PanelMaster are trademarks of Cermate Technologies Inc.

Text and figures are the manufacturer's and may describe features your panel or software version does not have. For a plain-language introduction read the PM Designer guide; for help with a specific panel contact TSL Automation.