Galil DMC-1800 Home Security System User Manual


 
DMC-1700/1800 Chapter 2 Getting Started • 37
Instruction Interpretation
TE Tell error - all axes
TE X Tell error - X axis only
TE Y Tell error - Y axis only
TE Z Tell error - Z axis only
TE W Tell error - W axis only
Example 6 - Absolute Position
Objective: Command motion by specifying the absolute position.
Instruction Interpretation
DP 0,2000 Define the current positions of X,Y as 0 and 2000
PA 7000,4000 Sets the desired absolute positions
BG X Start X motion
BG Y Start Y motion
After both motions are complete, the X and Y axes can be command back to zero:
PA 0,0
Move to 0,0
BG XY Start both motions
Example 7 - Velocity Control
Objective: Drive the X and Y motors at specified speeds.
Instruction Interpretation
JG 10000,-20000 Set Jog Speeds and Directions
AC 100000, 40000 Set accelerations
DC 50000,50000 Set decelerations
BG XY Start motion
after a few seconds, command:
JG -40000 New X speed and Direction
TV X Returns X speed
and then
JG ,20000 New Y speed
TV Y Returns Y speed
These cause velocity changes including direction reversal. The motion can be stopped with the instruction
ST Stop
Example 8 - Operation Under Torque Limit
The magnitude of the motor command may be limited independently by the instruction TL.
Instruction Interpretation
TL 0.2 Set output limit of X axis to 0.2 volts
JG 10000 Set X speed
BG X Start X motion