64
•
GN
DMC-1000/1500 Command Reference
DMC-1000
DMC-1500
GN
FUNCTION:
Gain
DESCRIPTION:
The GN command sets the gain of the control loop or returns the previously set value. It fits
in the z-transform control equation as follows:
D(z) = GN(z-ZR)/z
ARGUMENTS:
GN x,y,z,w GNX=x GN a,b,c,d,e,f,g,h
where
x,y,z,w are unsigned integers in the range 0 to 2047 decimal.
"?" returns the value of the gain for the specified axis.
USAGE: DEFAULTS:
While Moving
Yes
Default Value
70
In a Program
Yes
Default Format
4
Command Line
Yes
Can be Interrogated
Yes
Used as an Operand
Yes
OPERAND USAGE:
_GNx contains the value of the gain for the specified axis, ‘x’.
RELATED COMMANDS:
ZR Zero
KI Integrator
KP Proportional
KD Derivative
EXAMPLES:
GN 12,14,15,20
Set X-axis gain to 12 Set Y-axis gain to 14 Set Z-axis gain to 15 Set W-
axis gain to 20
GN 6
Set X-axis gain to 6 Leave other gains unchanged
GN ,8
Set Y-axis gain to 8 Leave other gains unchanged
GN ?,?,?,?
Returns X,Y,Z,W gains
0006,0008,0015,0020
GN ?
Returns X gain
0006
GN ,?
Returns Y gain
0008