Galil Motion Control cadman Page 14
<command>
END_MACRO
If LAST_MACRO is present in a drawing, it will automatically execute after all other
motion commands and macros have executed. Like FIRST_MACRO,
LAST_MACRO requires no user name.
LINETYPE
PURPOSE:
LINETYPE can be used in place of a user defined macro name to associate a macro
with a particular linetype. For example, you could create a macro to increase cutting
speed whenever a dashed line is encountered along the motion path. LINETYPE can
be used with either MOVING_MACRO or STOPPING_MACRO.
USAGE:
MOVING_MACRO (or STOPPING_MACRO) LINETYPE
--------------------
<command>
<command>
..........
<command>
END_MACRO
LINETYPE is substituted for the user-defined macro name. A line element of the
linetype you would like to associate with the macro must be included directly below the
macro declaration. If this linetype is missing, the macro will be ignored by CAD-to-
DMC. When declared correctly, the macro will execute whenever the associated
linetype is encountered during motion.
MOVING_MACRO
PURPOSE:
A MOVING_MACRO is used to perform operations during a motion profile. The
command sequence is not executed until the appropriate location along the motion path
has been reached.
USAGE:
MOVING_MACRO <name>
<command>
<command>