Xn on/off/cont, Xend, X n on/off/cont – Rockwell Automation 1398-PDM-xxx IQ Master Version 3.2.4 for IA-2000 and IQ-5000 Positioning Drive Modules, IQ-55 User Manual
Page 305
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