Page 1 of 2 12 LastLast
Results 1 to 12 of 14

Thread: How do I synchronize 4th axis speed with X,Y,Z?

  1. #1
    Registered buscht's Avatar
    Join Date
    Nov 2003
    Location
    United States
    Posts
    634
    Downloads
    0
    Uploads
    0

    Question How do I synchronize 4th axis speed with X,Y,Z?

    I've got my 4th axis built and have started to use it. So far, I've been just using it as an indexer and doing traditional X,Y, and Z milling.

    But if I want to do full 4 axis contouring I am not sure how to get the 4th axis speed to be in sync with the other 3 axis.

    For example, let's say that I am cutting at 60" per minute. My part is 3.819" in diameter. That would make the outer circumference 12".

    That means that to cut in the 4th axis at 60" per minute, I'd have to spin the axis at 5 revolutions per minute. 60/12 = 5.

    But if I use this code for example
    G01 X12 A360 F60.
    Won't it take 6 minutes to spin the 4th axis 360 degrees?

    Is my logic incorrect? Or do I need to map the 4th axis as linear and use this code?
    G01 X12 A12 F60

    4th axis work is new to me, so any help is appreciated.
    Thanks
    Trent


  2. #2
    Community Moderator ger21's Avatar
    Join Date
    Mar 2003
    Location
    Shelby Twp, MI....USA
    Posts
    22,293
    Downloads
    0
    Uploads
    0
    I think it depends on the control. But if you issue a command like

    G01 X12 A360 F60, both the X and A should get to there destinations at the same time. Whether it takes 12 seconds or 6 minutes, you'll have to check. Using the axis as linear is something I've seen on the TurboCNC group to solve this type of problem.
    Gerry

    Mach3 2010 Screenset
    http://home.comcast.net/~cncwoodworker/2010.html

    (Note: The opinions expressed in this post are my own and are not necessarily those of CNCzone and its management)


  3. #3
    Registered
    Join Date
    Jan 2004
    Location
    USA
    Posts
    222
    Downloads
    0
    Uploads
    0
    Trent,

    Can I see a picture of your 4th axis in position? I'd like to allow sufficient room on my machine so I can add the same!

    Thanks,

    Mike...


  4. #4
    Registered wisp's Avatar
    Join Date
    Mar 2004
    Location
    usa
    Posts
    174
    Downloads
    0
    Uploads
    0
    Most controllers auto switch to degrees per minute when a 4th axis move is made. A simple formula to calculate IPM into DPM is,
    DPM = 360 x IPM / circumference
    this works pretty well in most cases. just be carefull if you are making small index moves and large X or Y moves. Imagine making a 1 degree index with a 10" X move, at a feed of F360, thats one RPM. the index will take about a second, but at the same time the X axis will try to move the 10" in that one second. youch.
    www.cncfusion.com CNC kits for Sieg mills and lathes


  • #5
    Registered
    Join Date
    Jul 2005
    Location
    Canada
    Posts
    11,960
    Downloads
    0
    Uploads
    0

    Geof

    Ger is correct, if you put in a G01 move that includes linear and rotary axes they get to the end at the same time. You do have to be careful if you are dealing in degrees on the rotary axis because of course the cutter is seeing the peripheral speed; the rotary might be able to make the move at the feed you program but this might translate into a heavy cut.


  • #6
    Registered buscht's Avatar
    Join Date
    Nov 2003
    Location
    United States
    Posts
    634
    Downloads
    0
    Uploads
    0
    Mike, this isn't mine but I copied it so it looks real similar.
    http://www.cnczone.com/gallery/showp...puser/223/sl/m

    Thanks for all the replies.
    Trent


  • #7
    Registered
    Join Date
    Jun 2004
    Location
    Canada
    Posts
    44
    Downloads
    0
    Uploads
    0
    I should look at our coding her eat work all of our machines run
    xy and a no z still three axis but A is rotory
    with a centroid control
    i have been putting them together for so long
    never really to look at the cnc code they run thats our programmers
    job really his software does a fine job with it

    but I know we are running it linear where 1" is one revolutiuon
    granted they are aon a 30-1 gear reduction drive and some sick 29inlb serveros
    with crazy high encoder counts but I'll dig in co some of the code for a simple cylinder
    here in a minute


  • #8
    Registered
    Join Date
    Jun 2004
    Location
    Canada
    Posts
    44
    Downloads
    0
    Uploads
    0
    X-1 A21.1361 Y6.1475 F50.1597
    X-1 A21.1388 Y6.1472 F50.1595
    X-1 A21.1416 Y6.1470 F50.1597

    just snipit of the code we run
    this would carve a 2 inch cylinder in our machines
    the code is close to 5,000 lines though
    as you can see i tis only moving a few thou
    for each point along y which is layed out as a
    vertical axis x is horizontal and A is rotary

    it doesn't make pretty squares though almost we have tried
    it isn't what it was ment for with a 5/8 x 11" carbide cutter it makes
    short work of foam though


  • #9
    Registered buscht's Avatar
    Join Date
    Nov 2003
    Location
    United States
    Posts
    634
    Downloads
    0
    Uploads
    0
    Thanks for checking broncosis,
    Trent


  • #10
    Community Moderator ger21's Avatar
    Join Date
    Mar 2003
    Location
    Shelby Twp, MI....USA
    Posts
    22,293
    Downloads
    0
    Uploads
    0
    Trent, let us know what you find out. What controller are you using?
    Gerry

    Mach3 2010 Screenset
    http://home.comcast.net/~cncwoodworker/2010.html

    (Note: The opinions expressed in this post are my own and are not necessarily those of CNCzone and its management)


  • #11
    Registered
    Join Date
    Jun 2004
    Location
    Canada
    Posts
    44
    Downloads
    0
    Uploads
    0
    not sure how much it
    helps but figured it
    may provide some insight


  • #12
    Registered buscht's Avatar
    Join Date
    Nov 2003
    Location
    United States
    Posts
    634
    Downloads
    0
    Uploads
    0
    I am using the 4 axis Xylotex controller. If I find out anything useful, I'll report back here.


  • Page 1 of 2 12 LastLast

    Posting Permissions


     


    About CNCzone.com

      We are the largest and most active discussion forum from DIY CNC Machines to the Cad/Cam software to run them. The site is 100% free to join and use, so join today!

    Follow us on

    Facebook Dribbble RSS Feed


    Search Engine Friendly URLs by vBSEO ©2011, Crawlability, Inc.