114 ● GM DMC-40x0 Command Reference
GM
FUNCTION: Gantry mode
DESCRIPTION:
The GM command specifies the axes in which the gearing function is performed in the Gantry
mode. In this mode, the gearing will not be stopped by the ST command or by limit switches.
Only GR0 will stop the gearing in this mode.
ARGUMENTS: GM n,n,n,n,n,n,n,n or GMA=n where
n = 0 Disables gantry mode function
n = 1 Enables the gantry mode
n = ? Returns the state of gantry mode for the specified axis: 0 gantry mode disabled, 1 gantry
mode enabled
USAGE: DEFAULTS:
While Moving Yes Default Value 0
In a Program Yes Default Format 1.0
Command Line Yes
Controller Usage
ALL CONTROLLERS
OPERAND USAGE:
_GMn contains the state of gantry mode for the specified axis: 0 gantry mode disabled, 1 gantry
mode enabled
RELATED COMMANDS:
GR Gear Ratio
GA Gear Axes
EXAMPLES:
GM 1,1,1,1 Enable GM on all axes
GM 0 Disable GM on A-axis, other axes remain unchanged
GM ,,1,1 Enable GM on C-axis and D-axis, other axes remain unchanged
GM 1,0,1,0 Enable GM on A and C-axis, disable GM on B and D axis
Hint: The GM command is useful for driving heavy load on both sides (Gantry Style).