EDH0162En1040 – 06/99
3.160
MM4005
WK — Wait for key
Usage
IMM
PGM
MIP
Syntax
WKaa
Parameters
Description
aa
[str]
— String to be displayed, in ASCII format.
Range
aa
—
1
to
14
characters.
Units
aa
— None.
Defaults
aa
Missing: Null string; clears the line.
Out of range: Only first 14 characters are used.
Description
This command stops the execution of a program. When it is executed, the
specified message
aa
is displayed in the middle of line 5 and the menus on
line 6 offer two choices: QUIT and EXEC. If the function key corresponding
to QUIT is pressed, program execution is terminated. If EXEC is pressed,
the program continues execution.
Returns
None.
Errors
J
—
Command authorized only in programming mode.
Rel. Commands
WA
—
Wait.
WP
—
Wait for position.
WS
—
Wait for motion stop.
WT
—
Wait.
Example
WKContinue ?
|
top program and display on line #5 the string “Continue ?”
.
3PA1.2 |
M
ove axis #3 to position 1.2 units
.
In this EXAMPLE, line five of the front panel will display “ Continue ? ”
until QUIT or EXEC is pressed.
Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com