EDH0162En1040 – 06/99
3.122
MM4005
SS — Set master-slave mode
Usage
IMM
PGM
MIP
Syntax
xxSSnp
or
xxSS?
Parameters
Description
xx
[int]
— Axis number to define.
n
[int]
— Axis number of the master axis.
p
[int]
— Following mode: theoretical/real position.
?
— Read number of the master axis that this axis slaved to.
Range
xx
—
1
to
4.
n
—
1
to
4.
p
—
0
or
1.
Units
xx
— None.
n
— None.
p
— None.
Defaults
xx
Missing: Error B.
Out of range: Error B.
Floating point: Error A.
n
Missing: 0 (defined as master).
Out of range: Error C.
p
Missing: 0.
Out of range: Error C.
Description
This command sets the master-slave mode. This defines
nn
numbered of
the master axis that
xx
numbered axis belongs to. If n is zero or default, the
xx
axis is defined as master.
If
p
is zero or default, the
xx
axis must follow the theoretical position of its
master axis. If
p
= 1, it follows the real position of its master.
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.
NOTE
The slave axis motor power may be turned on (MO command) or turned
off (MF command) only if p = 1.
Returns
If the sign
“?”
takes place of the
nn
value, this command reportes the number
of the master axis that
xx
numbered axis slaved to (if 0: the axis is master).
Errors
A
—
Unknown message code.
B
—
Incorrect axis number.
C
—
Parameter out of limits.
D
—
Unauthorized execution.
Rel. Commands
GR
—
Set master-slave reduction ratio.
FF
—
Set maximum master-slave following error.
Example
2SS1
|
Set axis #2 to be slave of axis #1.
… |
… |
… |
2SS?
|
Read master axis of axis #2.
2SS1
|
Controller tells the master of this axis.
Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com