Hello Guest it is December 06, 2019, 03:15:49 AM

Author Topic: Z unwantedly repeats itself when drilling  (Read 3440 times)

0 Members and 1 Guest are viewing this topic.

Z unwantedly repeats itself when drilling
« on: June 24, 2015, 04:54:13 AM »
Hi. I have instructed Mach3 to drill several holes. The mill positiones itself on the correct starting position and starts drilling. However, it continues the drilling procedure two to four times before it continues to the next position. The program has the same codes as in the "Multiple Hole Pattern" wizard. I use a laptop with Windows Vista. What can I do to make it performe as intended? Could there be one or more of those very small people inside the computer making tricks on me like they sometimes do to our brains?

Regards
Steamenthusiast
Re: Z unwantedly repeats itself when drilling
« Reply #1 on: June 24, 2015, 07:15:03 AM »
Id Post the code for peer review, then we could go from there.

Wes
Re: Z unwantedly repeats itself when drilling
« Reply #2 on: June 24, 2015, 09:44:32 AM »
Hi ozwes007 and thanks for quick response. I have shortened the program tremendously as I neThe trouble starts in line 08. Z goes down and up several times and does not continue to the nex pos.

%
(Boring av hull i rekker)
(Program Posted for Soft Steel )
G0 G90 G54 G17 G40 G49 G80 G90
G21 (mm)
G0 X-15.0 Y-15.0
G43 H1.0 Z4.0
G73 G99 X-15.0 Y-15.0 Z-12 Q3.0  F20
 X-30 Y-15
 X-45 Y-15
 X-60 Y-15
 X-75 Y-15
 X-90 Y-15
 X-105 Y-15
 X-120 Y-15
 X-135 Y-15
 X-150 Y-15
 X-165 Y-15
G80
G0 G53 Z0
M30
%

I have also used "Mach4 CNC Controller Mill Programming Guide Version 1.0" from Newfangled Solutions as guide.

Regards
Steamenthusiast
Re: Z unwantedly repeats itself when drilling
« Reply #3 on: June 24, 2015, 09:47:24 PM »
Try This

%
(Boring av hull i rekker)
(Program Posted for Soft Steel )
G0 G49 G40.1 G17 G80 G50 G90 G98
G21 (mm)
F20(change this to suit your feed rate)
G0 X-15.0 Y-15.0
G43 H1.0 Z4.0
G83 X-15.0 Y-15.0 Z-12 Q3.0 
G91 X15 Y0 L10
G80
G0  Z4
M30
%


Wes

Offline BR549

*
  •  6,916 6,916
    • View Profile
Re: Z unwantedly repeats itself when drilling
« Reply #4 on: June 25, 2015, 12:42:00 AM »
I tested your code here and it runs as it should . You do realize that teh G73 is a peck drilling cycle  The Z will cycle up and down all the way to the bottom of each hole to break chips. IF that is not what you want you may want to try another drill cycle. From your main run screen press the Gcodes button and it will bring up a charts of all teh cycles pick a cycle and it will describe each cycle and how the call works.

Just a thought, (;-) TP
Re: Z unwantedly repeats itself when drilling
« Reply #5 on: June 25, 2015, 03:27:44 AM »
Try This

%
(Boring av hull i rekker)
(Program Posted for Soft Steel )
G0 G49 G40.1 G17 G80 G50 G90 G98
G21 (mm)
F20(change this to suit your feed rate)
G0 X-15.0 Y-15.0
G43 H1.0 Z4.0
G83 X-15.0 Y-15.0 Z-12 Q3.0  
G91 X-15 Y0 L10
G80
G0  Z4
G90 (may want this here to reset distance mode)
M30
%


Wes

My Blue should be minus ;-)
Also TP on mine the Peck cycle does not work with the original. Hence the reason I changed it, although i only tested it on my demo version.

Wes
« Last Edit: June 25, 2015, 03:31:55 AM by ozwes007 »

Offline BR549

*
  •  6,916 6,916
    • View Profile
Re: Z unwantedly repeats itself when drilling
« Reply #6 on: June 25, 2015, 06:39:07 PM »
Wes make SURE that the peck cycle DISTANCE is set correctly. IF it is too low you may not see it happen .

(;-) TP