Hardware Version V1.30 | Document Revision V1.10 • 2019-MAR-25
The TMCM-6214 is a 6-axes motor controller/driver board for 2-phase bipolar stepper motors with
up-to 1.9A RMS motor current and +24V supply. The motion controllers support 6-point ramps in
addition to linear ramps in hardware. 3 encoder inputs for incremental a/b/n encoders are included. For communication either CAN, RS485, RS232 or USB may be selected. In addition, there
are 6 general purpose digital inputs, 2 analog inputs and 8 general purpose outputs (protected).
Two STO inputs are available together with an intergated power supply switch for the driver supply.
Features
•
6-axes controller/driver for 2-phase
bipolar stepper motors
• Linear and SixPoint™ ramps
• +9. . . 30V DC supply voltage
• Up to 1.9A RMS motor current
•
RS485, CAN, RS232 & USB interfaces
• 3x A/B/N encoder inputs
•
multi-purpose inputs and outputs
(protected)
•
STO with integrated power switch
for the driver supply
The TMCM-6214 is a 6-axis motor controller/driver board for 2-phase bipolar stepper motors with up to
2A RMS (2.8A peak) motor coil current and +24V nominal supply. It supports linear ramps and unique
SixPoint™ramps. Each motor axis has its own reference / stop switch input connector. Three axes (axis
3. .. 5) offer encoder interfaces for incremental A/B/N encoders (either TTL +5V signals or open-drain
outputs). For communication CAN, RS485, RS232 or USB may be used. There are six general purpose
digital inputs, two analog inputs and eight outputs (open-drain, protected) available. Two isolated STO
inputs are available. The TMCM-6214 offers an on-board smart high-side power switch for the driver
supply voltage.
The TMCM-6214 is available with standard TMCL™or CANopen®firmware (supported via the CAN interface).
Motion Controller
• Motion profile calculation in real-time.
• On the fly alteration of motor parameters (e.g. position, velocity, acceleration).
• Two analog inputs (nominal input range selectable: 0. . . 10V, 0. . . 20V or -10. . . +10V).
• Eight outputs (open-drain, protected).
• Three encoder inputs for incremental A/B/N encoder signals (axis 3. . . 5).
• Two STO inputs.
Mechanical data
• Board size: 130mm x 100mm, height 20mm max. without mating connectors
• 4 mounting holes for M3 screws
Software
• TMCL™ remote (direct mode) and standalone operation (memory for up to 2047 TMCL commands),
fully supported by TMCL-IDE (PC based integrated development environment). Please see the
TMCM-6214 TMCL firmware manual for more details
•
CANopen®firmware with CANopen®standard protocol stack for the CAN interface. Please see the
TMCM-6214 CANopen® firmware manual for more details.
The TMCM-6214 is pre-programmed with either TMCL™ firmware or CANopen® firmware.
Order CodeDescriptionSize (LxWxH)
5 / 27
TMCM-6214-TMCL
6-axes bipolar stepper motor controller/driver, upto 2A RMS motor current, 24V nom. supply, 3x
encoder inputs, 2 analog inputs, 6 digital inputs,
8 OD outputs, CAN, RS485, RS232 and USB interfaces, STO, TMCL
TMCM-6214-CANopen
6-axes bipolar stepper motor controller/driver, upto 2A RMS motor current, 24V nom. supply, 3x
encoder inputs, 2 analog inputs, 6 digital inputs,
8 OD outputs, CAN, RS485, RS232 and USB interfaces, STO, CANopen
Table 1: TMCM-6214 Order Codes
A cable loom set is available for this module:
Order CodeDescription
TMCM-6214-CABLECable loom for TMCM-6214:
•
1x cable loom for power supply connector (cable length 200mm, 2pin
JST VH connector at one end, open wires at the other end)
•
2x cable loom for STO connectors (cable length 200mm, 2pin JST PH
connector at one end, open wires at the other end)
130mm x 100mm x 20mm
130mm x 100mm x 20mm
•
3x cable loom for RS485, RS232 and CAN connector (cable length
200mm, 3pin JST PH connector at one end, open wires at the other
end)
•
6x cable loom for motor connectors (cable length 200mm, 4pin JST
PH connector at one end, open wires at the other end)
•
6x cable loom for stop switch connectors (cable length 200mm, 4pin
JST PH connector at one end, open wires at the other end)
•
3x cable loom for encoder connectors (cable length 200mm, 5pin JST
PH connector at one end, open wires at the other end)
•
2x cable loom for general purpose input/output connectors (cable
length 200mm, 10pin JST PH connector at one end, open wires at the
other end)
The board with the controller/driver electronics has an overall size of 130mm x 100mm x 20mm without
mating connectors. Maximum component height (height above PCB level) without mating connectors
is around 15mm above PCB level and 3 mm below PCB level. There are four mounting holes (3.2mm
diameter) for M3 screws.
Figure 1: Board dimensions and position of mounting holes (all values in mm)
3.2Board mounting considerations
The TMCM-6214 offers four metal plated mounting holes. All mounting holes are connected to system and
signal ground (same as power supply ground). In order to minimize distortion of signals and radiation
of HF signals (improve EMC compatibility) especially in sensitive / noisy environments it is important to
ensure a solid ground connection within the system. In order to support this, it is recommended to
connect all four mounting holes of the board in addition to the supply ground connection to system power
supply ground. Nevertheless, this might not always be an option e.g. in case the metal system chassis /
TMCM-6214 mounting plate is already connected to earth and a direct connection between supply ground
(secondary side) and mains supply earth (primary side) is not desired / not an option. In this case plastic
(e.g. made of nylon) spacers / distance bolts and screws should be used.
The TMCM-6214 offers 24 connectors altogehter. There are 6 motor connectors and 6 reference / endswitch connectors - one for each axis. The three encoder inputs have separate connectors and for
communication via RS485, CAN, RS232 or USB 4 connectors are available. The two STO inputs have
individual connectors, also. Apart from the USB connector (USB-C) all these connectors are JST PH series
types. For power supply input a 2 pin JST VH series connector is available.
NOTICE
Start with power supply OFF and do not connect or disconnect motor during operation!
Motor cable and motor inductivity might lead to voltage spikes
when the motor is (dis)connected while energized. These voltage spikes might
exceed voltage limits of the driver MOSFETs and might permanently damage
them. Therefore, always switch off / disconnect power supply or at least disable
driver stage before connecting / disconnecting motor.
Figure 2: TMCM-6214 connectors
Connector Types and Mating Connectors
ConnectorConnector type on-boardMating connector type
The TMCM-6214 offers one power supply input connector (2pin JST VH series).
Power Supply Connector Pin Assigment
PinLabelDirectionDescription
1GNDPower (GND)Common system supply and signal ground
9 / 27
2V
POWER
Power (input)Main power supply input for the driver and on-board logic
10. . . 30V
Table 4: Power Supply Connector Pin Assignment
NOTICE
Do not connect or disconnect motor during operation!
tor inductivity might lead to voltage spikes when the motor is (dis)connected
while energized. These voltage spikes might exceed voltage limits of the driver
MOSFETs and might permanently damage them. Therefore, always switch off
/ disconnect power supply or at least disable driver stage before connecting /
disconnecting motor.
NOTICE
Take care of polarity, wrong polarity can destroy the board!
4.2STO Input Connector
The TMCM-6214 offers two STO (torque-off) input connectors (2pin JST PH series).
STO1 and STO2 connector pin assignment
PinLabelDirectionDescription
1FGNDSTO input ground (isolated from power supply GND)
Motor cable and mo-
2STO1 / STO2inSTO1 / STO2 +24V input signal
Table 5: STO Connector Pin Assignment
NOTICE
Both STO inputs have to be connected to positive supply voltage (e.g. 24V,
min. 15V) in order to enable all six motor driver stages!
will be possible in case one or both of these inputs are left unconnected.
If both STO inputs are not in the same state for more than 2.3 seconds the module
will lock itself in torque-off mode. This state can only be reset by a power cycle.
4.3RS485 Connector
The TMCM-6214 offers one RS485 interface connector (3pin JST PH series).
Do not connect or disconnect motor during operation!
Motor cable and motor inductivity might lead to voltage spikes when the motor is (dis)connected
while energized. These voltage spikes might exceed voltage limits of the driver
MOSFETs and might permanently damage them. Therefore, always switch off
/ disconnect power supply or at least disable driver stage before connecting /
disconnecting motor.
NOTICE
Do not mix-up stop switch and motor connectors!
4.7Stop switch connector
The TMCM-6214 offers 6 stop switch connectors (4pin JST PH series) - one for each motor axis.
Motor connector pin assignment
PinLabelDirectionDescription
1GNDSignal and supply GND
2+24Vout
3STOP_LinStop left switch input. Interal pull-up to +5V
4STOP_RinStop right switch input. Internal pull-up to +5V
connected to +24V supply input for supply of end switches etc.
Table 10: Stop switch connector pin assignment
4.8Encoder connector
The TMCM-6214 offers 3 encoder connectors (5pin JST PH series) for motor axis 3 to 5 (with axis numbering
0 to 5).
Motor connector pin assignment
PinLabelDirectionDescription
1GNDSignal and supply GND
2+5Vout
3ENC_Ain
4ENC_Bin
5ENC_Nin
for encoder supply. Max. 100mA per encoder / 300mA for all
three encoders together.
Encoder A channel input. +5V TTL signals and open-drain
signals (internal 4k7 pull-up to +5V) are accepted.
Encoder B channel input. +5V TTL signals and open-drain
signals (internal 4k7 pull-up to +5V) are accepted.
Encoder N channel input (Null / Zero channel). +5V TTL signals and open-drain signals (internal 4k7 pull-up to +5V) are
accepted.
digital output (open-drain / low-side switch). Max. 100mA sink
current. Over-load and -temperature protected
8OUT1/OUT5out
digital output (open-drain / low-side switch). Max. 100mA sink
current. Over-load and -temperature protected
9OUT2/OUT6out
digital output (open-drain / low-side switch). Max. 100mA sink
current. Over-load and -temperature protected
10OUT3/OUT7out
digital output (open-drain / low-side switch). Max. 100mA sink
current. Over-load and -temperature protected
Table 12: I/O connector pin assignment
4.10USB Connector
For serial communication the TMCM-6214 offers selection between RS485, CAN and USB interfaces. The
USB interface via on-board USB-C connector is available for configuration and service of the board, mainly
(e.g. parameter settings, firmware updates). The USB device interface supports full speed (12Mbit/s)
communication and supports bus powered and self-powered operation. During bus-powered operation
the low voltage logic part of the board will be powered, only. This includes the microcontroller and the
non-volatile memory and therefore allows parameter settings and firmware updates of the board using a
standard USB cable, only. Of course, for any motor movement main supply via supply input connector is
required.
The board offers two LEDs in order to indicate board status. The function of both LEDs is dependent on the
firmware version. With standard TMCL firmware the green LED should be flashing slowly during operation
and the red LED should be off. When there is no valid firmware programmed into the board or during
firmware update the red and green LEDs are permanently switched on. During reset to factory default
values the green LED will be flashing fast. With CANopen firmware both LEDs are switched on/off/flashing
For remote control and communication with a host system the TMCM-6214 provides a two wire RS485
bus interface. For proper operation the following items should be taken into account when setting up an
RS485 network:
1. BUS STRUCTURE:
The network topology should follow a bus structure as closely as possible. That is, the connection
between each node and the bus itself should be as short as possible. Basically, it should be short
compared to the length of the bus.
Figure 4: RS485 bus structure with termination resistors
2. BUS TERMINATION:
Especially for longer busses and/or multiple nodes connected to the bus and/or high communication
speeds, the bus should be properly terminated at both ends. The TMCM-6214 does not integrate any
termination resistor. Therefore, 120 Ohm termination resistors at both ends of the bus have to be
added externally.
3. NUMBER OF NODES:
The RS485 electrical interface stadard (EIA-485) allows up to 32 nodes to be connected to a single bus.
The bus transceiver used on the TMCM-6214 units (SN65HVD1781D) offers a significantly reduced
bus load compared to the standard and allows a maximum of 255 units to be connected to a single
RS485 bus using standard TMCL firmware. Please note: usually it cannot be expected to get reliable
communication with the maximum number of nodes connected to one bus and maximum supported
communication speed at the same time. Instead, a compromise has to be found between bus cable length,
communication speed and number of nodes.
4. COMMUNICATION SPEED:
The maximum RS485 communication speed supported by the TMCM-6214 hardware is 1Mbit/s.
Factory default is 9600 bit/s. Please see separate TMCM-6214 TMCL firmware manual for information
regarding other possible communication speeds below the upper hardware limit.
5. NO FLOATING BUS LINES:
Avoid floating bus lines while neither the host/master nor one of the slaves along the bus line
is transmitting data (all bus nodes switched to receive mode). Floating bus lines may lead to
communication errors. In order to ensure valid signals on the bus it is recommended to use a resistor
network connecting both bus lines to well defined logic levels.
There are actually two options which can be recommended: Add resistor (bias) network on one side
of the bus, only (120R termination resistor still at both ends):
Figure 5: RS485 bus lines with resistor (bias) network on one side, only
Or add resistor network at both ends of the bus (like Profibus™ termination):
15 / 27
Figure 6: RS485 bus lines with Profibus™recommended line termination
6.2CAN
For remote control and communication with a host system the TMCM-6214 provides a CAN bus interface.
Please note that the CAN interface is not available in case USB is connected. For proper operation the
following items should be taken into account when setting up a CAN network:
1. BUS STRUCTURE:
The network topology should follow a bus structure as closely as possible. That is, the connection
between each node and the bus itself should be as short as possible. Basically, it should be short
compared to the length of the bus.
Figure 7: CAN bus structure with termination resistors
2. BUS TERMINATION:
Especially for longer busses and/or multiple nodes connected to the bus and/or high communication
speeds, the bus should be properly terminated at both ends. The TMCM-6214 does not integrate any
termination resistor. Therefore, 120 Ohm termination resistors at both ends of the bus have to be
added externally.
3. BUS TERMINATION:
The bus transceiver used on the TMCM-6214 units (TJA1051T) supports at least 110 nodes under
optimum conditions. Practically achievable number of nodes per CAN bus highly depend on bus
length (longer bus -> less nodes) and communication speed (higher speed -> less nodes).
The on-board stepper motor driver operates current controlled. The driver current may be programmed
in software with 32 effective scaling steps in hardware.
Explanation of different columns in table below:
Motor current setting in software
(TMCL)
These are the values for TMCL axis parameter 6 (motor run current) and
7 (motor standby current). They are used to set the run / standby current
using the following TMCL commands:
In addition to the settings in the table the motor current may be switched off completely (free-wheeling)
using axis parameter 204 (see TMCM-6214 firmware manual).
The TMCM-6214 is a highly integrated 6-axes controller/driver module for stepper motors with up-to 1.9A
RMS / 2.7A peak motor coil current. The TMCM-6214 can be controlled via RS485, RS232, CAN or USB serial
interfaces. It offers 6 digital inputs which accept 24V signals, 2 analog inputs with 0..10V nom. input range
and 8 digital outputs (open-drain / low side switches) with protection and diagnostic functions. In additon,
two STO (torque-off) inputs (isolated) are available driving the enable inputs of the 8 motor drivers and the
on-board smart power switch for the motor driver supply.
The TMCM-6214 comes with the PC based software development environment TMCL-IDE for the Trinamic
Motion Control Language (TMCL™). Using predefined TMCL™high level commands like move to position
a rapid and fast development of motion control applications is guaranteed. Whereas the boot loader is
installed during production and testing at TRINAMIC and remains usually untouched throughout the whole
lifetime, the firmware can be updated by the user via any serial interface.
Communication traffic is kept low since all time critical operations, e.g. ramp calculation, are perfomrmed
on-board. Full remote control of the device with feedback is possible. The firmware of the module can be
updated via any of the serial interfaces. As an alternative CANopen firmware is available.
The TMCM-6214 module contains the following main components:
• Microcontroller (ARM Cortex-M3™) for overall control and communication.
•
Six highly integrated advanced stepper motor controllers supporting linear and unique 6-points
ramps in hardware.
•
Advanced stepper motor driver supporting spreadCycle™highly dynamic current control chopper
and stealthChop™for quiet operation and smooth motion.
• RS485, RS232, CAN and USB transceivers.
• Six general purpose digital inputs, two analog input (also usable as digital inputs).
• Eight general purpose digital outputs (open-drain, protected, 100mA each).
• Three incremental A/B/N encoder interfaces (+5V TTL and open-collector).
•
Two STO inputs (isolated), driver enable in hardware, smart power switch for driver supply voltage
with measurement of driver supply current and voltage.
• On-board voltage regulators (+5V and +3V3) for supply of all on-board digital circuits.
Keep the power supply voltage
below the upper limit of +30V! Otherwise the board electronics will seriously be
damaged! Especially, when the selected operating voltage is near the upper limit
a regulated power supply is highly recommended.
General Operational Ratings
SymbolParameterMinTypMaxUnit
V
Power
I
Power
V
I
USB
USB
Power supply voltage912. . . 2430V
Power supply current<<I
COIL_RMS
1.4 x I
COIL_RMS
Power supply via USB connector5V
Current withdrawn from USB supply when USB
75mA
A
bus powered (no other supply connected)
I
COIL_PEAK
Motor coil current for sine wave
peak (chopper
02.7A
regulated, adjustable via software)
I
COIL_RMS
T
ENV
Continuous motor current (RMS)01.9A
Environmental temperature at rated current (no
-3040°C
forced cooling reaquired)
Table 15: General operational ratings of the module
Operational Ratings of the I/Os
SymbolParameterMinTypMaxUnit
V
OUT0. . . OUT7
V
OUT0. . . OUT7
I
OUT0. . . OUT7
Voltage at open drain outputs (switched off)036V
Output clamp voltage (e.g. for inductive loads)364044V
Output sink current of open drain outputs
100mA
(switched on)
I
OUT0. . . OUT7
Overload detection current of open drain outputs
0.61.3A
(switched on)
V
IN0. . . IN7
V
IN0, IN4
V
IN_H
Input voltage for IN0. . . IN700. . . +24+30V
Measurement range for analog input IN0 and IN4
High level voltage for IN1. . . IN3 and IN5. . . IN7
0+10
2.9V
1
(digital inputs)
V
IN_L
Low level voltage for IN1. . . IN3 and IN5. . . IN7
1.4V
(digital inputs)
V
REF_L/R_H
1
approx. 0. . . +10.56V at the analog input IN0 is translated to 0. . . 4095 (12bit ADC, raw values). Above approx. +10.56V the analog
input will saturate but, not being damaged (up-to +30V).
Redistributions of source or derived format (for example, Portable Document Format or Hypertext Markup
Language) must retain the above copyright notice, and the complete Datasheet User Manual documentation of this product including associated Application Notes; and a reference to other available
product-related documentation.
13.3Trademark Designations and Symbols
Trademark designations and symbols used in this documentation indicate that a product or feature is
owned and registered as trademark and/or patent either by TRINAMIC or by other manufacturers, whose
products are used or referred to in combination with TRINAMIC’s products and TRINAMIC’s product documentation.
This Hardware Manual is a non-commercial publication that seeks to provide concise scientific and technical
user information to the target user. Thus, trademark designations and symbols are only entered in the
Short Spec of this document that introduces the product at a quick glance. The trademark designation
/symbol is also entered when the product or feature name occurs for the first time in the document. All
trademarks and brand names used are property of their respective owners.
13.4Target User
The documentation provided here, is for programmers and engineers only, who are equipped with the
necessary skills and have been trained to work with this type of product.
The Target User knows how to responsibly make use of this product without causing harm to himself or
others, and without causing damage to systems or devices, in which the user incorporates the product.
13.5Disclaimer: 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 specific written consent of TRINAMIC Motion Control GmbH & Co. KG.
Life support systems are equipment intended to support or sustain life, and whose failure to perform,
when properly used in accordance with instructions provided, can be reasonably expected to result in
personal injury or death.
Information given in this document is believed to be accurate and reliable. However, no responsibility
is assumed for the consequences of its use nor for any infringement of patents or other rights of third
parties which may result from its use. Specifications are subject to change without notice.
13.6Disclaimer: Intended Use
The data specified in this user manual is intended solely for the purpose of product description. No repre-
sentations or warranties, either express or implied, of merchantability, fitness for a particular purpose
or of any other nature are made hereunder with respect to information/specification or the products to
which information refers and no guarantee with respect to compliance to the intended use is given.
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 significant personal injury or death
(safety-Critical Applications) without TRINAMIC’s specific written consent.
TRINAMIC products are not designed nor intended for use in military or aerospace applications or environ-
ments or in automotive applications unless specifically designated for such use by TRINAMIC. TRINAMIC
conveys no patent, copyright, mask work right or other trade mark right to this product. TRINAMIC assumes
no liability for any patent and/or other trade mark rights of a third party resulting from processing or
handling of the product and/or any other use of the product.
13.7Collateral Documents & Tools
This product documentation is related and/or associated with additional tool kits, firmware and other
items, as provided on the product page at: www.trinamic.com.