TMCM-6212 TMCL
™
Firmware Manual • Firmware Version V1.11 | Document Revision V1.07 • 2019-JAN-25
122 / 140
6
Hints and Tips
This chapter gives some hints and tips on using the functionality of TMCL, for example how to use
and parameterize the built-in reference search algorithm. You will also find basic information about
StallGuard2™ and CoolStep™ in this chapter.
6.1
Reference Search
The built-in reference search features switching point calibration and support for a home switch and/or
one or two end switches. The internal operation is based on a state machine that can be started, stopped
and monitored (instruction RFS, opcode 13). The settings of the automatic stop functions corresponding to
the end switches (axis parameters 12 and 13) do not influence the reference search.
Notes:
• Until the reference switch is found for the first time, the searching speed set by axis parameter 194 is
used.
• After hitting the reference switch, the motor slowly moves until the switch is released. Finally the
switch is re-entered in the other direction, setting the reference point to the center of the two
switching points. The speed used for this calibration is defined by axis parameter 195.
Axis parameter 193 defines the reference search mode to be used. Choose one of the reference search
modes shown in table
and in the following subsections:
Reference Search Modes
Value
Description
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 positive direction, ignore
end switches
8
search home switch in negative direction, ignore
end switches
Table 20: Reference Search Modes
The drawings in the following subsections show how each reference search mode works. A linear stage
with two end points and a moving slider is used as example.
©2019 TRINAMIC Motion Control GmbH & Co. KG, Hamburg, Germany
Terms of delivery and rights to technical change reserved.
Download newest version at