Page 1
Firmware Manual Firmware Version V1.11 | Document Revision V1.10 • 2019-JAN-25 The TMCM-3314 is a three axes controller/driver module for 2-phase bipolar stepper motors with separate differential encoder and separate home and stop switch inputs for each axis. Dynamic current control, and quiet, smooth and e cient operation are combined with StealthChop™, Dc-...
Firmware Manual • Firmware Version V1.11 | Document Revision V1.10 • 2019-JAN-25 1 Features The TMCM-3314 is a triple axis controller/driver module for 2-phase bipolar stepper motors with state of the art feature set. It is highly integrated, offers a convenient handling and can be used in many decentralized applications.
Firmware Manual • Firmware Version V1.11 | Document Revision V1.10 • 2019-JAN-25 2 First Steps with TMCL In this chapter you can nd some hints for your rst steps with the TMCM-3314 and TMCL. You may skip this chapter if you are already familiar with TMCL and the TMCL-IDE.
That is, a host computer (e.g. PC/PLC) acting as the interface bus master will send a com- mand to the TMCM-3314. The TMCL interpreter on the module will then interpret this command, do the initialization of the motion controller, read inputs and write outputs or whatever is necessary according to the speci ed command.
This can save some code, thus making a TMCL program shorter, faster and easier to understand. Please note that these commands are not available on TMCM-3314 modules with rmware versions before 1.11. So please make sure that at least rmware version 1.11 is installed before using them.
3.6.6 GAP (Get Axis Parameter) Most motion / driver related parameters of the TMCM-3314 can be adjusted using e.g. the SAP command. With the GAP parameter they can be read out. In standalone mode the requested value is also transferred to the accumulator register for further processing purposes (such as conditional jumps).
The EI command enables an interrupt. It needs the interrupt number as parameter. Interrupt number 255 globally enables interrupt processing. This command is mainly intended for use in standalone mode. Please see table for a list of interrupts that can be used on the TMCM-3314 module. Related commands: DI, VECT, RETI.
The DI command disables an interrupt. It needs the interrupt number as parameter. Interrupt number 255 globally disables interrupt processing. This command is mainly intended for use in standalone mode. Please see table for a list of interrupts that can be used on the TMCM-3314 module. Related commands: EI, VECT, RETI.
Interrupt vectors can also be re-de ned. This command is intended for use in standalone mode only. Please see table for a list of interrupts that can be used on the TMCM-3314 module. Related commands: EI, DI, RETI.
3.6.56 Customer speci c Command Extensions (UF0. . . UF7 – User Functions) These commands are used for customer speci c extensions of TMCL. They will be implemented in C by Trinamic. Please contact the sales department of Trinamic Motion Control GmbH & Co KG if you need a customized TMCL rmware.
Firmware Manual • Firmware Version V1.11 | Document Revision V1.10 • 2019-JAN-25 4 Axis Parameters Most motor controller features of the TMCM-3314 module are controlled by axis parameters. Axis parameters can be modi ed or read using SAP, GAP and AAP commands. This chapter describes all axis parameters that can be used on the TMCM-3314 module.
• Some con gurations of the interface (for example baud rates that are not supported by the PC) may leed to the fact that the module cannot be reached any more. In such a case please see the TMCM-3314 Hardware Manual on how to reset all parameters to factory default settings.
Page 118
™ 118 / 144 TMCM-3314 TMCL Firmware Manual • Firmware Version V1.11 | Document Revision V1.10 • 2019-JAN-25 All Global Parameters of the TMCM-3314 Module in Bank 0 Number Global Parameter Description Range [Units] Access 9600 Default 14400 19200 28800...
GAP, GGP and GIO commands. Table 17: All Global Parameters of the TMCM-3314 Module in Bank 0 5.2 Bank 1 The global parameter bank 1 is normally not available. It may be used for customer speci c extensions of the rmware.
Axis parameter #212 controls this function. 6.3 Closed-Loop Operation Together with an external ABN encoder it is possible to operate each axis of the TMCM-3314 as a closed- loop stepper system. Before enabling this feature, some parameters have to be set. The following example TMCL program shows how to do this.
The closed-loop operation of the TMCM-3314 is based on Trinamic’s closed-loop hardware motion controller IC TMC4361. The 2-phase closed-loop control of the TMCM-3314 follows a different approach than PID control cascades to consider stepper motor driver characteristics. The ramp generator which assigns target and velocity is independent of the position control (commutation angle control) which is also independent of the current control.
Figure 12: Load Angle Control Parameter 6.3.3 Current Level Control Parallel to the load angle control the TMCM-3314 controls the motor current level (current vector ampli- tude) depending on the load angle to save energy during no or light load. Figure gives an overview of the current control parameters.
6.3.4 Field Weakening With every stepper motor the TMCM-3314 will reach a velocity where it is not possible to maintain the target motor current due to the motor back EMF. Above this velocity load angle (SAP 111, default 90°) and current level control will reach their maximum.
If the target trapezoidal ramp cannot be maintained due to high load peaks the TMCM-3314 includes a special position catch-up mode to ensure that the position will still be reached in time if possible.
When the unit mode (axis parameter #255) is set to 1 (which is also the default value), all velocity parameters on the TMCM-3314 are given in microsteps per second (also called pulse per second or pps). Acceleration and deceleration units are given in pps When axis parameter #255 is set to 0 the internal units of the ramp generators are directly used.
10.5 Disclaimer: Life Support Systems TRINAMIC Motion Control GmbH & Co. KG does not authorize or warrant any of its products for use in life support systems, without the speci c written consent of TRINAMIC Motion Control GmbH & Co. KG.
In particular, this also applies to the stated possible applications or areas of applications of the product. TRINAMIC products are not designed for and must not be used in connection with any applications where the failure of such products would reasonably be expected to result in signi cant personal injury or death (safety-Critical Applications) without TRINAMIC’s speci c written consent.
Need help?
Do you have a question about the TMCM-3314 and is the answer not in the manual?
Questions and answers