Welcome! Log In Create A New Profile

Advanced

tb 6560 with marlin and corexy

Posted by aduy 
tb 6560 with marlin and corexy
January 22, 2014 10:05PM
Hello ive just got a couple tb6560s to use on my machine but im having trouble configuring them. my motors are 1.4amps and my supply is 24v, ive hooked up the step dir and en pins from my electronics to the boards but they dont seem to step correctly. any help would be appreciated.
Re: tb 6560 with marlin and corexy
January 22, 2014 10:12PM
there's a problem with marlin and those drivers the pulse width marlin send out is too short for them, i have a modified version of marlin which should work with the tb6560

should be able to download it here marlinfirmware-modified

Edited 1 time(s). Last edit at 01/22/2014 10:12PM by thejollygrimreaper.




-=( blog )=- -=( thingiverse )=- -=( 3Dindustries )=- -=( Aluhotend - mostly metal hotend)=--=( Facebook )=-



Re: tb 6560 with marlin and corexy
January 22, 2014 10:32PM
also there are mods that can remove the optocouplers and directly use the chip pins. this will speed up response times above 10khz. the slew rate on the opto isolation is slow, and it is set up to have 10-15v per pin not 5v ttl so it is a very week signal
Re: tb 6560 with marlin and corexy
January 23, 2014 12:49AM
So I'm not home at the moment but another issue I had is that the motors only move after I click the turn off motor button in rep host.
Re: tb 6560 with marlin and corexy
January 23, 2014 01:15AM
this is another issue. the stepper enables are inverted compared to reprap hardware.
Re: tb 6560 with marlin and corexy
January 23, 2014 01:32AM
Ive tried inverting them in the firmware but it does the same thing either way. I almost wonder if its using tristate logic and disconnected is enabled.

also im going to try and see if this [reprap.org] helps with the hissing and step skipping.

Edited 2 time(s). Last edit at 01/23/2014 01:45AM by aduy.
Re: tb 6560 with marlin and corexy
January 23, 2014 04:48PM
ok so i see one optocoupler and the other chip seems to be some sort of timing chip but i am not certain.



Edited 4 time(s). Last edit at 01/23/2014 04:52PM by aduy.
Re: tb 6560 with marlin and corexy
January 23, 2014 09:07PM
Re: tb 6560 with marlin and corexy
January 23, 2014 09:26PM
here is a copy of that opto coupler. it is indeed 2 in one package.

you could make them separate from reprap controller to test if motors move. change the enable state separately.

then also note that step pulse width needs to at least be 60us, unless opto coupler is removed from board.

Edited 1 time(s). Last edit at 01/23/2014 09:30PM by jamesdanielv.
Attachments:
open | download - AV02-2333EN+DS+HCPL-2530+21Feb2011.pdf (154 KB)
Re: tb 6560 with marlin and corexy
January 23, 2014 10:58PM
I've bridged over the optocouplers at this point so I'll give it a try later tonight
Re: tb 6560 with marlin and corexy
January 24, 2014 03:05AM
ah success! ok so for whatever reason disconnected on the enable pin means enable and i think anything else is disable. also once I bridged the optocouplers the 5v is no longer needed. maybe the +5v is actually the enable.

for whatever reason they are really very noisey no matter what settings I use. they are really strong though and the motors can push with a lot more force, maybe they work better with bigger motors or something but they are just a bit too noisy as is with my nema 17s.

Edited 1 time(s). Last edit at 01/24/2014 04:27AM by aduy.
Re: tb 6560 with marlin and corexy
January 27, 2014 02:25AM
so I did get them to work, I simply unsoldered the optocouplers and used the inverters from a 74hc14 in their place, I think i might need to cut some traces and whatnot but im not sure exactly. they do work but only on the 20% torque setting otherwise i get a lot of hiss and jerky steps.
Sorry, only registered users may post in this forum.

Click here to login