TMCM-1021 TMCL
™
Firmware Manual • Firmware Version V1.42 | Document Revision V1.10 • 2018-JAN-09
7 / 109
2
First Steps with TMCL
In this chapter you can find some hints for your first steps with the TMCM-1021 and TMCL. You may skip
this chapter if you are already familiar with TMCL and the TMCL-IDE.
Things that you will need
• Your TMCM-1021 module.
• An RS485 interface connected to your PC.
• A power supply (24V DC) for your TMCM-1021 module.
• The TMCL-IDE 3.x already installed on your PC.
• A two-phase bipolar stepper motor.
2.1
Basic Setup
First of all, you will need a PC with Windows (at least Windows 7) and the TMCL-IDE 3.x installed on it. If
you do not have the TMCL-IDE installed on your PC then please download it from the TMCL-IDE product
page of Trinamic’s website (http://www.trinamic.com) and install it on your PC.
Please also ensure that your TMCM-1021 is properly connected to your power supply and that the stepper
motor is properly connected to the module. Please see the TMCM-1021 hardware manual for instructions
on how to do this.
Do not connect or disconnect a stepper motor to or from the module while the
module is powered!
Then, please start up the TMCL-IDE. After that you can connect your TMCM-1021 via RS485 and switch
on the power supply for the module (while the TMCL-IDE is running on your PC). When the module is
connected properly via RS485 then it will be recognized by the TMCL-IDE so that it can be used.
2.2
Using the TMCL Direct Mode
At first try to use some TMCL commands in direct mode. In the TMCL-IDE a tree view showing the TMCM-
1021 and all tools available for it is displayed. Click on the Direct Mode entry of the tool tree. Now, the
Direct Mode tool will pop up.
In the Direct Mode tool you can choose a TMCL command, enter the necessary parameters and execute
the command. For example, choose the command ROL (rotate left). Then choose the appropriate motor
(motor 0 if your motor is connected to the motor 0 connector). Now, enter the desired speed. Try entering
51200 (pps) as the value and then click the Execute button. The motor will now run.
Choose the MST (motor stop) command and click Execute again to stop the motor.
2.3
Changing Axis Parameters
Next you can try changing some settings (also called axis parameters) using the SAP command in direct
mode. Choose the SAP command. Then choose the parameter type and the motor number. Last, enter
the desired value and click execute to execute the command which then changes the desired parameter.
The following table points out the most important axis parameters. Please see chapter
for a complete
list of all axis parameters.
©2018 TRINAMIC Motion Control GmbH & Co. KG, Hamburg, Germany
Terms of delivery and rights to technical change reserved.
Download newest version at