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

Thread: Peck Milling

  1. #1
    Registered
    Join Date
    Aug 2011
    Location
    USA
    Posts
    14
    Downloads
    0
    Uploads
    0

    Peck Milling

    Having trouble writing a peck milling subroutine using cutter comp. Any suggestions?We have a Haas VF2, with the very latest software.


  2. #2
    Registered
    Join Date
    Apr 2005
    Location
    Paradise, Ca, USA
    Posts
    623
    Downloads
    0
    Uploads
    0
    You mean plunge roughing? Never heard of "Peck milling". What exactly is your issue? Nobody can help unless they actually know what is not working.


  3. #3
    Registered
    Join Date
    Jul 2005
    Location
    Canada
    Posts
    11,960
    Downloads
    0
    Uploads
    0
    Ditto.

    Peck drilling?

    Plunge roughing?

    Trochoidal milling? (It could be considered a form of Peck Milling).

    More info please.
    An open mind is a virtue...so long as all the common sense has not leaked out.


  4. #4
    Registered
    Join Date
    Aug 2011
    Location
    USA
    Posts
    14
    Downloads
    0
    Uploads
    0

    Peck Milling

    What I mean here is that I want to mill contours at progressively deeper Z depths using a subroutine, if possible. I've run Hurcos for years and it just asks for "peck depth". With cutter comp., if possible.


  • #5
    Registered glovebox20's Avatar
    Join Date
    Jul 2007
    Location
    US
    Posts
    337
    Downloads
    0
    Uploads
    0
    Can you post a sample of your code? There are many way this can be done with g-codes and sub programing but none of them will be as simple as the Hurco's.


  • #6
    Registered
    Join Date
    Apr 2005
    Location
    Paradise, Ca, USA
    Posts
    623
    Downloads
    0
    Uploads
    0
    Ahh. I think most people are going to call that Z level roughing or something similar.

    G0 G80 G90
    M6 T1
    G43 H1
    M3 Ssss
    G54 G0 Xxxx Yyyy
    Z.25 M8
    G1 Z-.375 F50.
    M97 P100
    G1 Z-.75 F50.
    M97 P100
    G1 Z-1.125
    M97 P100

    G0 Z.25 M9
    M6 T2
    (ETC)

    N100 G1 G41 D1 Xxxx Yyyy
    (PROFILE CODE HERE)
    G1 G40 Xxxx Yyyy
    M99

    You could do the tool change and prep commands in the subroutine if you think you will have to restart at any of your Z levels.


  • #7
    Registered
    Join Date
    Jul 2005
    Location
    Canada
    Posts
    11,960
    Downloads
    0
    Uploads
    0
    That is simple. Put your contour code in a subroutine and have an incremental Z move in the line for the subroutine call which also has an L count. Something like this:

    G00 X Y Z0.1 (Start position clear of the contour)
    G91 G01 Z-.10 F20. M97 P1000 L10
    etc
    etc
    etc
    M30
    N1000 G90 (All the contour code)
    M99

    To use tool comp have the tool comp command in the subroutine and cancel tool comp back to the start position.
    An open mind is a virtue...so long as all the common sense has not leaked out.


  • #8
    Registered
    Join Date
    Aug 2011
    Location
    USA
    Posts
    14
    Downloads
    0
    Uploads
    0
    This just a generic sample of a program stepping down at .025. I had trouble changing the peck to .050, even though I altered the z start position and the number of loops, along with the incremental steps. When I wrote a small contour using cutter comp, I followed the rules for turning cutter comp. on and off and made sure I started and stopped in the same spot. When I test ran the program, it moved down one "peck" and finished the other loops at that same depth.

    %
    O01000
    (MULTIPLE PASS PROGRAM EXAMPLE)

    T1 M06
    G00 G54 G90 X0 Y0.
    S1250 M03
    G43 H01 Z1. M08
    G01 Z0 F50.
    M97 P100 L20
    G00 G90 Z1. M09
    G53 Z0 M05
    G53 Y0
    M30

    N100 (MULTIPLE PASS MILLING SUB.)
    G91 G01 X0. Z-0.025
    G90 Y-3.5 F10.
    G00 G91 X0.01 Z0.025
    G90 Y0.
    X0.
    G91 Z-0.025
    M99
    %


  • #9
    Registered
    Join Date
    Jul 2005
    Location
    Canada
    Posts
    11,960
    Downloads
    0
    Uploads
    0
    The code you posted works fine. Where is the code that didn't work.
    An open mind is a virtue...so long as all the common sense has not leaked out.


  • #10
    Registered
    Join Date
    Aug 2011
    Location
    USA
    Posts
    14
    Downloads
    0
    Uploads
    0
    Excellent answers, both, and much appreciated!! One more question; Does this mean that a subroutine can only do one thing at a time?


  • #11
    Registered
    Join Date
    Aug 2011
    Location
    USA
    Posts
    14
    Downloads
    0
    Uploads
    0
    Geof, sadly, I deleted it, but I will recreate it after work. Thanks a lot!!


  • #12
    Registered
    Join Date
    Jul 2005
    Location
    Canada
    Posts
    11,960
    Downloads
    0
    Uploads
    0
    A subroutine can do whatever you want it to do. It can be a complete program including toolchanges and changes in work zeroes or it can be simply a list of X, Y coordinates that can be used by a spotting, drilling and tapping sequence.
    An open mind is a virtue...so long as all the common sense has not leaked out.


  • Page 1 of 2 12 LastLast

    Similar Threads

    1. tap peck
      By fjbart70 in forum Mastercam
      Replies: 1
      Last Post: 02-17-2011, 08:22 PM
    2. 17-4 peck tapping
      By Delw in forum Haas Mills
      Replies: 18
      Last Post: 12-10-2010, 08:43 PM
    3. G74 peck cycle
      By hmc710 in forum Colchester Tornado lathes
      Replies: 1
      Last Post: 10-08-2010, 09:49 AM
    4. Need Help!- peck drilling?
      By Tristar500 in forum BobCad-Cam
      Replies: 1
      Last Post: 01-20-2010, 02:25 PM
    5. To Peck drill or not to peck dril.....
      By Crashmaster in forum General Metalwork Discussion
      Replies: 20
      Last Post: 08-23-2008, 12:33 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.