586,645 active members*
2,569 visitors online*
Register for free
Login
Page 1 of 2 12
Results 1 to 20 of 28
  1. #1
    Join Date
    Feb 2009
    Posts
    7

    Vertical 4th axis contour machining?

    Hi,

    I recently got to work on a job that was too big for my HAAS VF4, but I soon got around this with a 4th axis that i put flat on the table so that it rotates on the Z axis. Because the job is a big round ring I could program it by hand using only the A, X and Z axis, leaving the Y axis out because the job would crash into the machine.
    This went well for a while until I opened up a new drawing the engineer gave me. It wasn't round any more...well, almost round except for a few places along the circle where there were simple profiles.
    Now I know it is still possible to cut it using only the AXZ axis, the problem is I can't program it by hand, it's gonna be way too complicated for the limited amount of time I have.
    After trying long and hard on CAMworks, I couldn't get anything done, using 4 axis machining turns the cutter to cut perpendicular to the surface I'm cutting. All I want is to cut a contour without using Y axis. I tried MasterCam too, no go there also. I can't imagine that I'm the only one who ever wanted to cut in this way, so that means I must be missing something...Could anyone help?

  2. #2
    Join Date
    Jul 2003
    Posts
    1220
    Can you post a sketch of the contour and give the Y position of the tool relative to the centre of your A.
    Just trying to understand what you require.

  3. #3
    Join Date
    Feb 2008
    Posts
    3
    Use a G68 inyour G18 or 19 plane along with your g2 or 3 add a z move for some Favorrrr!

  4. #4
    Join Date
    Mar 2003
    Posts
    4826
    What comes to my mind is that you'd need something like Mill/Turn functionality because you've got polar coordinate programming to deal with. OneCNC now has this sort of functionality available, obviously meant for lathes with a live 4th, but I can at least imagine hacking a post to make it run on a mill
    First you get good, then you get fast. Then grouchiness sets in.

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

  5. #5
    Join Date
    Feb 2009
    Posts
    7
    Here is a rough sketch, it's bad quality but you can get the general idea. Y axis stands still on Y0.0 in the center of the job. That's also where my A axis rotates.

    I know it doesn't look like much but those curves are critical, and right in the middle of the little profile is a flat part for 35mm.
    Attached Thumbnails Attached Thumbnails polar machining.jpg  

  6. #6
    Join Date
    Jul 2003
    Posts
    1220
    My suggestion would to generate a tool path with G01 steps.
    Open NC file with Excel and calculate Angle and X
    Attached Thumbnails Attached Thumbnails Excel1.JPG  

  7. #7
    Join Date
    Feb 2009
    Posts
    7
    I thought of the same thing this morning while driving to work. That ring you see is 900mm in diameter though, so I'm going to need a way to calculate about 250000 steps to get within 0.02mm between steps. Have you got any idea how I can calculate that fast?

    I saw the pic you sent but my excel knowledge is somewhat limited. If that is the answer I'm looking for could you just explain a bit more in detail?

    This is the way though, I just need to calculate those coordinates.

  8. #8
    Join Date
    Jul 2003
    Posts
    1220
    Quote Originally Posted by Un4givn View Post
    .....so I'm going to need a way to calculate about 250000 steps to get within 0.02mm between steps.

    I saw the pic you sent but my excel knowledge is somewhat limited. If that is the answer I'm looking for could you just explain a bit more in detail?
    When the path is on a constant radius, only one line of code is required, but when machining the flats and the small arcs, I believe you need many short movements to maintain accuracy.

    The method I'm suggesting has a number of steps to get what you require, but I don't have a 4th axis CAM program to advise using one.

    Please supply some details of your drawing and I will supply some code with details on the method I'm using.

  9. #9
    Join Date
    Feb 2008
    Posts
    3

    To Anyone

    I want to Buy a 20" swing lathe (not to require that it is cuts to that dia) just need it to be fadal or the Kentucky thourghbreed, A MAZAK, either way I m a lookin @ all ,, Thanks

  10. #10
    Join Date
    Apr 2005
    Posts
    713
    You don't need to make it complicated. Position the tool where needed and feed A until you get to the first radius going into one of the tabs. Stop the A right there and lead out along that radius. Then reenter the cut and interpolate the step without moving A. Reposition so Y is on centerline with A again and keep cutting until you encounter the next tab.

    If you're programming manually, just make the above into a local sub and loop it in Z until you're through, then change your D number for that tool and run the finish pass. No biggie.

  11. #11
    Join Date
    Jul 2003
    Posts
    1220
    Quote Originally Posted by Matt@RFR View Post
    You don't need to make it complicated...........
    I like your approach but this may only be possible if the Y travel doesn't crash the job into the machine.

    Quote Originally Posted by Un4givn View Post
    ........ leaving the Y axis out because the job would crash into the machine......

  12. #12
    Join Date
    Apr 2005
    Posts
    713
    Thanks Kiwi, I missed that part somehow. Those tabs on the part look small so hopefully he's got enough room to move Y by that much. If not, that is one tight fit!

  13. #13
    Join Date
    Feb 2009
    Posts
    7
    Nope, no room, I've literally got 4mm of space behind the job before it crashes in Y. The other problem is that there is a flat spot on the tabs for 35mm.

    But I had a stroke of genius yesterday. I drew 120 degrees of the profile(basicaly from the start of one tab to the start of the other) in a straight line by taking key points and using the radius for X and the angle for Y. After I've done that I scaled the Y up to the total length of the profile for the 120 degrees so I could put in the tangent arcs. Then I scaled back down to 120 mm. I hope this makes sense so far...

    Now all I need to do is program this weird looking straight profile and change all the Y's to A's. Some minor tweaks will need to be done in the program but that's no biggie, and I can use this in a subprogram to cut the whole 360 degrees.

    I'm busy double checking everything but so far it seems as though it's gonna work. Here's a pic.
    Attached Thumbnails Attached Thumbnails straight alum ring.jpg  

  14. #14
    Join Date
    Jul 2003
    Posts
    1220
    Attached is a program to calculate the Angle and the X dim for half the flat only.
    If this agrees with you figures and is of any use I will modify as required.
    Attached Files Attached Files

  15. #15
    Join Date
    Feb 2009
    Posts
    7
    Cool I'll have a look at it and compare it to the solid and the method I came up with. Quite a handy little program.
    Does the method I described make any sense to you?

  16. #16
    Join Date
    Jul 2003
    Posts
    1220
    Quote Originally Posted by Un4givn View Post
    ..........Does the method I described make any sense to you?
    Sorry, no I haven't seen the light yet.
    The constant radius is no problem and if your code/calculator code is good for the flats, how important is the transition from the flat to the curve?

  17. #17
    Join Date
    Feb 2008
    Posts
    553
    Quote Originally Posted by Kiwi View Post
    Attached is a program to calculate the Angle and the X dim for half the flat only.
    If this agrees with you figures and is of any use I will modify as required.
    #####OUT OF TOPIC WARNING######

    Hi Kiwi !

    I'm a student in the computing & networking field & i'm impressed by your program i also got a few questions:

    1) Which programming language did you use ?
    2) How is the G code generated ?
    3) Is there any G code programming library or you wrote all the routines by yourself ?

    Guys excuse me going out of topic.

    Thanks !
    cnc2.

  18. #18
    Join Date
    Jul 2003
    Posts
    1220
    Quote Originally Posted by cnc2 View Post
    1) Which programming language did you use ?
    2) How is the G code generated ?
    3) Is there any G code programming library or you wrote all the routines by yourself ?
    Hi CNC2
    1.The program is written with VisualBasic6
    2.The code is generated by looping though the arc range while calculating the positions which are added to a String.
    3.All my own work.
    I've written a number of programs like this one to generate code.
    I prefer to generate code this way than to write a GCode macro to run on the controller.

  19. #19
    Join Date
    Feb 2008
    Posts
    553

    Thanks for the reply Kiwi !

    Great work man, how long did it take to program the conversion of the output to G code ?
    Does it require a full mastering of Gcode or it requires just a conversion table ?

    Which way should i follow to reach that level of programming ? (do i need to know about graphics or you just use a circle function for a given range and then call a line function for another range)

    Excuse my last question, sometimes things are more complicated than they look like & sometimes it's of childish simplicity but it remains hidden to the naked(newbie) eye.

    Sorry guys.

    Thanks !
    cnc2.

  20. #20
    Join Date
    Jul 2003
    Posts
    1220
    Quote Originally Posted by cnc2 View Post
    ...how long did it take to program the conversion of the output to G code ?.....
    The VB loop output is the angle and the X dimension so only the 'A' and 'X' need to be added to become GCode.

    Quote Originally Posted by cnc2 View Post
    ...Does it require a full mastering of Gcode or it requires just a conversion table ?
    As the output is made up of 'A' rotations and 'G01 X' movements there is very little GCode knowledge required....

    Quote Originally Posted by cnc2 View Post
    ...Which way should i follow to reach that level of programming ?....
    For this exercise you need to understand where the tool should be as the disc rotates so a basics of trig is required. I do a drawing with CAD to confirm the figures.

Page 1 of 2 12

Similar Threads

  1. C - Axis Face Contour w/ Mastercam
    By rexster_001 in forum Mastercam
    Replies: 9
    Last Post: 12-02-2011, 12:36 PM
  2. the Difference of 2-Axis and 3-Axis of Vertical Mill Machine
    By begacon in forum Knee Vertical Mills
    Replies: 6
    Last Post: 07-30-2009, 12:31 PM
  3. c-axis cross contour help
    By fenix728 in forum Mastercam
    Replies: 2
    Last Post: 12-08-2008, 03:31 PM
  4. Beaver VC 15 Vertical Machining Center
    By MACHINEYARD in forum Uncategorised MetalWorking Machines
    Replies: 0
    Last Post: 11-11-2008, 08:40 AM
  5. CNC Vertical machining center
    By soumen in forum Mori Seiki lathes
    Replies: 0
    Last Post: 03-11-2008, 03:06 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •