Galil DMC-1400 Manuel D’Utilisation
DMC-1400 Series Command Reference AD
● 17
AD
FUNCTION: After Distance
DESCRIPTION:
The After Distance (AD) command is a trippoint used to control the timing of events. This
command will hold up the execution of the following command until one of the following
conditions have been met:
conditions have been met:
1. The commanded motor position crosses the specified relative distance from the start
of the move.
2. The motion profiling on the axis is complete.
3. The commanded motion is in the direction which moves away from the specified
position.
The units of the command are quadrature counts. The motion profiler must be on or the
trippoint will automatically be satisfied.
Note: AD will be affected when the motion smoothing time constant, IT, is not 1. See IT
command for further information.
ARGUMENTS: ADn
where
n is an unsigned integer in the range 0 to 2147483647, with no commas.
USAGE:
While Moving
Yes
Default Value
-
In a Program
Yes
Default Format
-
Command Line
Yes
Can be Interrogated
No
Used as an Operand
No
Controller Usage
ALL
RELATED COMMANDS:
After distance for repetitive triggering
EXAMPLES:
#A;DP0,0,0,0 Begin
Program
PR 10000
Specify positions
BG Begin
motion
AD 5000
After motor travels 5000 units
MG "Halfway" ;TP Send
message
EN End
Program
Hint: The AD command is accurate to the number of counts that occur in 2 servo samples (2 msec for
TM 1000). Multiply your speed by 2 msec to obtain the maximum position error in counts. Remember
AD measures incremental distance from start of move on one axis.
TM 1000). Multiply your speed by 2 msec to obtain the maximum position error in counts. Remember
AD measures incremental distance from start of move on one axis.