Instruction Manual
Language Reference • Reference 283
Publication 1398-PM601A-EN-P — October 2000
WORDS
Xn ON/OFF/CONT
Xkey Routine, Enable Program Structure
Purpose Enable or disable an Xkey.
Syntax Xn ON/OFF/CONT
n Specify the number of the Xkey routine: n = 1, 2, 3, 4.
ON After Xn ON is executed, one Xkey press will be recognized and
then the Xkey will be disabled. Another Xn ON statement must
be executed to re-enable the Xkey.
OFF Disable the Xkey routine.
CONT CONT allows a Xkey to be recognized continuously, without
waiting for the program to re-enable the Xkey.
Remarks The XNPGM = number statement can be used to simulate pressing an Xkey from
within a program.
See Also Xn, XNPGM
Example
X2 ON
X3 CONT
X2 OFF
XEND
Xkey Routine End Program Structure
Purpose Mark the end of an Xkey routine within a program. An Xkey routine must end with an
XEND statement.
Syntax XEND
Remarks The XNPGM = number statement can be used to simulate pressing an Xkey from
within a program.
See Also Xn, XNPGM, Operator Terminal
Example