High power stepper motor motion system
You will need
Precautions
V1.01, 24-October-2007
•
•
Your PD-109 stepper motor controller and
driver module
Interface (RS232 or RS485) with cables and
maybe converter supplied.
Step / Direction generator (+5V /0V output)
DC Power supply in the range 24V to 48V
TMCL-IDE program, PC
•
Do not reverse the power supply polarity – module
could be destroyed!
•
•
•
Do not connect or disconnect the motor while powered
Do not mix up connections or short-circuit pins
Avoid bundling IO wires with motor power wires, as
this may cause noise pickup from the motor.
Do not exceed the maximum power supply of 55V.
•
•
•
•
Starting up:
Start with power supply OFF.
Step / Direction Generator
+5V
1. Interfaces: Either use RS232 directly from PC or RS485 with a
converter (add termination network and set telegram pause
time if necessary). See the figure on the right for pinning.
2. Tie IF_select to GND to use RS485, leave open for RS232.
3. Connect power supply to TMCM-109
rotating
Dir
direction
0V
GND
+5V
Step
0V
GND
constant
velocity
Decelleration
GND
4. Turn power ON. The LED of the module lights and the motor is
powered (standby current flows) but in standstill. If this does
not occur switch power OFF and check your connections and
power supply.
6
5. Start the TMCL IDE program (see other side of the sheet how
to configure the connection and use the IDE).
6. Type following into the open window:
1
//A simple example for using TMCL and the TMCL-IDE
RS232
to
Power
Supply
12..30V
SAP 4, 0, 100
Loop: MVP ABS, 0, 15000
WAIT POS, 0, 0
//Set the maximum speed
//Move to position 15000
RS485
WAIT TICKS, 0, 200
MVP ABS, 0, 0
//Move back to position 0
//Infinite Loop
- +
WAIT POS, 0, 0
-
+
3
WAIT TICKS, 0, 100
JA Loop
7. Click the “Assemble” icon, then click the “Download” icon to
download the code to the TMCM-110. Click the “Run” icon. The
downloaded program will now be executed
8. Click stop button and start “TMCL Direct Mode” to issue
following commands:
•
ROR rotate right, Motor 0, value 500 Click Execute
The motor is rotating now.
•
MST motor stop, Motor 0 Click Execute
9. Connect a step / direction generator and try different velocities
and directions. Note that some TMCL parameters influence this
operation like microstep resolution.
RS232
(Jack)
2
First steps are made. For other commands of the PD-109 refer
to next page and the PD-109 Manual.
2
3
5
Wiring note: The PD-109 has screw terminal connectors only. These
allow very easy connection of all in- and outputs.
1
Copyright © 2006, TRINAMIC Motion Control GmbH & Co. KG
www.trinamic.com