Trinamic TMCM-078 Manual Download Page 22

TMCM-078 Manual (V1.03 / September 10th, 2008)   

22 

Copyright © 2008, TRINAMIC Motion Control GmbH & Co. KG 

 

Examples:

 

1.

 

Set chopper mode to SPI Mode:  

 

 

AM 0 

ENTER 

2.

 

Read out the actual mode: 

 

 

 

Am 

ENTER 

3.

 

Change Microstep resolution ¼ of max. resolution: 

AZ 2 

ENTER 

Example for test move: 

 

Different accelerations and velocities 

AA 500, AV 50000, AV –50000  

try other AA 0…8000, AV 0…400000 

 

Max. current – test of torque 

AA 500, AV 50000, AC 200 

 test torque manually 

 AC 20 

 test torque 

 

Read and set position 

AV 0, AR, AA 500, AV 50000, AR, AP 0, AR 

5.4.2

 

Commands ‘A’ and ‘a’: Set or read back acceleration 

The ‘A’ command sets the acceleration that is used in conjunction with the ‘V’ command. Setting the 
acceleration  parameter  to  0  enables  the  step/direction  interface  (this  is  also  the  factory  default 
setting). Setting the accelerations parameter to any value greater than zero disables the step/direction 
interface  and  allows  moving  the  motor  via  the  RS485  interface  using  the  ‘V’  command.  The 
acceleration  parameter  is  given  in  microsteps/s².  This  setting  can  also  be  stored  permanently  using 
the ‘W’ command. 
The ‘a’ command outputs the actual acceleration setting. 

5.4.3

 

Commands ‘C’ and ‘c’: Set or read back motor current 

The ‘C’ command sets the maximum motor current. The parameter range is 0..31, according to table 
3.6.  This  setting  should  not  be  changed  while  the  motor  is  moving.  The  power-on  setting  for  this 
command is set by the DIP switches. 
The ‘c’ command outputs the actual motor current setting. 

5.4.4

 

Commands ‘D’ and ‘d’: Set or read back mixed decay setting 

The  ‘D’  command  sets  the  mixed  decay  behavior.  The  parameter  can  be  0,  1  or  2.  Setting  the 
parameter  to  0  disables  mixed  decay.  Setting  it  to  1  enables  mixed  decay.  Setting  the  mixed  decay 
parameter  to  2  enables  mixed  decay,  but  mixed  decay  will  automatically  be  disabled  whenever  a 
StallGuard  reference  search  is  started.  This  setting  can  also  be  stored  permanently  using  the  ‘W’ 
command. 
The ‘d’ command outputs the actual mixed decay setting. 

5.4.5

 

Commands ‘E’ and ‘e’: Read motor driver error status 

In chopper mode 0, eight error flags are provided by the motor driver. The E or e command provides 
a value that has to be interpreted as follows: 

Bit 

Name 

Function  

Remark 

OT 

Overtemperature 

“1” = driver chip off due to overtemperature 

OTPW 

temperature prewarning 

“1” = driver chip prewarning temperature exceeded 

UV 

driver undervoltage 

“1” = undervoltage on VS 

OCHS 

overcurrent high side 

3 PWM cycles with overcurrent within 63 PWM cycles 

OLB 

open load bridge B 

Open load detection can occur at fast motion also. 

OLA 

open load bridge A 

Open load detection can occur at fast motion also. 

OCB 

overcurrent bridge B low side  Short circuit detected. Please check motor wiring. 

OCA 

overcurrent bridge A low side  Short circuit detected. Please check motor wiring. 

Table 5.4: Failure readout in SPI mode 

In the other two modes there is only one error flag and thus the command only outputs ‘0’ or ‘1’: 

1: short circuit or overtemperature 
0: no failure 

Summary of Contents for TMCM-078

Page 1: ...078 Manual 1 axis stepper motor controller driver module 7A RMS 9 8A peak 75V with step direction interface Trinamic Motion Control GmbH Co KG Sternstra e 67 D 20357 Hamburg Germany http www trinamic...

Page 2: ...on 19 5 3 1 Direction 19 5 3 2 Step 20 5 4 RS485 interface 20 5 4 1 RS485 command overview 21 Example for test move 22 5 4 2 Commands A and a Set or read back acceleration 22 5 4 3 Commands C and c Se...

Page 3: ...re 5 3 Step and Direction Signal schematically optocoupler input at screw connector 20 List of Tables Table 1 1 Order codes 4 Table 3 1 Power connector 6 Table 3 2 Motor connector 6 Table 3 3 RS485 co...

Page 4: ...uts and outputs are accessible either via pluggable screw connector or by high density 2mm JST connectors Applications Step Direction stepper driver for industrial applications Robotics Centralized mo...

Page 5: ...uipment 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 TR...

Page 6: ...Pin1 Pin1 Pin1 Pin1 Pin1 Pin1 Pin1 Pin1 Power Motor RS485 I O Step Dir Figure 3 1 Pinning of TMCM 078 3 1 1 Power Pin Name Function 1 VS Positive power supply voltage 2 GND GND power Table 3 1 Power c...

Page 7: ...Constant 3 3V output reference 2 Step Optically isolated step input negative 2 S Differential step input non inverted 3 Dir Optically isolated direction input positive 3 S Differential step input inve...

Page 8: ...or to 3 3V 4 GND GND GND 5 GPI GPI General Purpose Input 6 GPO GPO General Purpose Output 7 RS485A RS485 remote control access A TTL input 8 RS485B RS485 remote control access B TTL input Table 3 5 I...

Page 9: ...Step 2 Stall 0 Stall 1 Stall 2 Mode 0 Mode 1 ON 1 8 3 3 1 Motor current settings The motor run current can be set independently from the motor standby current There are five DIP switches altogether fo...

Page 10: ...n current using the DIP switches marked StdCurr The module will switch to standby current when there has been no step pulse for at least two seconds StbCurr switches Standby current 2 1 0 OFF OFF OFF...

Page 11: ...red OFF ON ON GPO set when StallGuard level greater than 2 else cleared ON OFF OFF GPO set when StallGuard level greater than 3 else cleared ON OFF ON GPO set when StallGuard level greater than 4 else...

Page 12: ...ember 10th 2008 12 Copyright 2008 TRINAMIC Motion Control GmbH Co KG 3 4 Dimensions 135 00 94 00 5 00 89 00 76 00 47 50 18 00 5 00 33 00 67 50 102 00 130 00 All dimensions are in millimeter Figure 3 4...

Page 13: ...nect com Motor Screw RIA type 320 RM5 4 pin RIA type 349 RM5 4 pin www riaconnect com RS485 Screw RIA type 183 RM3 5 4 pin RIA type 169 RM3 5 4 pin www riaconnect com JST JST B4B PH K RM2 www farnell...

Page 14: ...ends on operation mode 20 or 36 kHz tSLP Coil output slope 300 ns IS Power supply current ICOIL 1 4 ICOIL A VOPTON Signal active voltage at disable step and direction input optocoupler on screw connec...

Page 15: ...cal information on the motor choice but you can skip it if you want to experiment with a given motor Normally best results will be achieved when operating the given motor in a range of 50 to 100 of no...

Page 16: ...24 V 5 0 0 75 mH 75 V 0 48 mH 48 V 0 24 mH 24 V 4 0 0 94 mH 75 V 0 6 mH 48 V 0 3 mH 24 V 3 0 A 1 25 mH 75 V 0 8 mH 48 V 0 4 mH 24 V 2 0 A 1 875 mH 75 V 1 2 mH 48 V 0 6 mH 24 V 1 0 A 3 75 mH 75 V 2 4...

Page 17: ...fore we recommend to a keep power supply cables as short as possible b use large diameter for power supply cables c if the distance to the power supply is large i e more than 2 3m use a robust 4700 F...

Page 18: ...ent to a value which is significantly lower than the motor maximum coil current If it is too high the motor has significant magnetization losses and coil power dissipation and would get much too hot e...

Page 19: ...External signals and motor reactions Disable 5V 5V rotating on off Direction 5V rotating direction 5V Step 5V 5V Velocity Deceleration Acceleration const Motor Speed rotate right rotate left 0 GND GN...

Page 20: ...Step and Direction Signal schematically optocoupler input at screw connector Maximum frequency at JST connector Even higher than at screw connector Limited by microcontroller but not yet evaluated app...

Page 21: ...rch h Check if reference search still in progress 5 4 7 L l Limit switch L configure limit switches l read back limit switch settings 5 4 8 M m Mode M select chopper mode 0 2 m read back actual choppe...

Page 22: ...s set by the DIP switches The c command outputs the actual motor current setting 5 4 4 Commands D and d Set or read back mixed decay setting The D command sets the mixed decay behavior The parameter c...

Page 23: ...nd H and h start or check reference search The H command starts a reference search that must have been previously configured by an R command Its main use is to test the reference search configuration...

Page 24: ...nce search The R command is used to configure the automatic power on reference search feature The command takes four parameters the reference search mode the reference search velocity the reference se...

Page 25: ...ges the baud rate of the module for RS485 communication according to the following table Parameter U Baud rate 0 9600 baud 1 14400 baud 2 19200 baud 3 28800 baud 4 38400 baud 5 57600 baud 6 76800 baud...

Page 26: ...microstep resolution The Z command changes the microstep resolution The z command outputs the actual microstep resolution The power on setting can be set using the DIP switches Parameter Z Microstep r...

Page 27: ...witch settings corrected 1 00 OK RS485 commands added 1 01 28 May 08 OK Error corrections D command added 1 02 10 Sep 08 OK Figure 3 2 corrected Table 6 1 Document Revision 6 2 Firmware Revision Versi...

Reviews: