MM4006
8
-Axis Motion Controller/Driver
D M o t i o n Program Examples
When learning a new computer language, there is no substitute for actually
writing some real programs. The motion controller's command set is a spe-
cialized language that needs to be mastered in order to be able to create
complex applications. "Fo help you familiarize yourself with MM4006 pro-
gramming structure and language, this appendix contains a few examples
that you can read and copy.
Example 1
The first example is a simple two-axes program that will generate the trian-
gle shown in Fig. 1).1.
0.0
10.5
,10 0
Start
Axis #1: 10 mm
Fig. D.
— Triangle Pattern.
Axis #2:
5 mm
Make sure there is no other program in memory with the same name (num-
ber). If you are operating the controller from a remote computer, start by
issuing the XX command for that program number. Then, enter the pro-
gramming mode by using the EP command. If you enter the program from
the front panel, ignore these two and the QP commands.
1XX
E
r
a
s
e
program #1, i f it exists.
lEP
E
n
t
e
r
programming mode and store all entries as
program #1.
1VA4
S
e
t
velocity of axis #1 to 4 mm/sec.
1PA10,1WS
M
o
v
e
axis #1 to absolute position 10 mm; wait for
axis #1 to complete motion.
2VA4
S
e
t
velocity of axis #2 to 4 mm/sec.
2PA5,2WS
M
o
v
e
axis #2 to absolute position 5 mm; wait for
axis #2 to complete motion.
2VA2
C
h
a
n
g
e
velocity of axis #2 to 2 mm/sec.
1 PA0,2PAO
M
o
v
e
axis #1 to absolute position 0 mm and axis #2
to absolute position 0 mm.
1QP
E
n
d
of program; quit programming mode.
(%)
N e w p o r t .
8
.
2
1
ED110181En1020 — 03/03
Содержание MM4006
Страница 9: ...F D110181En1020 03 03 b J e w p o r t...
Страница 10: ...Section 1 Introduction 4 4 G G 4 4 4 4 M u d Com 4k 4 66i1W406 i i r i A 0 8 y 0 9 0 0 i 0 0 40 0 4 cv Newport...
Страница 11: ...MM4006 8 Axis Motion Controller Driver evvport...
Страница 41: ...MM4006 Introduction FPI 111181Eli11120 0 1 03 1 3O tNevvport...
Страница 42: ...Section 2 Local Mode C Newport...
Страница 43: ...MM4006 8 Axis Motion Controller Driver C N e w p o r t...
Страница 96: ...Section 3 Remote Mode C klevvport...
Страница 97: ...Newport...
Страница 310: ...Section 4 Motion Control Tutorial Ilevvport...
Страница 311: ...MM4006 8 Axis Motion Controller Driver C EDI10181En 1020 03 03 2 N e V V p O r t...
Страница 313: ...MM4006 8 Axis Motion Controller Driver cv ED110181E01020 03 03 4 2 M e v v p o r t...
Страница 334: ...Section 5 Trajectory Functions Tutorial Newport...
Страница 335: ...MM4006 8 Axis Motion Controller Driver C Newport...
Страница 337: ...MM4006 8 Axis Motion Controller Driver EDH0181En1020 03 03 5 2 N e w p o r t...
Страница 346: ...Section 6 Feature Descriptions Tutorial Newport...
Страница 347: ...MM4006 8 Axis Motion Controller Driver C Nevvport...
Страница 349: ...MM4006 8 Axis Motion Controller Driver ED11018lEn I 020 03 03 6 2 N e v v p O r t...
Страница 359: ...MM4006 F e a t u r e Descriptions Tutorial cv EDI10181En1020 03 03 6 12 N e w p o r t...
Страница 360: ...Section 7 Servo Tuning rano at 1 2 2 p EOF 110 1 0 0 0 0 0 ill fpL4 cv Newport...
Страница 361: ...MM4006 8 Axis Motion Controller Driver C Nevvport...
Страница 363: ...MM4006 8 Axis Motion Controller Driver EDH0181En 1020 03 03 7 2...
Страница 368: ...Section 8 Appendices INevvport...
Страница 369: ...MM4006 8 Axis Motion Controller Driver CkJ Newport...
Страница 371: ...MM4006 8 Axis Motion Controller Driver EDI10181EnI020 03 03 8 2 N e v v p o r t...
Страница 410: ...A7 h7s z c 7...