Dmc-2x00 event triggers – Galil DMC-2X00 User Manual
Page 139

DMC-2x00 Event Triggers
Command Function
AM A B C D E FG H or S
Halts program execution until motion is complete on 
the specified axes or motion sequence(s). AM with no 
parameter tests for motion complete on all axes. This 
command is useful for separating motion sequences in 
a program. 
AD A or B or C or D or E or F or G or H 
 
Halts program execution until position command has 
reached the specified relative distance from the start of 
the move. Only one axis may be specified at a time. 
AR A or B or C or D or E or F or G or H 
 
Halts program execution until after specified distance 
from the last AR or AD command has elapsed. Only 
one axis may be specified at a time. 
AP A or B or C or D or E or F or G or H
Halts program execution until after absolute position 
occurs. Only one axis may be specified at a time. 
MF A or B or C or D or E or F or G or H 
 
Halt program execution until after forward motion 
reached absolute position. Only one axis may be 
specified. If position is already past the point, then 
MF will trip immediately. Will function on geared 
axis or aux. inputs. 
MR A or B or C or D or E or F or G or H 
 
Halt program execution until after reverse motion 
reached absolute position. Only one axis may be 
specified. If position is already past the point, then 
MR will trip immediately. Will function on geared 
axis or aux. inputs. 
MC A or B or C or D or E or F or G or H 
 
Halt program execution until after the motion profile 
has been completed and the encoder has entered or 
passed the specified position. TW A,B,C,D sets 
timeout to declare an error if not in position. If 
timeout occurs, then the trip point will clear and the 
stop code will be set to 99. An application program 
will jump to label #MCTIME. 
AI +/- n
Halts program execution until after specified input is 
at specified logic level. n specifies input line. 
Positive is high logic level, negative is low level. n=1 
through 8 for DMC-2x10, 2x20, 2x30, 2x40. n=1 
through 16 for DMC-2x50, 2x60, 2x70, 2x80. n=17 
through 80 for DMC-2xx0. 
AS A B C D E F G H
Halts program execution until specified axis has 
reached its slew speed. 
AT +/-n
Halts program execution until n msec from reference 
time. AT 0 sets reference. AT n waits n msec from 
reference. AT -n waits n msec from reference and sets 
new reference after elapsed time. 
AV n
Halts program execution until specified distance along 
a coordinated path has occurred. 
WT n
Halts program execution until specified time in msec 
has elapsed. 
DMC-2X00
Chapter 7 Application Programming
y 129
