
TMCM-6110 TMCL Firmware V1.31 Manual (Rev. 1.09 / 2015-FEB-24)
83
www.trinamic.com
A
XIS PARAMETERS RELATED TO REFERENCE SEARCH
Number Axis Parameter Description
9
Reference switch
status
The logical state of the home switch.
10
Right limit
switch status
The logical state of the right limit switch.
11
Left limit switch
status
The logical state of the left limit switch (in three switch mode)
12
Right limit
switch disable
If set, deactivates the stop function of the right switch
(not applicable for the reference search algorithm)
13
Left limit switch
disable
If set, deactivates the stop function of the left switch
(not applicable for the reference search algorithm)
149
Soft stop flag
If cleared, the motor will stop immediately (disregarding motor limits), when
the end / stop / limit switch is hit.
193
Reference search
mode
1 search left stop switch only
2 search right stop switch, then search left stop switch
3 search right stop switch, then search left stop switch from both sides
4 search left stop switch from both sides
5 search home switch in negative direction, reverse the direction when
left stop switch reached
6 search home switch in positive direction, reverse the direction when
right stop switch reached
7 search home switch in negative direction, ignore end switches
8 search home switch in positive direction, ignore end switches
Additional functions:
-
Add 128 to a mode value for inverting the home switch polarity (can be
used with
mode 5… 8).
-
Add 64 to a mode for exchanging left and right stop switches (can be used
with mode 1… 4).
194
Reference search
speed
For the reference search this value directly specifies the search speed.
195
Reference switch
speed
Similar to parameter no. 194, the speed for the switching point calibration can
be selected.
196
Reference switch
distance
This parameter provides the distance between the end switches after executing
the RFS command (mode 2 or 3).
5.3.1
Reference Search Modes (Axis Parameter 193)
The following figures explain the actual motor movement during the different reference search modes in
more detail. A linear stage with two end points and a moving slider is taken as example.
left limit / end / stop switch
L
R
SAP 193, 0, 1
Search left stop switch, only
start
stop
: reference search speed (axis parameter 194)
: reference switch speed (axis parameter 195)
Figure 5.2: Search left stop switch, only