3-4 axis TB6560 controller: "enable" wire question

More
09 Sep 2011 18:46 #13073 by jpka
Hi!
I try to setup popular and cheap one of "TB6560 CNC Stepper Motor Driver Controller Board" in EMC2.
This boards widely available and looks that all have similar schematic and pinout. They can be standalone, or can have LED display and keypad. These boards, unlike others, have three different enable signals (both 3- and 4-axis has three). When i try to setup it in Stepconf Wizard, i tie 'Amplifier Enable' output signal to all three pins, but it outputs correctly only on one pin (first by nubmer). Can it be fixed?
Partial solution is mark this pins as Unused and Inverted, but this work only during configuration wizard, and pins don't drive continuous '1' in EMC2.
For reference i post working pinout configuration, but it work only if i drive Enable signals manually. It is not good idea due to idle current draw. It is pins 4, 5 and 17.
Thanks!
Attachments:

Please Log in or Create an account to join the conversation.

More
09 Sep 2011 18:59 - 09 Sep 2011 18:59 #13074 by BigJohnT
There is a couple of threads on the forum about this driver...

Here is one of them

www.linuxcnc.org/component/option,com_ku...limitstart,0/lang,en

John
Last edit: 09 Sep 2011 18:59 by BigJohnT.

Please Log in or Create an account to join the conversation.

More
09 Sep 2011 22:35 #13078 by jpka
Thank you, it exactly what i need!
I modify .hal file manually and all 'enable' wires now work very good :-)
BTW, pinout on my picture is for "blue" 4-axis board, i write this because i now see that cheap boards are very different in pinouts and it's not documented at all, while they looks very similar.

Please Log in or Create an account to join the conversation.

More
10 Sep 2011 12:37 #13084 by BigJohnT
Glad you got it working.

John

Please Log in or Create an account to join the conversation.

More
03 Nov 2011 23:43 #14558 by ToshiroTamigi
This is the solution i found for a 3 axis TB6560 board:
- create a basic configuration using stepconfig leaving enable pin out. (the stepper will still not run);

- Add the following three lines in custom.hal

net xenable => parport.0.pin-14-out
net yenable => parport.0.pin-02-out
net zenable => parport.0.pin-06-out

Now you can reopen stepconfig and work with the settings as now the stepper will run correctly.


Alessio
The following user(s) said Thank You: abrambleninja

Please Log in or Create an account to join the conversation.

More
25 Nov 2013 23:43 #41160 by jjharley
The board I have is a 3 axis all in one(ST6560-T3 'red'), but has pin (1) as enable for all axis, so I set the only 'on' I could find in the step config. (spindle on) to pin one and all the axis work. Pretty sure this is the wrong way to do this.
Any suggestions?

Please Log in or Create an account to join the conversation.

More
26 Nov 2013 00:33 #41162 by andypugh

I set the only 'on' I could find in the step config. (spindle on) to pin one and all the axis work. Pretty sure this is the wrong way to do this.


You are correct, that was a bad choice.

Use any of the "amp-enable" pins.

Please Log in or Create an account to join the conversation.

More
26 Nov 2013 02:07 #41164 by jjharley
Tried the Amp Enable pin to pin (1) but then none of the axis worked.
The board uses pin (1) to enable all axis.
Might just have to reload Ubuntu 10 with Linux CNC and start over.

Please Log in or Create an account to join the conversation.

More
26 Nov 2013 02:09 #41165 by jjharley
Maybe try Toshiro's method and set all axis enable pins to (1)?

Please Log in or Create an account to join the conversation.

More
26 Nov 2013 02:30 #41166 by andypugh

Tried the Amp Enable pin to pin (1) but then none of the axis worked.
The board uses pin (1) to enable all axis.


If it uses pin 1 to enable all axes, then connecting amp-enable to pin 1 should enable all axes. That is the point of the amp-enable signal.

It is possible that the pin needs to be set to 0 to enable the axes (in fact the parport works rather better at driving opto-isolators when 0V = logical 1)
Try inverting Pin1 in stepconf, with amp-enable connected to it.
The following user(s) said Thank You: jjharley

Please Log in or Create an account to join the conversation.

Moderators: PCWjmelson
Time to create page: 0.094 seconds
Powered by Kunena Forum