EDH0162En1040 – 06/99
3.156
MM4005
WF — Wait for function key
Usage
IMM
PGM
MIP
Syntax
xxWF
Parameters
Description
xx
[int]
— Variable number.
Range
xx
—
1
to
100
(integers) and
101
to
120
(floats).
Units
xx
— None.
Defaults
xx
Missing: Error O.
Out of range: Error O.
Floating point: Error A.
Description
This command interrupts the execution of a program and waits for user
input. When the command is executed, the controller displays the function
key labels assigned with FB and waits for a valid function key to be
pressed. A valid function key is one that has been labeled previously. When
a valid function key is pressed, the controller beeps shortly to acknowl-
edge the entry, places the ASCII code of the key in the specified
xx
variable
and continues program execution.
Key
ASCII
Variable
pressed
code
value
1
st
(Left)
A
65
2
nd
B
66
3
rd
C
67
4
th
(Right)
D
68
Returns
None.
Errors
A
—
Unknown message code.
J
—
Command authorized only in programming mode.
O
—
Variable number out of range.
Rel. Commands
FB
—
Label function key.
FC
—
Clear function key line.
FD
—
Display function keys.
Example
3XX |
Clear program #3 from memory, if any.
3EP |
Activate program mode and enter following commands as program
#3.
4FBSTOP |
Define custom label for function key #4 as STOP.
… |
… |
… |
7WF
|
Display the custom function key label(s) (STOP), wait for a valid
function key to be pressed and put its ASCII code in variable #7.
FC |
Clear function key display line.
… |
… |
… |
Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com
Содержание MM4005
Страница 360: ...Section 7 Servo Tuning Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com ...
Страница 368: ...Section 8 Appendices Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com ...
Страница 405: ...EDH0162En1040 06 99 8 36 Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com ...
Страница 406: ...Section 9 Index Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com ...