Hello Guest it is March 28, 2024, 01:54:19 PM

Author Topic: Repeating pockets  (Read 2081 times)

0 Members and 1 Guest are viewing this topic.

Repeating pockets
« on: February 12, 2012, 04:58:26 PM »
I am cutting the cranckase to rough size after mounting the bearing caps and ended up copying and pasting in the edit G code screen. I know there is a method for repeating a cycle, but haven't found it yet. Most of the wizards waste the motion since I already have the cavity and just need to face the caps and remove a little excess casting material. A typical first pass is

Z.6
X.5 Y-2
X2.5
Y-3.5
X.5
Y2 Z.5

Each time around .1" deeper cut feeding at 7 ipm. I have started out running everything ablolute from the 0,0 point established on the block, but for the rough machining the pockets that were the same size could be done as G91.

The block is in the show and tell section and I'll post a current shot.
the


« Last Edit: February 12, 2012, 05:04:02 PM by sandcrab »
If you think you can't do it, you're right.

Offline Graham Waterworth

*
  • *
  •  2,668 2,668
  • Yorkshire Dales, England
    • View Profile
Re: Repeating pockets
« Reply #1 on: February 15, 2012, 12:37:43 PM »
You can do something like this :-

%
O0001
(STANDARD SETUP LINES)
G00 G90 X0 Y0
Z.1
G01 Z0 F7.
M98 P2 L10 (WILL LOOP 10 TIMES E.G. 1" DEEP)
G90
G00 Z1.
M30

O0002
G91
G01 Z-.1  F7.
G90
X.5 Y-2
X2.5
Y-3.5
X.5
Y2.
X0 Y0 (BACK TO START POINT)
M99
%

Graham
Without engineers the world stops
Re: Repeating pockets
« Reply #2 on: February 15, 2012, 03:58:14 PM »
Thanks Graham I'll run it in one of the pockets later today.
If you think you can't do it, you're right.