![Galil Motion Control DMC-1000 Скачать руководство пользователя страница 40](http://html1.mh-extra.com/html/galil-motion-control/dmc-1000/dmc-1000_user-manual_3251369040.webp)
DMC-1000
Chapter 2 Getting Started
•
21
Instruction Interpretation
KP ?
Return gain of X axis.
KP ,,?
Return gain of Z axis.
KP ?,?,?,?
Return gains of all axes.
Many other parameters such as KI, KD, FA, can also be interrogated. The command reference denotes
all commands which can be interrogated.
Example 10 - Operation in the Buffer Mode
The instructions may be buffered before execution as shown below.
Instruction Interpretation
PR 600000
Distance
SP 10000
Speed
WT 10000
Wait 10000 milliseconds before reading the next instruction
BG X
Start the motion
Example 11 - Motion Programs
Motion programs may be edited and stored in the controllers on-board memory.
The instruction
ED Edit
mode
moves the operation to the editor mode where the program may be written and edited. The editor
provides the line number. For example, in response to the first ED command, the first line is zero.
LINE # INSTRUCTION
INTERPRETATION
000 #A
Define
label
001 PR
700
Distance
002 SP
2000
Speed
003
BGX
Start X motion
004 EN
End
program
To exit the editor mode, input <cntrl>Q. The program may be executed with the command.
XQ #A
Start the program running
Example 12 - Motion Programs with Loops
Motion programs may include conditional jumps as shown below.
Instruction Interpretation
#A Label
DP 0
Define current position as zero
V1=1000
Set initial value of V1
#Loop
Label for loop
PA V1
Move X motor V1 counts
BG X
Start X motion
AM X
After X motion is complete
Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com