Galil Motion Control optcom Page 208
Optima DMC-1xxx and DMC-18x2 Command Reference
TW
i
197
TW
FUNCTION: Timeout for IN-Position (MC)
DESCRIPTION:
The TW command sets the timeout in msec 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
stopcode 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 msec. n ranges from 0 to 32767 msec
n = -1 Disables the timeout.
n = ? Returns the timeout in msec 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 msec for the MC command for the specified axis.
RELATED COMMANDS:
"
MC
"
Motion Complete trippoint