MM4006
Key
pressed
ASCII
code
Variable
value
None
None
0
E l l
0
48
INN
1
49
E l l
2
50
M E
3
51
11111
4
52
5
53
6
54
7
55
8 8
56
O
9
57
45
46
IS'
M E (Left)
A
65
2nd
N M
B
66
3rd
M
E
C
67
4th
(Right)
D
68
YK R e a d key to variable
Usage I N IMM
■
PGM
I
IM113
Syntax x x Y K
Parameters
Description x x [ i n t ] V a r i a b l e number.
Range x x
1
to 100 (integers) and 101 to 120 (floats).
Units x x
—
None.
Defaults x x M i s s i n g : E r r o r 0.
Out of range: E r r o r 0.
Floating point: E r r o r A.
Description T h i s command reads the front panel keys and if one is pressed, it places its
ASCII code in variable xx. If no key is pressed at the time of testing, the
variable is set to zero. The following table lists all possible values returned.
Returns N o n e .
Errors
A — U n k n o w n message code.
0 — Va r i a b l e number out of range.
Rel. Commands Y W
— W a i t and read key.
Example
5 Y S O I I n i t i a l i z e variable #5 to 0.
5WL1 I W h i l e variable #5 is less than 1, repeat next commands.
4YK I
R e a d keys and place code variable #4.
4YE49, 1PR-0.1 I I f key " I " is pressed, move axis #1 -0.1 units incrementally.
4YE51, 1PRO.1 I I f key "3" is pressed, move axis #1 0.1 units incrementally.
4YE48, 5YSI I I f key "0" is pressed, set variable #5 to 1 to end loop.
WE I E n d while loop.
C%)
EDH0181En1020 — 03/03
3.196
M
e
v
v
p
O
r
t
.
Summary of Contents for MM4006
Page 9: ...F D110181En1020 03 03 b J e w p o r t...
Page 11: ...MM4006 8 Axis Motion Controller Driver evvport...
Page 41: ...MM4006 Introduction FPI 111181Eli11120 0 1 03 1 3O tNevvport...
Page 42: ...Section 2 Local Mode C Newport...
Page 43: ...MM4006 8 Axis Motion Controller Driver C N e w p o r t...
Page 96: ...Section 3 Remote Mode C klevvport...
Page 97: ...Newport...
Page 310: ...Section 4 Motion Control Tutorial Ilevvport...
Page 311: ...MM4006 8 Axis Motion Controller Driver C EDI10181En 1020 03 03 2 N e V V p O r t...
Page 313: ...MM4006 8 Axis Motion Controller Driver cv ED110181E01020 03 03 4 2 M e v v p o r t...
Page 334: ...Section 5 Trajectory Functions Tutorial Newport...
Page 335: ...MM4006 8 Axis Motion Controller Driver C Newport...
Page 337: ...MM4006 8 Axis Motion Controller Driver EDH0181En1020 03 03 5 2 N e w p o r t...
Page 346: ...Section 6 Feature Descriptions Tutorial Newport...
Page 347: ...MM4006 8 Axis Motion Controller Driver C Nevvport...
Page 349: ...MM4006 8 Axis Motion Controller Driver ED11018lEn I 020 03 03 6 2 N e v v p O r t...
Page 359: ...MM4006 F e a t u r e Descriptions Tutorial cv EDI10181En1020 03 03 6 12 N e w p o r t...
Page 360: ...Section 7 Servo Tuning rano at 1 2 2 p EOF 110 1 0 0 0 0 0 ill fpL4 cv Newport...
Page 361: ...MM4006 8 Axis Motion Controller Driver C Nevvport...
Page 363: ...MM4006 8 Axis Motion Controller Driver EDH0181En 1020 03 03 7 2...
Page 368: ...Section 8 Appendices INevvport...
Page 369: ...MM4006 8 Axis Motion Controller Driver CkJ Newport...
Page 371: ...MM4006 8 Axis Motion Controller Driver EDI10181EnI020 03 03 8 2 N e v v p o r t...
Page 410: ...A7 h7s z c 7...