Indexing head

Discussion in 'Software and Programming' started by Johno1958, Mar 5, 2017.

Help Support HMEM by donating:

  1. Mar 5, 2017 #1

    Johno1958

    Johno1958

    Johno1958

    Well-Known Member Project of the Month Winner HMEM Supporter

    Joined:
    Sep 19, 2015
    Messages:
    218
    Likes Received:
    73
    This is my first ever project I have built.
    Thank you to cfellows and rodw ,works like a charm.
    Cheers
    John

    IMG_0740.JPG
     
  2. Mar 5, 2017 #2

    gabby

    gabby

    gabby

    Well-Known Member

    Joined:
    Aug 3, 2009
    Messages:
    90
    Likes Received:
    13
    congrats that's a very tidy wee unit
    Gabby
     
    Johno1958 likes this.
  3. Mar 5, 2017 #3

    Herbiev

    Herbiev

    Herbiev

    Administrator Staff Member Administrator Global Moderator

    Joined:
    Jan 6, 2011
    Messages:
    2,352
    Likes Received:
    304
    Well done. Looks great.
     
    Johno1958 likes this.
  4. Mar 5, 2017 #4

    Johno1958

    Johno1958

    Johno1958

    Well-Known Member Project of the Month Winner HMEM Supporter

    Joined:
    Sep 19, 2015
    Messages:
    218
    Likes Received:
    73
    Thanks very much.
    I did have a little trouble with the TB6560 driver I used but at 10 dollars and a little bit of fiddling it doesn't miss a beat.
    Cheers
    John
     
  5. Mar 9, 2017 #5

    rodw

    rodw

    rodw

    Well-Known Member

    Joined:
    Dec 3, 2012
    Messages:
    1,125
    Likes Received:
    334
    Very nice. Did you adopt an existing sketch or change it to suit yourself?
     
  6. Mar 9, 2017 #6

    Johno1958

    Johno1958

    Johno1958

    Well-Known Member Project of the Month Winner HMEM Supporter

    Joined:
    Sep 19, 2015
    Messages:
    218
    Likes Received:
    73
    Thanks Guys
    Rod I"m using your sketch which is slightly modified in the parameters.
    Micro steps 16.This is the only way I can get it to run sweetly without it groaning and missing steps.
    Ratio 6 .The head is only temp. until I can afford a table.
    Max Frequency 8000
    Timer Delay 70
    I'm using a 24 volt 5amp wall wart type power supply with a 100uf cap to filter it a little more.The stepper motor is quite powerful 1.8 amp 333oz inch motor and holds very well using a spanner to test. Er25 collet.
    Accuracy using a protractor is spot on and i can run it back and forth for an hour using all functions, hit the home button and straight back to where I set it.
    The TB6560 is rated at 3 amps stepper . 30volts. All inputs are earthed except
    Enable.
    I have to thank you again for the effort you put into that program.
    Cheers
    John
     
  7. Mar 10, 2017 #7

    rodw

    rodw

    rodw

    Well-Known Member

    Joined:
    Dec 3, 2012
    Messages:
    1,125
    Likes Received:
    334
    Johno, thanks for the wrap, I'm glad you got value out of my sketch. One of these days I will move my temp setup into a box. I got a bit distracted after I started to build a plasma table with the left over stepper controllers.

    8,000 Hz sounds about right. I have to say since I have been playing with LinuxCNC, my Arduino stepgen algorithm could be improved. I made a deliberate decision that the step pulses for on and off would be the same length to simplify the code. LCNC has a more sophisticated stepgen algorithim. When I tested it, LCNC can run at almost double the stepgen frequency I got out of the Arduino using the same stepper controller.

    Having said that, my algorithim was no better or worse than the other Arduino stepper motor sketches out there. So my Mesa card with its inbuilt stepgen lets me do something like 55,000 Hz as I am using 25x microstepping. This equates to about 700 rpm vs the 400 rpm I could get out of the Arduino.
     
    Johno1958 likes this.
  8. Mar 11, 2017 #8

    Johno1958

    Johno1958

    Johno1958

    Well-Known Member Project of the Month Winner HMEM Supporter

    Joined:
    Sep 19, 2015
    Messages:
    218
    Likes Received:
    73
    Just had a look at your plasma table thread and WOW you don't do any things by half measures . Its all over my head but but all I can say is WOW lol.
    Cheers
    John
     
    rodw likes this.
  9. Mar 11, 2017 #9

    rodw

    rodw

    rodw

    Well-Known Member

    Joined:
    Dec 3, 2012
    Messages:
    1,125
    Likes Received:
    334
    Yeh, it kinda got out of hand. I just hope it all works once I join it all up. It all started becasue I had some spare stepper controllers...
     
  10. Mar 11, 2017 #10

    Herbiev

    Herbiev

    Herbiev

    Administrator Staff Member Administrator Global Moderator

    Joined:
    Jan 6, 2011
    Messages:
    2,352
    Likes Received:
    304
    Just wondering where you got your TB6560 from. I have bought two so far and each time they blew up after only a very short period.
     
  11. Mar 12, 2017 #11

    Johno1958

    Johno1958

    Johno1958

    Well-Known Member Project of the Month Winner HMEM Supporter

    Joined:
    Sep 19, 2015
    Messages:
    218
    Likes Received:
    73
  12. Mar 13, 2017 #12

    MachineTom

    MachineTom

    MachineTom

    Senior Member HMEM Supporter

    Joined:
    Oct 20, 2010
    Messages:
    890
    Likes Received:
    121
    How do you intent to lock the spindle when machining the work. A brake of some sort?
     
  13. Mar 13, 2017 #13

    Johno1958

    Johno1958

    Johno1958

    Well-Known Member Project of the Month Winner HMEM Supporter

    Joined:
    Sep 19, 2015
    Messages:
    218
    Likes Received:
    73
    Yes I was thinking that I may have to lock it down some how but for small parts If you check out cfellows thread
    http://www.homemodelenginemachinist.com/showthread.php?t=17896
    I may not have to do this but I haven't tried it out yet. I really made this for a rotary table which won't be that far down the track.
    Got me thinking now .
    Cheers
    John
     
  14. Mar 14, 2017 #14

    rodw

    rodw

    rodw

    Well-Known Member

    Joined:
    Dec 3, 2012
    Messages:
    1,125
    Likes Received:
    334
    I'd wait until you try it, you might be surprised how much holding torque your stepper motor has.
     
  15. Mar 14, 2017 #15

    MachineTom

    MachineTom

    MachineTom

    Senior Member HMEM Supporter

    Joined:
    Oct 20, 2010
    Messages:
    890
    Likes Received:
    121
    Having worked with RT's, DH's and simple indexers, When you try to square the end of a .625 round to .500. you will find out what kind of forces are put into the work from the cutting tool. Both my DH, and RT's have spindle locks, even though they have worm gearing. 40:1, and 90:1. These can't backfeed torque, but any backlash in the gearing shows in the work. A toothed belt is not a good choice as applied here.
     
    John S likes this.
  16. Mar 14, 2017 #16

    Johno1958

    Johno1958

    Johno1958

    Well-Known Member Project of the Month Winner HMEM Supporter

    Joined:
    Sep 19, 2015
    Messages:
    218
    Likes Received:
    73
    I'll have to give it a go on the weekend and see how much chatter going to happen.
    Cheers
    John
     
  17. Mar 15, 2017 #17

    John S

    John S

    John S

    Well-Known Member

    Joined:
    Apr 13, 2008
    Messages:
    654
    Likes Received:
    40
    First one I built had a massive type 42 motor on it and quite a low belt drive reduction. First job I did was a set of splines and after two splines the job was scrap as they were traveling in a spiral due to cutting forces.

    That went into the scrap bin and got replaced by a stepper driven dividing head at 40:1 ratio and never looked back.

    These belt driven ones seem to come from China as positioning for laser cutters where it's all non contact but now, because they are easy to make they have gotten very popular but I question how many actually get used ?
     
  18. Apr 13, 2017 #18

    Johno1958

    Johno1958

    Johno1958

    Well-Known Member Project of the Month Winner HMEM Supporter

    Joined:
    Sep 19, 2015
    Messages:
    218
    Likes Received:
    73
    Sorry for taking so long.
    I haven't tried it out yet but I have given it some thought. If I need to I will
    fit a clamping collar to the front of it. I have 15mm of shaft protruding out the back .
    Cheers
    John
     
  19. Jan 27, 2019 #19

    Johno1958

    Johno1958

    Johno1958

    Well-Known Member Project of the Month Winner HMEM Supporter

    Joined:
    Sep 19, 2015
    Messages:
    218
    Likes Received:
    73
    I have just upgraded my little indexing head to a 6" vetex rotary table 90:1 ratio. I also upgraded to tb6050 stepper driver to a cheap Leadshine
    closed loop driver knock off and a 36 volt 9 amp power supply. It appears to be working very well. You may notice two leads coming from the stepper , one
    is an encoder. Suppose to be accurate and will bring up an error code ( flashes out a code on a red led ) if some thing goes wrong like missing steps or over shoot
    or under voltage ect. IMG_20190127_113343.jpg
    John
     
    minh-thanh likes this.
  20. Jan 27, 2019 #20

    rodw

    rodw

    rodw

    Well-Known Member

    Joined:
    Dec 3, 2012
    Messages:
    1,125
    Likes Received:
    334
    Be careful Johnno, You will get the CNC bug with your first upgrade behind you now! ooops, I just purchased a 120 amp plasma cutter to go on my table. Pierces 16mm thick mild steel and edge starts 25mm! Very nice upgrade of yours though!
     
    TorontoBuilder likes this.

Share This Page