586,655 active members*
2,950 visitors online*
Register for free
Login
Results 1 to 5 of 5
  1. #1
    Join Date
    Oct 2005
    Posts
    22

    Cool Hone one hole multiple times

    I am trying to hone out a hole with a flex hone. Is there a macro or looping program to do this instead of repeating the x,y position over and over again?

    Ex.

    G0 G90 G54 X0 Y0 M3 S850
    G43 Z.1 H1 M8
    G85 X0 Y0 R.1 F300.
    X0 Y0
    X0 Y0
    X0 Y0
    X0 Y0
    X0 Y0
    AND SO ON AND SO ON
    G80 Z.1 M9

    any help would be appreciated.

  2. #2
    Join Date
    Feb 2008
    Posts
    586
    Maybe put it in a sub and call from the main program:

    G0 G90 G54 X0 Y0 M3 S850
    G43 Z.1 H1 M8

    M98P1000L100

    and your sub....

    O1000
    G85X0Y0R.1 (what about z?) F300.
    M99

  3. #3
    Join Date
    Mar 2005
    Posts
    988
    What control is this? Some controls will accept a repeat command with the canned cycle such as an "L"...

    G85 X0 Y0 Z-?? R.1 F300. L20


    .... Or even a "K" ...
    It's just a part..... cutter still goes round and round....

  4. #4
    Join Date
    Oct 2005
    Posts
    22
    They are fanuc controls on Mori VMC. The depth is 1"

  5. #5
    Join Date
    Jun 2008
    Posts
    1511
    What model Fanuc control are you using?

    There is a few different ways that you could do it. As Beege and Psyco have already suggested you can do a subprogram with the L value to repeat the sub for the amount of holes that you want. One thing is you have to have a same or common distance between the holes, like 1” apart.

    You can also use macroB if that option is on your control. There would be no need to have a subprogram. This can be done a few ways using the “IF” or “WHILE” statement. If you are going to be running parts were the number of holes changes or the distance between the holes changes then you can setup variables so you can change them easily per part. I need to know the common X()Y() values of each location. The example below will do 10 holes across in X spaced 1” apart. If you need to add the Y() distances it will have to be changed but it will give you the general idea.


    #1=10(NUMBER OF HOLES)
    #2=1(DISTANCE BETWEEN HOLES)
    #3=0(COUNTER)
    G0 G90 G54 X0 Y0 M3 S850
    G43 Z.1 H1 M8
    WHILE[#3LE#1]DO1
    G85 X#3 Y0 R.1 Z-1.0 F300.
    #3=#3+#2
    END1
    G80 Z.1 M9

    Stevo

Similar Threads

  1. Extrude hone Media
    By bl409 in forum Mass finishing equipment/media/strategies
    Replies: 10
    Last Post: 11-02-2011, 09:03 PM
  2. Cycle times
    By har78233 in forum BobCad-Cam
    Replies: 2
    Last Post: 03-11-2010, 02:50 AM
  3. Gerber or Berney style insert hone
    By garygilmour in forum Want To Buy...Need help!
    Replies: 0
    Last Post: 01-30-2010, 09:00 AM
  4. Replies: 9
    Last Post: 02-11-2008, 05:54 PM
  5. Hard Times ?
    By Switcher in forum Community Club House
    Replies: 1
    Last Post: 02-26-2007, 05:09 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
  •