DMC-40x0 Command Reference
GD • 113
GD
FUNCTION:
Gear Distance
DESCRIPTION:
The GD command sets the distance of the master axis over which the specified slave will be
engaged, disengaged or changed to a new gear setting. The distance is entered as an absolute
value, the motion of the master may be in either direction. If the distance is set to 0, then the
gearing will engage instantly.
ARGUMENTS:
GD n,n,n,n,n,n,n,n where
n is an integer in the range 0 to 32767, the units are in encoder counts
n = 0 will result in the conventional method of instant gear change
n = ? will return the value that is set for the appropriate axis
USAGE: DEFAULTS:
While Moving
Yes
Default Value
0
In a Program
Yes
Default Format
5.0
Command Line
Yes
Controller Usage
OPERAND USAGE:
_GDn contains the distance the master axis will travel for the specified slave axis to fully engage,
disengage, or change ratios.
RELATED COMMANDS:
EXAMPLES:
#A
GA
,X
;
'Sets the X axis as the gearing master for the Y axis
GD
,5000
;
'Set distance over which gearing is engaged to 5000 counts
;
'of the master axis.
JG
5000
;
'Set the X axis jog speed to 5000 cts/sec
BG
X
;
'Begin motion on the X axis
AS
X
;
'Wait until X axis reaches the set speed of 5000 counts/sec
GR
,1
;
'Engage gearing on the Y axis with a ratio of 1:1, the
;
'distance to fully engage gearing will be 5000 counts of the
;
'master axis
WT
1000
;
'Wait 1 second
GR
,3
;
'Set the gear ratio to three. The ratio will be changed
;
'over the distance set by the GD command
WT
1000
;
'Wait 1 second
GR
,0
;
'Disengage the gearing between the Y axis slave and the
;
'master. The gearing will be disengaged over the number of
;
'counts of the master specified with the GD command above
EN
;
'End program
Gearing Phase Differential
Ratio
Axis
Summary of Contents for DMC-40x0 Series
Page 2: ......
Page 4: ......
Page 10: ...vi i Table of Contents DMC 40x0 Command Reference This Page is Left Blank Intentionally ...