Galil DMC-1400 Tablet Accessory User Manual


 
DMC-1400 Series Command Reference MF 139
MF
FUNCTION: Forward Motion to Position
DESCRIPTION:
The MF command is a trippoint used to control the timing of events. This command will
hold up the execution of the following command until the specified motor moves
forward and crosses the position specified. The units of the command are in quadrature
counts. The MF command can also be used when the encoder is the master and not
under servo control.
ARGUMENTS: MF n where
n is a signed integer in the range -2147483648 to 2147483647 decimal
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:
AD Trippoint for after Relative Distance
MR Reverse motion to position
AP After Absolute Position
EXAMPLES:
#TEST Program B
DP0 Define zero
JG 1000 Jog mode (speed of 1000 counts/sec)
BG Begin move
MF 2000 After passing the position 2000
V1=_TP Assign V1 position
MG "Position is", V1= ST Print Message Stop
EN End of Program
HINT: The accuracy of the MF command is the number of counts that occur in 2 msec. Multiply the
speed by 2 msec to obtain the maximum error. MF tests for absolute position. The MF command can
also be used when the specified motor is driven independently by an external device.