Brochure
Getting started TMCM-1140
TRINAMIC Motion Control GmbH & Co. KG
Hamburg, Germany
www.trinamic.com
STARTING UP
1. Choose your interface.
USB: connect USB interface to PC.
Download and install the file TMCM-
1140.inf (www.trinamic.com) after
connecting the power supply.
RS485 or CAN: use the interface
connector and connect an interface
converter.
Connect the chosen interface to PC.
2. Connect the 24V DC power supply.
3. Connect motor to 4-pin connector of the
module
4. Turn power ON. The green LED starts
flashing slowly and the motor is
powered but in standstill now. If this
does not occur, turn power OFF and
check your connections and power
supply!
5. Start the TMCM-IDE program.
See next page how to configure the
connection and to use the IDE.
6. Type in the open window:
ROL 0, 500 //Rotate motor 0 with speed 500
WAIT TICKS, 0, 500
MST 0
ROR 0, 250 //Rotate motor 0 with speed 250
WAIT TICKS, 0, 500
MST 0
7. Click the Assemble icon. Thereafter click the Download icon to download the code to the module.
Click the Run icon. The program will now be executed.
8. Click the Stop icon and start TMCL™ Direct Mode to issue the following commands:
ROR rotate right, motor 0, value 500 -> click Execute / The motor is rotating now.
MST motor stop, motor 0 -> click Execute / The motor stops now.
FIRST STEPS ARE MADE.
Please refer to the TMCM-1140 Hardware and Firmware Manuals, too.
YOU NEED
- TMCM-1140
- Stepper motor
- Serial interface: RS485, CAN, or USB
- If you choose RS485 or CAN: interface
converter suitable to your module
- Supply voltage +24V DC (9… 28V DC)
- TMCL-IDE program and PC
- Cables for interface, motor, and power
PRECAUTIONS
- Do not mix up connections or short-circuit pins.
- Avoid bounding I/O wires with motor power
wires.
- Do not exceed the maximum power supply of
+28V DC!
- Do not connect or disconnect the motor while
powered!
- START WITH POWER SUPPLY OFF!
In/Out
Interface
USB
Motor
1
Motor
1
USB
Serial USB
interface
Converter
e.g. USB-2-485
USB
RS
485
CAN
Converter
e.g. USB-2-X
CAN
Pin 6 CAN_L
Pin 5 CAN_H
Pin 1 GND
RS485
Pin 4 RS485-
Pin 3 RS485+
Pin 1 GND
Power supply
Pin 2 9… 28V DC
Pin 1 GND
Note, that the
GND pin has to
be used for
power supply
and for the
interfaces also.
Motor
Pin 1 OB2
Pin 2 OB1
Pin 3 OA2
Pin 4 OA1