3.117
EDH0162En1040 – 06/99
MM4005
SN — Set axis displacement units
Usage
IMM
PGM
MIP
Syntax
xxSNname
or
xxSN?
Parameters
Description
xx
[int]
— Axis number.
name
— Name of displacement unit to set.
?
— Read the actual displacement unit.
Range
xx
—
1
to
4.
Units
xx
— None.
Defaults
xx
Missing: Error B.
Out of range: Error B.
Floating point: Error A.
Description
This command set a new unit to an axis. All controller concerning parame-
ters will be recalculed to adapt for the new unit.
The standard names of units are following:
• Translation groupe: mm, µm, In., mIn, µIn and Inc.
• Rotation groupe: Dg., Gr., Rad, mRd, µRd and Inc.
Returns
If the sign
“?”
takes place of name, this command reportes the name of the
actual unit used in the controller.
Errors
A
—
Unknown message code.
B
—
Incorrect axis number.
c
—
Unit not translational or incorrect.
d
—
Unit not rotationnal or incorrect.
Rel. Commands
TN
—
Read displacement units.
Example
2SNum
|
Set unit of axis #2 to µm.
2SN?
|
Read unit of axis #2.
2SNum
|
Controller returns axis #2 unit.
2TN
|
Read unit of axis #2.
2TNum
|
Controller returns axis #2 unit.
Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com