Galil Motion Control cadman  Page 18
 
 
 
 
 
Association 
 
Line Segment 
 
The command FIRST is placed next to the endpoint of the line segment where motion is 
to begin. The first motion CAD-to-DMC performs will be from this endpoint to the 
opposite endpoint of the segment. This provides CAD-to-DMC with both initial 
position and initial direction information.  
 
NOTE: This command is required in every CAD drawing you wish to convert.   
 
LAST 
PURPOSE: 
 
LAST indicates where the motion path ends in the drawing. 
USAGE: 
 
In a Macro 
 
No 
 
Association 
 
Line Segment 
 
The command LAST is placed next to the endpoint of the line segment where motion is 
to end. The motion sequence will stop at the endpoint associated with LAST.  
 
NOTE: This command is required in every CAD drawing you wish to convert. 
 
REM 
PURPOSE: 
A line of text preceded by REM is considered a comment and is ignored by CAD-to-
DMC. REM can be used to document drawings and provide other descriptive 
information for the user. 
USAGE: 
REM <comments> 
In a Macro 
 
Yes 
 
Association 
 
None 
 
Note that REM must be followed by a space to work properly. A REM command only 
applies to the line of text in which it appears; if several lines of text appear in a drawing, 
each one must be preceded by REM. REM statements are allowed within the body of a 
macro as well as throughout the drawing.  
EXAMPLES: 
 
REM PROGRAM FOR TRIMMING FLASH 
 
REM Author: John Doe, Date: 12/31/99 
RESET_ORDER 
PURPOSE: 
RESET_ORDER is used to reset the Order Number count back to its initial value of 0. 
This is useful when creating a motion path containing repeating patterns. By invoking