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

Thread: Looking to write a canned cycle for VMC broaching

  1. #1
    Registered
    Join Date
    Jul 2008
    Location
    USA
    Posts
    98
    Downloads
    0
    Uploads
    0

    Looking to write a canned cycle for VMC broaching

    I have a Fadal 4020VMC CNC88HS - 1995 vintage... I am using HSMWorks in Solidworks for my CAM.

    Looking to accomplish this:
    http://www.youtube.com/watch?v=iO81YZsUc_4]Broaching a keyway Haas VF-7 - YouTube

    Using one of these tools in a collet holder:
    Broach Tool Specifications for Razorform Tools

    Obviously there isn't a canned cycle for this in the s/w....so could anyone help me with coding this? I am really kind of green with G-code, but probably could accomplish this with some guidance.

    Thanks!!


  2. #2
    Registered
    Join Date
    May 2004
    Location
    United States
    Posts
    4,519
    Downloads
    0
    Uploads
    0
    Why do you need a canned cycle?
    http://www.kirkcon.com/


  3. #3
    Registered
    Join Date
    Jul 2008
    Location
    USA
    Posts
    98
    Downloads
    0
    Uploads
    0
    Not sure I do.

    Really just need to accomplish what's in the video.

    Thanks.


  4. #4
    Registered dcoupar's Avatar
    Join Date
    Mar 2003
    Location
    USA
    Posts
    2,501
    Downloads
    0
    Uploads
    0
    It looks like it could be done with a G81 cycle and repeat - not sure how to do this on a Fadal, but here's one idea for a Fanuc.

    G00 X0 Y0 M19 (POSITION TO CENTER & ORIENT SPINDLE)
    G43 Z0.5 H01
    G81 G91 X-0.01 Z-1.5 F50. K20 (20 PASSES @ 0.01 PER PASS)
    G00 G28 Z0


  • #5
    Registered
    Join Date
    May 2004
    Location
    United States
    Posts
    4,519
    Downloads
    0
    Uploads
    0
    Unless you have a lot of part sizes to handle, a G91 loop/subprogram will probably be easiest.

    Repeat number of times needed for final X.

    G91 X(Stepover)
    Z-(Depth)
    Z+(Depth)
    M99
    http://www.kirkcon.com/


  • #6
    Registered
    Join Date
    Feb 2009
    Location
    usa
    Posts
    4,005
    Downloads
    0
    Uploads
    0
    Not sure on your machine, but you do show a hs spec. Make sure it does not have ceramic spindle bearings, and go light on the cuts. Spindle bearings really hate shock load on them when they aren't rotating,


  • #7
    Registered
    Join Date
    Sep 2010
    Location
    Australia
    Posts
    985
    Downloads
    0
    Uploads
    0
    Quote Originally Posted by dcoupar View Post
    It looks like it could be done with a G81 cycle and repeat - not sure how to do this on a Fadal, but here's one idea for a Fanuc.

    G00 X0 Y0 M19 (POSITION TO CENTER & ORIENT SPINDLE)
    G43 Z0.5 H01
    G81 G91 X-0.01 Z-1.5 F50. K20 (20 PASSES @ 0.01 PER PASS)
    G00 G28 Z0
    Dave's solution would be clean. The code for the Fadal control is as follows:
    G81 Z-1.5 F50
    G91 X-0.01 L20 (20 PASSES @ 0.01 PER PASS)
    G80

    An R argument can be used in the G81 cycle to set an R Plane from which feed will commence. In G90 mode the R value is relative to the Workpiece Z Zero, in G91 mode the R value is relative to the Initial Z Plane. The Initial Level is the last Z level before executing the canned cycle.

    Absolute and Incremental can be mixed in the cycle. For example the Z move can be in absolute and the X move in Incremental.

    Regards,

    Bill


  • #8
    Registered
    Join Date
    Jul 2008
    Location
    USA
    Posts
    98
    Downloads
    0
    Uploads
    0
    Thanks for the help - I am going to try it out this week!!

    Thanks again!


  • #9
    Registered
    Join Date
    Jan 2009
    Location
    united states
    Posts
    19
    Downloads
    0
    Uploads
    0
    Carefull on your depth of cut. I do this on a horizontal boring bar quite a bit and only take .002" each stroke, it can be very hard on the thrust bearing on the back of the spindle. Also it's a good idea to have the machine move away from the cut on the return stroke rather than drag it across the part, otherwise it can chip out the face of your tool pretty easily.


  • #10
    Registered
    Join Date
    Feb 2006
    Location
    india
    Posts
    1,273
    Downloads
    0
    Uploads
    0
    If I recall correctly:
    In incremental mode, X, Y, Z and R, all are incremental values. However, R is measured relative to the Z level of the tool just before calling the canned cycle, whereas Z is measured from the R level defined in the cycle.

    Simplest way is to make the first hole in the absolute mode and the remaining holes (two in this example) in the incremental mode:
    G90 G73 G99 X50 Y25 Z-25 Q3 R2 F50
    G91 X20 K2
    Note that, in the incremental mode as well as in the absolute mode, if a particular word is not specified, its value remains unchanged (Y, Z and R, in this case).


  • #11
    Registered FuddMcDee's Avatar
    Join Date
    Jul 2011
    Location
    USA
    Posts
    60
    Downloads
    0
    Uploads
    0
    what about using a WHILE command in there? turn it into a somewhat universal program?
    WHILE[#500LT10.]DO1


  • #12
    Registered
    Join Date
    Feb 2006
    Location
    india
    Posts
    1,273
    Downloads
    0
    Uploads
    0
    Quote Originally Posted by FuddMcDee View Post
    what about using a WHILE command in there? turn it into a somewhat universal program?
    WHILE[#500LT10.]DO1
    That is right.
    In fact, nested WHILE can be used for xy array of holes.
    See the attachment for more details.
    Attached Files Attached Files


  • Page 1 of 2 12 LastLast

    Similar Threads

    1. Need Help!- Bad Z or R value in canned cycle
      By KevinV_MEI in forum Fadal
      Replies: 4
      Last Post: 04-21-2012, 11:27 AM
    2. Newbie- Need Help with a canned cycle
      By gtkemp in forum General CNC (Mill and Lathe) Control Software (NC)
      Replies: 1
      Last Post: 06-07-2011, 12:12 AM
    3. Need Help!- G83 Canned Cycle
      By jammer66 in forum Fanuc
      Replies: 3
      Last Post: 02-01-2011, 06:15 AM
    4. Need Help!- newibie here real green how do i write a canned cycle
      By bobrob in forum Haas Lathes
      Replies: 2
      Last Post: 12-22-2009, 08:05 PM
    5. Canned OD cycle?
      By VWbmx in forum Haas Mills
      Replies: 7
      Last Post: 06-05-2009, 01:17 PM

    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.