Galil Motion Control manc 18x 6 Page 213
DMC-18x6 Command Reference
205
TW
FUNCTION: Timeout for IN-Position (MC)
DESCRIPTION:
The TW command sets the timeout in samples (msec for TM1000) to declare an error if the MC
command is active and the motor is not at or beyond the actual position within n msec after
the completion of the motion profile. If a timeout occurs, then the MC trippoint will clear
and the stop code will be set to 99. An application program will jump to the special label
#MCTIME. The RE command should be used to return from the #MCTIME subroutine.
ARGUMENTS: TW n,n,n,n,n,n,n,n or
TWA=n where
n specifies the timeout in samples (msec for TM1000). n ranges from 0 to 32767 msec
n = -1 Disables the timeout.
n = ? Returns the timeout in samples (msec for TM1000) for the MC command for the
specified axis.
USAGE: DEFAULTS:
While Moving
Yes
Default Value
32766
In a Program
Yes
Default Format
Command Line
Yes
Controller Usage
ALL CONTROLLERS
OPERAND USAGE:
_TWn contains the timeout in samples (msec for TM1000) for the MC command for the specified
axis.
RELATED COMMANDS:
Motion Complete trippoint