KP?
Return gain of A axis
KP ,,?
Return gain of C 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 A
Start the motion
Example 11 - Using the On-Board Editor
Motion programs may be edited and stored in the controller’s on-board memory. When the command, ED is given
from the Galil DOS terminal (such as DMCTERM), the controllers editor will be started.
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
BGA
Start A 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
If the ED command is issued from the Galil Windows terminal software (such as SmartTERM), the software will
open a Windows based editor. From this editor a program can be entered, edited, downloaded and uploaded to the
controller.
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 A motor V1 counts
BG A
Start A motion
AM A
After A motion is complete
DMC-40x0 User Manual
Chapter 2 Getting Started
•
28
Содержание DMC-4040
Страница 17: ...DMC 4080 Layout Figure 2 2 Outline of the of the DMC 4080 DMC 40x0 User Manual Chapter 2 Getting Started 8...
Страница 19: ...DMC 4040 Dimensions Figure 2 5 Dimensions of DMC 4040 DMC 40x0 User Manual Chapter 2 Getting Started 10...
Страница 20: ...DMC 4080 Dimensions Figure 2 6 Dimensions of DMC 4080 Chapter 2 Getting Started 11 DMC 40x0 User Manual...
Страница 54: ...Chapter 3 Connecting Hardware 45 DMC 40x0 User Manual...
Страница 55: ...DMC 40x0 User Manual Chapter 3 Connecting Hardware 46...
Страница 56: ...Chapter 3 Connecting Hardware 47 DMC 40x0 User Manual...
Страница 73: ...Figure 4 1 GalilTools DMC 40x0 User Manual Chapter 4 Software Tools and Communication 64...
Страница 185: ...THIS PAGE LEFT BLANK INTENTIONALLY DMC 40x0 User Manual Chapter 7 Application Programming 176...
Страница 205: ...THIS PAGE LEFT BLANK INTENTIONALLY DMC 40x0 User Manual Chapter 10 Theory of Operation 196...
Страница 220: ...Step 2 Remove ICM For DMC 4040 Proceed to Step 3 Configure Circuit Appendices 211 DMC 40x0 User Manual...
Страница 222: ...Step 2 Remove ICM s Appendices 213 DMC 40x0 User Manual...
Страница 232: ...DMC 4080 Steps 4 and 5 Step 4 Replace ICM s Appendices 223 DMC 40x0 User Manual...