User`s guide

T1/T2 Pendant Button Map
Keyboard Mode
The default mode is Keyboard. If a PENDANT() function requests any keyboard input, the
button number of the first Keyboard mode button pressed is returned. The following code
detects the first soft button pressed:
; Set the soft keys to keyboard mode
KEYMODE 1,5 = 0
; Wait for a button press from buttons 1 - 5
DO
button = PENDANT(0)
UNTIL button < 6
The arguments to the KEYMODE instruction indicate that pendant buttons 1 through 5 are
to be configured in Keyboard mode. The 0 argument to the PENDANT() function indicates
that the button number of the first keyboard button pressed is to be returned.
Detecting User Input
(Undefined variable: Primary.Product_Name_V)Language User's Guide, version
17.x
Page 289