Hello Guest it is April 19, 2024, 11:02:08 AM

Author Topic: Mach3 Turn G81 & G83 don't do anything  (Read 1906 times)

0 Members and 1 Guest are viewing this topic.

Mach3 Turn G81 & G83 don't do anything
« on: May 02, 2022, 12:44:48 PM »
Hey guys!  I've got a simple program to center drill and then peck drill a part.  Neither of the G81 or G83 codes do anything.  In the following code, the lathe turns the spindle on, then moves to X0, Z5.14 properly.  The it simply goes right through the G81 cycle without moving the drill, and continues on to end the program.  I feel like there's something simple I'm missing here.  Anyone still using Mach3 turn out there that can help me out?

%
O1001 (ALL FEATURES)
N10 G98 G18 G40 G80
N11 G20
N12 G50 S3000

(DRILL2)
N13 T0101
N14 M0 (CHANGE-TOOL)
N15 G54
N16 G98
N17 G97 S840 M3
N18 G0 X0. Z5.14
N19 G0 Z4.74
N20 Z5.14
N21 Z4.74
N22 G81 X0. Z4.4387 R4.6888 F5.
N23 G80
N24 Z5.14

N25 M5
N26 M30
%

Is Mach4 any better?  Would it be worth upgrading?

-Darren

Offline Graham Waterworth

*
  • *
  •  2,672 2,672
  • Yorkshire Dales, England
    • View Profile
Re: Mach3 Turn G81 & G83 don't do anything
« Reply #1 on: May 02, 2022, 05:36:31 PM »
I seem to remember you have to set the plane to XY (G17) just before the canned cycle and put it back to XZ (G18) after the G80

e.g.

N1 (CTR DRILL)
T0101
G00 G90 X0 Z5. G97 S500 M3
G17
G81 Z-4. R1. F.15
G80
G18
G00 X50. Z100.
M30
Without engineers the world stops