EDH0162En1040 – 06/99
3.60
MM4005
GR — Set master-slave reduction ratio
Usage
IMM
PGM
MIP
Syntax
xxGRnn
or
xxGR?
Parameters
Description
xx
[int]
— Axis number.
nn
[float]
— New value of maximum allowed master-slave following
error.
?
— Read the actual maximum allowed master-slave follow-
ing error.
Range
xx
—
1
to
4.
nn
—
0.0001
to
10000.
Units
xx
— None.
nn
— None.
Defaults
xx
Missing: Error B.
Out of range: Error B.
Floating point: Error A.
nn
Missing: 1.0.
Out of range: Error C.
Description
This command sets the master-slave reduction ratio for a slave axis. The
displacement of the slave axis is the one of the master axis multipled by
this coefficient.
NOTE
Use the GR command carefully. The slave axis will also have its speed
and acceleration in the same ratio than the position.
Be careful that the ratio used for the slave axis doesn’t cause overflow of
this axis parameters (speed, acceleration), especially with ratios greater
than 1.
NOTE
If the CD command is used in conjunction with the SS command and GR
command, the slave axis cycle value must be equal to the master axis
cycle value multiplied by the master-slave reduction ratio.
Returns
If the sign
“?”
takes place of the
nn
value, this command reportes the actu-
al value of the master-slave reduction ratio.
Errors
A
—
Unknown message code.
B
—
Incorrect axis number.
C
—
Parameter out of limits.
Rel. Commands
SS
—
Set master-slave mode.
Example
2GR100
|
Set master-slave ratio for axis #2 to 100.
… |
… |
… |
2GR?
|
Read master-slave reduction of axis #2.
2GR100
|
Controller tells the value of this parameter.
Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com