User Manual

TMCM-3230 TMCL
Firmware Manual Firmware Version V1.07 | Document Revision V1.05 2017-OCT-10
86 / 103
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 nd 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 inuence the reference search.
Notes:
Until the reference switch is found for the rst 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 dened by axis parameter 195.
Axis parameter 193 denes the reference search mode to be used. Choose one of the reference search
modes shown in table 19 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 19: 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.
©2017 TRINAMIC Motion Control GmbH & Co. KG, Hamburg, Germany
Terms of delivery and rights to technical change reserved.
Download newest version at www.trinamic.com