EDH0162En1040 – 06/99
3.114
MM4005
SH — Set home preset position
Usage
IMM
PGM
MIP
Syntax
xxSHnn
Parameters
Description
xx
[int]
— Axis number.
nn
[float]
— Home position preset.
Range
xx
—
1
to
4.
nn
— Any value within the software travel limits.
Units
xx
— None.
nn
— Defined motion units.
Defaults
xx
Missing: Error B.
Out of range: Error B.
Floating point: Error A.
nn
Missing: Error C.
Out of range: Error C.
Description
This command defines the value that is loaded in the position counter
when home is found. The factory default for this value for all motion
devices is 0. This means that, unless a new value is defined with SH or in
the front panel SETUP mode, when a home search is initiated using the OR
command or from the front panel, the home position will be set to 0.
NOTE
The change takes effect only when a subsequent home search routine is
performed.
NOTE
When SH is set to a non-zero value and a home search is performed, new
values are calculated for the software limits to correct for the zero origin
change.
Returns
None.
Errors
A
—
Unknown message code.
B
—
Incorrect axis number.
C
—
Parameter out of limits.
Rel. Commands
DH
—
Define home.
OR
—
Search for home.
PW
—
Save parameters.
Example
3TP |
Read position on axis #3.
3TP0.000
|
Controller returns position 0.000 for axis #3.
3SH11
|
Set home position for axis #3 to 11 displacement units.
3OR |
Perform a home search on axis #3.
3TP |
Read position on axis #3.
3TP11.000
|
Controller returns position 11.000 for axis #3 at home.
Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com