QG set gear constant
IMM PGM MIP
USAGE ♦ ♦
Units xx - none
SYNTAX xxQGnn or xxQG?
PARAMETERS
Description xx [ int ] - axis number
nn [float] - gear constant
Range xx - 1 to MAX AXES
nn - 0 to 2e9
or ? to read present setting
nn - evolution / unit of measure
Defaults xx missing: error 37, AXIS NUMBER MISSING
out of range: error 9, AXIS NUMBER OUT OF RANGE
nn missing: error 38, COMMAND PARAMETER MISSING
out of range: error xx2, PARAMETER OUT OF RANGE
DESCRIPTION This command is used to set the gear constant for a Newport Unidrive
compatible programmable driver for DC servo axis. This command should be
used in conjunction with QT (tachometer gain) command.
The gear constant is defined as the number of revolutions the motor has to make
for the motion device to move one displacement.
This command must to be followed by the QD update driver command to take
affect.
RETURNS If the “?” sign takes the place of nn value, this command reports the current
setting
REL. COMMANDS SN - set displacement units
QD - update driver
QS - set microstep factor
QI - set motor maximum current
QV - et average motor voltage
EXAMPLE 2QG? | read gear constant setting of axis # 2
0.3937 | controller returns a value of 0.3937 rev / unit for axis #2
2QG 0.25 | set gear constant to 0.25 rev / unit for axis #2
2QT 7.0 | set tachometer gain to 7 V/Krpm for axis #2
2QD | update programmable driver with latest settings for axis #2
3-114 Section 3 – Remote Mode