TP Tell
position
which returns the position of the main encoder.
The position error, which is the difference between the commanded position and the actual position
can be interrogated by the instructions
TE Tell
error
Example 4 - Absolute Position
Objective: Command motion by specifying the absolute position.
Instruction
Interpretation
DP 0
Define the current position as 0
PA 7000
Sets the desired absolute position
BG
Start motion
Example 5 - Velocity Control (Jogging)
Objective: Drive the motor at specified speeds.
Instruction
Interpretation
JG 10000
Set Jog Speed
AC 100000
Set acceleration
DC 50000
Set deceleration
BG Start
motion
after a few seconds, command:
JG -40000
New speed and Direction
TV Returns
speed
This causes velocity changes including direction reversal. The motion can be stopped with the
instruction
ST Stop
Example 6 - Operation Under Torque Limit
The magnitude of the motor command may be limited independently by the instruction TL. The
following program illustrates that effect.
Instruction
Interpretation
TL 0.2
Set output limit to 0.2 volts
JG 10000
Set speed
BG Start
motion
The motor will probably not move as the output signal is not sufficient to overcome the friction. If the
motion starts, it can be stopped easily by a touch of a finger.
Increase the torque level gradually by instructions such as
TL 1.0
Increase torque limit to 1 volt.
TL 9.98
Increase torque limit to maximum, 9.98 Volts.
The maximum level of 10 volts provides the full output torque.
DMC-14x5/6
Chapter 2 Getting Started
i
29
Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com