EEVblog Electronics Community Forum

General => General Technical Chat => Topic started by: Spawn on April 05, 2013, 12:01:55 pm

Title: Project: Converting a milling machine to a CNC machine.
Post by: Spawn on April 05, 2013, 12:01:55 pm
I can already imagine people thinking “what has this to do with Electronics”. 
Maybe not so much, I could go on a CNC forum and post it there but lately a lot people are joining us here on EEVBlog forums with different background than only Electronics and also there is some Electronics involved with CNC machines like controllers and such.

I did work with milling machines but never with a CNC machine, so this is a fun project for me and I also will learn a lot if I build it myself, any advice and help form CNC gurus we got on the forum will be greatly appreciated.

If moderators or Dave think this doesn’t fit on this forum, please delete or lock the topic, no harm done :)

That being said, I mention earlier in some topics I got a Proxxon MF70 milling machine and wanted to convert to a CNC milling machine. It is a fairly small machine and fits nicely on my Electronics bench and it has its limits like not having big work area but still good enough for small things.

I was building a half wood, half Plexiglas box for my other equipment to keep things clean on my bench if I had to drill or saw something, but the milling machine fits there nicely too, probably I will add a top part to make it enclosure box but right now the shelf above is in the way because the milling machine is just little too high but I will find something for that :
(http://i193.photobucket.com/albums/z298/Bl4ckW0lfi3/MF70_CNC_002_zps272db523.jpg)

Before we go further, I am trying to keep the costs low as possible so getting cheapest possible parts to make it work. I already have a Windows XP machine ready for this with Mach3 CNC on it.

I got the stepper motor mounts here, these are made for Nema 23 stepper motors, the reason I got this one is: I can’t make one myself because I don’t have access to a metal working shop as years ago. This one was cheap but also didn’t have rounded edges like most sets out there and that makes for me easy to mount the limit switches.  Also there is no need to change anything on my milling machine, even spindles will stay as they are, I only need to remove the little black handle on them.
(http://i193.photobucket.com/albums/z298/Bl4ckW0lfi3/MF70_CNC_001_zpsba162afe.jpg)

I already ordered a 3 axis CNC controller with a Toshiba TB6560AHQ chip, this is very common controller and it supports stepper motors till 3A each axis:
(http://i193.photobucket.com/albums/z298/Bl4ckW0lfi3/TB6560_zpsb2db2ea5.jpg)

I also ordered a 24V 15A switching power supply:
(http://i193.photobucket.com/albums/z298/Bl4ckW0lfi3/24V-15A-PSU_zps1f83df6d.jpg)

I am not sure if its worth mention but I will use switches below for limit switches, I will get two emergency stop buttons later on, one for the controller board to stop the program if things go wrong without cutting off its power and one for real emergency to cut off the power totally on the board and the PSU:
(http://i193.photobucket.com/albums/z298/Bl4ckW0lfi3/limitswitch_zpsad5fb01d.jpg)

Here is the tricky part, at least for me. I didn’t figure out what stepper motor to get, it has to be a Nema23 but I am not sure what torque and size. The other thing I want it a double shafted stepper motor because I want to be able use the milling machine without CNC part for small projects but maybe someone can make this clear; does Mach3 lose any setting if I turn on the stepper motors manually?

After a lot reading around the motor below should be perfect fit power wise and it has double shaft. It is fairly heavy with 0.7kg on each stepper motor but the smaller ones don’t have the torque I need. It is a Nema23 57BYGH56-401B

Here some specs and photo of the motor:
(http://i193.photobucket.com/albums/z298/Bl4ckW0lfi3/Nema23_57BYGH56-401B_specs_zpsaabf15d8.jpg)

(http://i193.photobucket.com/albums/z298/Bl4ckW0lfi3/Nema23_57BYGH56-401B_zps9c192959.jpg)

So any of the CNC guru’s out there have some tips for me? Am I doing good so far or do I have to change something in my further plans?
Title: Re: Project: Converting a milling machine to a CNC machine.
Post by: Radio Tech on April 05, 2013, 12:30:50 pm
I am not a CNC guru bit have ran them at work when we made our own parts there.  From small milling CNC to the mighty Maseru that held hundreds of bits. From what I can see if your post you are on the right track.

Not sure what your projects are going to be, wood, aluminum or circuit boards?
If light wood and circuit boards then your motors should be around 180oz-in or so. With heavy metals you may want to go up to 300oz-in.  Guessing this due to the size of your machine.

I have a bench top milling machine that I am thinking about converting into a CNC. Been researching for a year now but have not done anything to get started.
Title: Re: Project: Converting a milling machine to a CNC machine.
Post by: arekm on April 05, 2013, 12:49:27 pm
Playing (as beginner) with exactly the same proxxon mf70 right now.  It's crap but cheap crap :-)

I'm using 1.25Nm motors (57H56-30008B). These are enough for such delicate machine.

Replacing Y plates will give you additional ~4cm:
http://0xfred.wordpress.com/2012/04/17/extending-the-mf70s-y-axis/ (http://0xfred.wordpress.com/2012/04/17/extending-the-mf70s-y-axis/)
(note, there are two mf70 versions, so different plates for each, see comments in above url)

I'm using vacuum cleaner when milling and no "box" around mf70.

linuxcnc for driving and cambam for doing projects.

switches with short arm will be more precise (so you could use the same switches not only as limit switches but also as home+offset switches)

Title: Re: Project: Converting a milling machine to a CNC machine.
Post by: KJDS on April 05, 2013, 01:03:08 pm
That's an interesting board. not that I have any need to control a mill but my load pull set up has a misfunctioning, and non-pc controlled box to control the three stepper motors in it, so I'll buy one and have a play.
Title: Re: Project: Converting a milling machine to a CNC machine.
Post by: GeoffS on April 05, 2013, 01:49:16 pm
All looks OK to me except for that controller.
The tb6560 based boards as sold on eBay have a bad reputation for performance and reliability. See cnczone.com for more details.
Title: Re: Project: Converting a milling machine to a CNC machine.
Post by: Spawn on April 05, 2013, 02:19:12 pm
Thanks for the information guys :)

Not sure what your projects are going to be, wood, aluminum or circuit boards?
Radio Tech, I am planning to cut out porous PVC for front face work and do some letter engraving on front panels and time to time maybe letter engraving on aluminum but won’t cut aluminum with it, I am not thinking to do PCB work on it but I might try it to see how it goes.



That's an interesting board. not that I have any need to control a mill but my load pull set up has a misfunctioning, and non-pc controlled box to control the three stepper motors in it, so I'll buy one and have a play.
KJDS, this was the cheapest one I could find for 3 axis:
http://www.ebay.com/itm/221194934966 (http://www.ebay.com/itm/221194934966)
Here some interesting add-ons like a manual controller and a display:
http://www.ebay.com/itm/330887465697 (http://www.ebay.com/itm/330887465697)
http://www.ebay.com/itm/251232883889 (http://www.ebay.com/itm/251232883889)



Playing (as beginner) with exactly the same proxxon mf70 right now.  It's crap but cheap crap :-)

I'm using 1.25Nm motors (57H56-30008B). These are enough for such delicate machine.

Replacing Y plates will give you additional ~4cm:
http://0xfred.wordpress.com/2012/04/17/extending-the-mf70s-y-axis/ (http://0xfred.wordpress.com/2012/04/17/extending-the-mf70s-y-axis/)
(note, there are two mf70 versions, so different plates for each, see comments in above url)

I'm using vacuum cleaner when milling and no "box" around mf70.
Ey! Not bad things about Proxxon, it is not crap! LOL just kidding  ;D
I am in love with Proxxon you can call me Proxxon fan guy. After posting this here I went out and get a “second hand” Proxxon DSH scroll saw and it was just never used! On the local auction site pictures it was covered under the dust so I was thinking it was used but even the extra parts to make it work was not attached and where in sealed bag, so I got a new scroll saw for bargain! :) See photo below and you will understand how crazy I am about Proxxon’s ;)

My new addition the to the family is right on the picture:
(http://i193.photobucket.com/albums/z298/Bl4ckW0lfi3/spawns_proxxonz_zps0d50a798.jpg)


Sorry about going little off topic there, but when it comes to Proxxon I get excited. I know some people don’t like this X and Y axis (KT70) but if you know your equipment you can eliminate the play in there.

Arekm, thanks for that link, there is a CNC kit manufacturer which makes extended axis for both X and Y. I might do something later on but right now I am focusing on this CNC to get it work.
About the dust, I forgot to mention about the vacuum cleaner part, there will be fixed hoses to move around in the box for different machines, so I can attach a vacuum cleaner to the enclosure box external.


All looks OK to me except for that controller.
The tb6560 based boards as sold on eBay have a bad reputation for performance and reliability. See cnczone.com for more details.
Thanks for the heads up GeoffS, indeed I read a lot things about these boards, like switches for current settings not functioning and some people fry them because of the wrong settings and such, I wanted to give a shot for this price if it fails I am planning to get separate controller boards for each stepper motor and a control board.
Title: Re: Project: Converting a milling machine to a CNC machine.
Post by: Gall on April 05, 2013, 04:04:40 pm
This TB6560 CNC board is absolute crap. It has SEVERE errors in its design.

(http://i193.photobucket.com/albums/z298/Bl4ckW0lfi3/TB6560_zpsb2db2ea5.jpg)

1. Its input is NOT really optically isolated! Yes, it has optocouplers, but both sides of these optocouplers are powered FROM THE SAME SOURCE.

2. Some revisions of these boards have collector and emitter of one of the optocouplers swapped. A stupid routing mistake.

3. The 12V power regulator works nearly at max load and overheats.

4. The power regulator is wired in such a way that 5V power is supplied after output power. The datasheet says that this may damage the IC.

5. The board has extra transistors in an attempt to lower the output current when idle. In fact this only causes glitches.

6. The output is really not diode protected: each second diode is missing. (Just 2 diodes per winding instead of 4).

7. The relay is wired without any protective diode. The inductive spike often damages the controlling transistor.

Do not rely on this board. Better return it.
Title: Re: Project: Converting a milling machine to a CNC machine.
Post by: Gall on April 05, 2013, 04:07:26 pm
Quote
http://www.ebay.com/itm/251232883889
This display tries to count steps by polling the inputs by a MCS-51 microcontroller. In fact it often misses steps when running at full speed.

I disassembled the board for parts and bought a Gecko instead. But there are cheaper alternatives. Many single channel TB6560 boards are good enough for a small stepper.
Title: Re: Project: Converting a milling machine to a CNC machine.
Post by: Spawn on April 05, 2013, 04:35:38 pm
Thanks Gall, there is no way I can return it because shipment costs from here would cost almost same as the board. Hell I didn’t even received it yet since I ordered yesterday and it is shipped. We can talk about the board when I receive it, I will take some high res pictures.
The one I showed there is a 4 axis one, I ordered a 3 axis board. In my research I read couple things about these boards but not detailed information as you did above so I need to check the model I get, thanks again.
Title: Re: Project: Converting a milling machine to a CNC machine.
Post by: Alana on April 05, 2013, 04:46:56 pm
There are 3,4,5 axis board of the same design. Had 4 and 5 axis versions for Rubik's cube solver and they are totally crap.
Next time I'm doing something with steppers its home made H-bridge from scratch.
Title: Re: Project: Converting a milling machine to a CNC machine.
Post by: KJDS on April 05, 2013, 05:31:38 pm
So if that board is crap, can someone recommend a pc driveable board that will run three small steppers that is good quality?
Title: Re: Project: Converting a milling machine to a CNC machine.
Post by: FJV on April 05, 2013, 05:43:47 pm
Maybe begin bij taking a look at the calculations stepper motor manufacturers use in their catalogues.

For instance Minebea:
http://www.eminebea.com/en/engineering_info/rotary/steppingmotor/pm_steppingmotor/cat-5/006.shtml (http://www.eminebea.com/en/engineering_info/rotary/steppingmotor/pm_steppingmotor/cat-5/006.shtml)

(http://www.eminebea.com/en/engineering_info/rotary/steppingmotor/pm_steppingmotor/img/ma_14-18.gif)

You may also want to look at cutting tool manufacturers for data on forces during cutting ^-^
Title: Re: Project: Converting a milling machine to a CNC machine.
Post by: Gall on April 05, 2013, 06:55:41 pm
So if that board is crap, can someone recommend a pc driveable board that will run three small steppers that is good quality?
Gecko G540 is the one of superb quality but quite expensive. It runs up to 4 four-wire steppers of NEMA23 size or smaller.
Title: Re: Project: Converting a milling machine to a CNC machine.
Post by: DavidDLC on April 05, 2013, 07:59:50 pm
Do your own, based on Microchip app:

A Better DIY Stepper Motor Driver (https://www.youtube.com/watch?v=8_iJ-XGpFvs#)

David.
Title: Re: Project: Converting a milling machine to a CNC machine.
Post by: Spawn on April 05, 2013, 10:01:11 pm
How about these here guys?
http://www.ebay.com/itm/400454173192 (http://www.ebay.com/itm/400454173192)

Same kind a crap or is it better?
Title: Re: Project: Converting a milling machine to a CNC machine.
Post by: peterthenovice on April 05, 2013, 11:59:19 pm
looks decent for 200 bucks on a stick.
Title: Re: Project: Converting a milling machine to a CNC machine.
Post by: Spawn on April 06, 2013, 12:36:20 am
Wow…
I just read 100+ pages on different forums and there is so many mixed information about this TB6560 most don’t recommend and some like it. The thing is most are using this board for higher voltage and have problems and around 24V there is not much complains, but there is also some easy fixes for smoother runs:  http://www.homediystuff.com/fixing-a-chinese-made-cnc-stepper-motor-driver-board-tb6560-chips/ (http://www.homediystuff.com/fixing-a-chinese-made-cnc-stepper-motor-driver-board-tb6560-chips/)
Title: Re: Project: Converting a milling machine to a CNC machine.
Post by: GeoffS on April 06, 2013, 08:17:16 am
How about these here guys?
http://www.ebay.com/itm/400454173192 (http://www.ebay.com/itm/400454173192)

Same kind a crap or is it better?
The separate motor controllers have one advantage in that when one dies, you replace only it. No information about the reliability of that one yet.
The breakout board doesn't list  optocouplers.
I don't know what your budget is but take a look at Automation Technologies (http://www.automationtechnologiesinc.com/) in the US. The stuff they sell is reliable and well supported. I bought a 3D printer from them and had no issues with the goods supplied or sorting out some minor problems.
Title: Re: Project: Converting a milling machine to a CNC machine.
Post by: GeoffS on April 06, 2013, 08:20:35 am
So if that board is crap, can someone recommend a pc driveable board that will run three small steppers that is good quality?
Gecko G540 is the one of superb quality but quite expensive. It runs up to 4 four-wire steppers of NEMA23 size or smaller.
:-+ for the Gecko G540. When the controller for one axis in my CNC router died, I went to a G540 with a higher voltage supply (48V vs 24V).
It was well worth the money.
Title: Re: Project: Converting a milling machine to a CNC machine.
Post by: Spawn on April 06, 2013, 11:46:09 am
GeoffS, I have been reading a lot again since last night and Gecko’s are nice indeed but I think not worth for this machine because only the board cost almost same as the milling machine and this machine has really small work area so work piece / budget ratio is too high with a Gecko.

Meanwhile found something else which people recommend for a decent price too, they got two kits and this is the higher end one:
http://www.hobbycnc.com/products/hobbycnc-pro-chopper-driver-board-kits/ (http://www.hobbycnc.com/products/hobbycnc-pro-chopper-driver-board-kits/)

Right now I want to wait till I get this crappy board I bought and see what I can do with it, meanwhile I keep researching. So far I got most complete information what to do with a TB6560 board and it was posted on CNCzone after 55 pages reading in a topic there was someone who put all information together:
http://www.cnczone.com/forums/general_electronics_discussion/110986-how_i_fixed_my_chinese_tb6560_controller-55.html#post1218808 (http://www.cnczone.com/forums/general_electronics_discussion/110986-how_i_fixed_my_chinese_tb6560_controller-55.html#post1218808)
This shouldn’t be a problem for an electronics hobbyist.

I hope, I don’t sound stubborn guys, I really appreciate the input I got, but I got stuck with this board even before it was here  ::)  so I have to do my best with it before giving it up already. If I didn't get the warnings from you I wouldn’t be prepared for this, so thanks for that.

I still didn’t order the steppers yet, the one I mention before was 4 wires but hobbycnc pro board needs 6 or more wires, so I have to take that in consideration too. I am still in doubt about the shaft too, double shafted or not…
Title: Re: Project: Converting a milling machine to a CNC machine.
Post by: GeoffS on April 06, 2013, 12:14:30 pm
GeoffS, I have been reading a lot again since last night and Gecko’s are nice indeed but I think not worth for this machine because only the board cost almost same as the milling machine and this machine has really small work area so work piece / budget ratio is too high with a Gecko.

I agree, keep with the supplied controller for as long as it does the job. Read what you can on cnczone.com about the problems users have had with it and the cause which may help prolong its life.
Quote
Meanwhile found something else which people recommend for a decent price too, they got two kits and this is the higher end one:
http://www.hobbycnc.com/products/hobbycnc-pro-chopper-driver-board-kits/ (http://www.hobbycnc.com/products/hobbycnc-pro-chopper-driver-board-kits/)
/quote]

The hobbycnc kit has quite a good reputation and is well supported. Pricing is pretty good too.
Quote
Right now I want to wait till I get this crappy board I bought and see what I can do with it, meanwhile I keep researching. So far I got most complete information what to do with a TB6560 board and it was posted on CNCzone after 55 pages reading in a topic there was someone who put all information together:
http://www.cnczone.com/forums/general_electronics_discussion/110986-how_i_fixed_my_chinese_tb6560_controller-55.html#post1218808 (http://www.cnczone.com/forums/general_electronics_discussion/110986-how_i_fixed_my_chinese_tb6560_controller-55.html#post1218808)
This shouldn’t be a problem for an electronics hobbyist.

I hope, I don’t sound stubborn guys, I really appreciate the input I got, but I got stuck with this board even before it was here  ::)  so I have to do my best with it before giving it up already. If I didn't get the warnings from you I wouldn’t be prepared for this, so thanks for that.

I still didn’t order the steppers yet, the one I mention before was 4 wires but hobbycnc pro board needs 6 or more wires, so I have to take that in consideration too. I am still in doubt about the shaft too, double shafted or not…

Hobbycnc drivers are designed for unipolar motors which excludes the 4 wire bipolar type. Bipolar motors are generally more powerful for the size.
I'd say go with the bipolar motors, single shaft - the double shaft really has no advantage in your case.
Title: Re: Project: Converting a milling machine to a CNC machine.
Post by: robrenz on April 06, 2013, 02:50:29 pm
I don't think any stepper controller is going to keep track of position when you de-energize the motor and turn it by hand. So you might think about having three handwheels/encoders to also feed the driver boards for manual/jog mode where you would still have position readout on all three axes. That way you can focus on single shaft motors. You also may consider a timing belt reduction from the motors to the leadscrews instead of direct drive. This will allow improved resolution and torque at the sacrifice of top speed and smaller motors. Yes this route may cost more.
Title: Re: Project: Converting a milling machine to a CNC machine.
Post by: Gall on April 06, 2013, 04:20:57 pm
Ok. Since you already bought the TB6560 board, here is the recipe how to fix it.

Completely remove extra transistors controlling the output idle current. Let TB6560 work on its own.

Add one extra protection diode to each output.

Install a protection diode

Completely remove all optocouplers and short them. Then connect your own external optical isolator. Alternatively cut the traces on the board and provide isolated power to the input.

Remove 7812. Replace it with a DC-DC switch-mode module.

Add a relay to control the power on sequence.

The TB6560 is not so bad on its own. It is just incorrectly wired on these blue boards.
Title: Re: Project: Converting a milling machine to a CNC machine.
Post by: Spawn on April 06, 2013, 09:42:26 pm
I'd say go with the bipolar motors, single shaft - the double shaft really has no advantage in your case.
Yes that’s probably best thing to do GeoffS, the information is mixed up about the strength of the steppers all over the internet, in terms of torque people using a lot different steppers from 0.5Nm till 2Nm. I want a stepper around 200oz-in which is 1.4Nm and the stepper will be little bigger than I want.



I don't think any stepper controller is going to keep track of position when you de-energize the motor and turn it by hand. So you might think about having three handwheels/encoders to also feed the driver boards for manual/jog mode where you would still have position readout on all three axes.
I have been reading around again robrenz and most users are happy with controlling through Mach3 with the computer keyboard. If you have a wireless keyboard like me it will be even  better to control while you look at your work piece, needs some practice I think but that would be enough, there are manual controllers for the board I got but after modifications I have to make these won’t be reliable.



Ok. Since you already bought the TB6560 board, here is the recipe how to fix it.
The TB6560 is not so bad on its own. It is just incorrectly wired on these blue boards.
Indeed Gall,  the TB6560 is a good chip but people who put it together on this board have tried to cut the costs and board came out with a lot bugs, this is playing for years and they did some tiny fixes on the board but not the necessary ones, they should make better revisions by now and people would love to pay twice the price if those fixes where made.

Here are the fixes and checks I am considering:

All above information is coming from people at CNCZone and some from me so kudo’s to them, I didn’t write down the details why these changes have to be done those are already explained there. Some of the fixes are not necessary, I need to do some crucial ones even before powering up the board, and some people are even using this board for 2 years without any problem with small fixes so I need to check how the steppers act after each fix/mod.

About the output protection diodes Gall, I am reading so much last two days and I am not kidding when I say my eyes are even hurt by staring at screen, but I never seen anyone having problems with that, yes people mention that but there is no damage till now so far I could see, there are couple TB6560’s blown but that was because of the wrongly soldered pins and sometimes current setting dipswitches where not working.

The costs are relatively small, I can understand some mechanical people won’t like it since soldering and electronics is not their thing but for us lot here these are just easy fixes that’s why I decided to give it a go instead of getting another board. Bigger heat sink won’t cost me much but will help a lot for long runs.
Title: Re: Project: Converting a milling machine to a CNC machine.
Post by: Spawn on April 08, 2013, 03:33:42 pm
I am really bad in guessing sizes with surface mount components, I don’t have the board yet but I want to order some parts before I get it.

Can anyone tell me what type SMD capacitor this is? Maybe it is hard to see, if that’s the case I will wait till I get the board.
(http://i48.tinypic.com/30ur3g1.jpg)

I think a 0603 but I am not 100% sure.
Title: Re: Project: Converting a milling machine to a CNC machine.
Post by: Pat Pending on April 08, 2013, 07:16:07 pm
Fake TB6560 chips + Inductive load + poor gnd management = loud musical motor tones + erratic steps + smoke + frustration + time and money wasted

I've tried with that exact same board, blew it up and almost abandoned my CNC build.

Title: Re: Project: Converting a milling machine to a CNC machine.
Post by: Spawn on April 12, 2013, 04:51:56 pm
Some update:
The steppers are on their way, Franky (iloveelectronics) got me the stepper motors, and I really appreciate his effort and like to thank him.

I went for 57BYGH56-401A steppers, bipolar NEMA 23 Stepper Motors 175Oz-in 1.8Degre 4Leads 56mm

Meanwhile I stripped down a old backup UPS from APC, I am going to use the case for the power supply and controller board. Ordered some connectors for the axis wiring and a e-stop. Also ordered a 12V 3A PSU for the fans in the case I am going to build and for the fan on the controller board, I don’t want to stress the 12 regulator because it’s known to fail.

I was planning to do some youtube video but I don’t have anything here yet so that will come later on, meanwhile some photo’s below.

The case and the CNC dedicated XP machine in the background:
(http://i193.photobucket.com/albums/z298/Bl4ckW0lfi3/cnc_case_zps682ec334.jpg)


The actual steppers Franky got for me:
(http://i193.photobucket.com/albums/z298/Bl4ckW0lfi3/steppers01_zps583a0350.jpg)

The connectors, e-stop and 12V PS:
(http://i193.photobucket.com/albums/z298/Bl4ckW0lfi3/PlugCNC_zps3b9c6199.jpg) (http://i193.photobucket.com/albums/z298/Bl4ckW0lfi3/estop_zps4774aa4e.jpg) (http://i193.photobucket.com/albums/z298/Bl4ckW0lfi3/12vps_zps343915db.jpg)

Meanwhile I am trying to learn CamBam to create g-codes and this is probably first thing I am going to mill when it works, its own control front panel, holes for connectors and LED’s, the bigger hole is for the e-stop:
(http://i193.photobucket.com/albums/z298/Bl4ckW0lfi3/cambam_cnc_panel01_zps33017934.jpg)
Title: Re: Project: Converting a milling machine to a CNC machine.
Post by: kinsa on May 13, 2013, 03:07:59 am
Hi,

You don't really need a NEMA23 for this little machine. A NEMA17 motor will do.

Here's a pic of my conversion using pololu drivers and a RaspberryPi running linuxcnc as the controller.

(http://imageshack.us/a/img834/2526/13676272.th.jpg) (http://img834.imageshack.us/img834/2526/13676272.jpg)

All the aluminum motor mounts were milled using the MF70. The initial mounts were hand made from 10mm acrylic sheets.

Cheers!
Title: Re: Project: Converting a milling machine to a CNC machine.
Post by: iloveelectronics on May 13, 2013, 10:06:15 am
Some update:
The steppers are on their way, Franky (iloveelectronics) got me the stepper motors, and I really appreciate his effort and like to thank him.

I went for 57BYGH56-401A steppers, bipolar NEMA 23 Stepper Motors 175Oz-in 1.8Degre 4Leads 56mm


Hi Spawn,

Didn't see this thread until just now. I didn't know you were ordering these stepper motors for making a CNC machine. Coincidentally I have actually bought one of those mini Chinese 3020 CNC machines because they look like a lot of fun (but am too lazy/busy to build my own) :D If you don't mind I might post in this thread some pics once I have it set up and running.
Title: Re: Project: Converting a milling machine to a CNC machine.
Post by: Spawn on May 13, 2013, 09:41:46 pm
Franky, I would love to see your pictures :)

Unfortunately I don’t have time at this time of the year like always, working on an airport at high vacation session times don’t help much with the hobbies, probably I won’t have time to finish things till September. But if I find some free time I will start to build this up, I got everything to finish the project.


Kinsa, that is nice setup, about nema23 I know 17 was enough but if I like this CNC stuff I want to build something else that’s why I got bigger ones so I can use it later.
Title: Re: Project: Converting a milling machine to a CNC machine.
Post by: Iano on June 29, 2013, 03:45:00 pm
Just my humble two cents worth, since I stumbled over this conversation and thought I could add my personal experiences with this board. 

I've now bought two of these blue Chinese TB6560 boards in the past couple of years for separate home build CNC projects.  The first 3 axis board I bought separately and then Ebay'ed 3xNema 17 motors from the US.  The second was for a heavier duty build with the 4 axis board package with 4xNema 23 all from China.   The boards work and have served me well, but are not "ideal".  My experience is occasional lost motor steps at higher speeds and the motors are pretty noisy, but nothing that is totally destroying my CNC experience as an enthusiast cutting parts and shapes only for home use.  It has been fun and the Chinese boards were a WAY cheaper option to start things out with.  The problems really are a non-event for me most of the time.

There was little information on the net about them before, but there is more and more each day so setup (without suitable instructions in English at the time!) would probably be easier for the beginner than in the earlier days of this board design. 

Like others, I've spent days on the net in the past reading about all sorts of driver boards and hacks and have seen all the horror stories about Chinese boards.  So far, perhaps I have just been lucky, or too accepting of the occasional missed step at higher speeds.  I can almost say I have enjoyed learning so much by having these slightly flawed boards and being FORCED to research more about them.

One of my TB6560 chips (of all 7 on two boards) had the stray solder problem on Pin 25 of the TB6560.  I was able to scrap it away with a Dremel disc relatively easily.  I am not sure if it was causing problems in operation or not.  Nothing I noticed at the time.

DIP switches all tested out ok.

I have both boards set up on 25V and have a separate relay for the cutter start/stop on the larger 4 axis machine.

I have run one of the boards pretty hard on (non-essential only) jobs during the last year and during Summer.  I use a separate control box fan off the 25V supply to help cool the 4 axis board just in case of risk of overheating ... knowing the stories!  The fan turns on separately with the main on/off switch when the entire system is switched on.  I am not sure if this addition has saved any frying of chips or not.

After all my reading and research to this point, I agree with others.  The Toshiba TB6560 seems to be a good chip by all accounts.  The motor controller board is  "moderately good" (from my experience) to being a lost cause, considering the low cost and generally ok function that allows a CNC machine to work and for CNC builders to get off the ground to start in general. 

I very much doubt the Toshiba TB6560 chips on my boards are fakes at all as some have suggested.   Its just the board design around them that seems a little flawed in places.

I am wondering about the relay protection diode.  I have to admit, I have heard the occasional strange jolt out of the motor.  Its not dead jet though ... lol ;-)

I am now at the point where I am also considering doing board hacks in the close future on one board soon to see if I can make any improvement to motor noise and to refine the lost steps problem for even greater precision.    Approximately 0.5 mm on my large machine is no problem at this stage with the controller as is.
 
I think I have a handle on what is required for the fix, but I am not sure if I will implement all hacks people talk of.  Or use necessarily use the same approach.  When I go ahead, I will let you know what I did and how things turn out.


So in my overall experience, the board is worthwhile for what if achieves with its low cost.  But perhaps only if you are not too serious about total reliability or absolute precision on every project, every time.  The hack fixes should be fun.  they don't seem too hard once you get your head around what's required.
Title: Re: Project: Converting a milling machine to a CNC machine.
Post by: Iano on June 30, 2013, 05:02:36 pm
Wow…
I just read 100+ pages on different forums and there is so many mixed information about this TB6560 most don’t recommend and some like it. The thing is most are using this board for higher voltage and have problems and around 24V there is not much complains, but there is also some easy fixes for smoother runs:  http://www.homediystuff.com/fixing-a-chinese-made-cnc-stepper-motor-driver-board-tb6560-chips/ (http://www.homediystuff.com/fixing-a-chinese-made-cnc-stepper-motor-driver-board-tb6560-chips/)


Wow! I spent a lot of time today on that http://www.homediystuff.com/fixing-a-chinese-made-cnc-stepper-motor-driver-board-tb6560-chips/ (http://www.homediystuff.com/fixing-a-chinese-made-cnc-stepper-motor-driver-board-tb6560-chips/) site you linked to.  It's the first time I've seen it, despite the huge amount of time I've spent researching what's needed for the mods on the net in the past.
The site's worth a look for anyone considering the TB6560 board.  Everything is put in understandable terms with good big pics and explanations of what to do.

Good pics and diagrams that show closeups, so mod changes should be easy enough to follow.  I was a little worried about destroying my board so was hesitating to do the fix before, but I think it should be ok now if this guide does the job???

Doesn't seem to touch on the relay diode addition at all???  My board(s) have been running for ages and haven't really noticed the relay problem too much anyway.  I guess the diode it is not a difficult addition anyway.
Title: Re: Project: Converting a milling machine to a CNC machine.
Post by: jnissen on July 02, 2013, 01:48:52 am
Nice project. I have a complete Sherline setup and have not gone over the CNC cliff just yet. Just a lot of potential options on the software side and with that little machine your really going to be limited in feed rates and project size. Have you done much manual work with the machine? I find it's terrific for enclosures and all but I also build custom pieces for my hobby stuff. I'll be following along to see what you settle on.