3.121
EDH0162En1040 – 06/99
MM4005
SR — Set right travel limit
Usage
IMM
PGM
MIP
Syntax
xxSRnn
Parameters
Description
xx
[int]
—
Axis number.
nn
[float]
—
Right (postive) software travel limit.
Range
xx
—
1
to
4.
nn
—
Max (home value set by SH or current position or destina-
tion (if in motion))
to
2147483647 x encoder resolution
.
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 for the positive (right) software travel limit. It
should be used to restrict travel in the positive direction to protect the motion
device or its load. For instance, if traveling full range, a stage could push its load
into an obstacle. To prevent this, the user can reduce the allowed travel by chang-
ing the software travel limit.
Since a motion device must be allowed to find its home position, the home switch
and/or sensor must be inside the travel limits. This means that both positive and
negative travel limits cannot be set on the same side of the home position. A more
obvious restriction is that the negative limit cannot be greater than the positive
limit. If any of these restrictions is not met, the controller will return error C.
NOTE
If the command is issued for an axis in motion, the new limit should not be set
inside the current travel. If the motion in progress could reach the new desired
software limit, the command is not accepted and the controller returns error D.
NOTE
Be careful when using this command. The controller does not know the real
hardware limits of the motion device or application. Always set the software lim-
its inside the hardware limits (limit switches). In normal operation, a motion
device should never hit a limit switch.
If you want to change the software limits, note that the values selected in remote
mode can’t exceed the values selected in local mode (already available as a stan-
dard parameter of the stage).
If you want to increase these limits:
❶
Do care about the hardware limits.
❷
Use the local mode, from the front panel.
Returns
If the sign
“?”
takes place of the
nn
value, the controller returns the value of the
positive (right) software travel limit for #
xx
axis.
Errors
A
—
Unknown message code.
B
—
Incorrect axis number.
C
—
Parameter out of limits.
D
—
Unauthorized execution.
Rel. Commands
OR
—
Search for home.
SL
—
Set left travel limit.
Example
1SR41.4
|
Set positive software travel limit of axis #1 to 41.4 units.
1SR?
|
Reading of the positive software travel limit of axis #1.
1SR41.4
|
The controller returns the value of the positive software travel limit.
NOTE
Always, the stage position must be inside the interval set by the software limits
Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com