Machsupport Forum

Mach Discussion => General Mach Discussion => Topic started by: cncalex on December 14, 2011, 06:09:36 PM

Title: G83 cycle in turn profile
Post by: cncalex on December 14, 2011, 06:09:36 PM
Hi all,
i am new in the forum, but watching it about 2 years.
Thanks to all the people who share their experience with Mach3.
I still have a small cnc lathe under construction, hope to get it done next year.

I found that there is no propperly working G83 Cycle there right now in turn profile.
So i took the existing M1083 cycle from the turn profile and had it taken to run.
I have a total of three cycles made of it.

One thats working as normal ( like in the manual ) with full retrackt.
One thats working as G73 ( high speed peck drilling ) with chip breaking.
And one where you have the possibility to make first peck value greater at the beginning, and then it is
reducing it any peck till it reach the value of #1
All words in the cycle must be given, if not it may  cause a crash.
unfortunately i can not create a alarm message if you leave the #1 or  #2 or R word away.
So take care you  give all characters as describet.
I tested so good i can to get it propper running. But anyway no guarantee at all. Everything on your own risc.
I found an issue in Mach so the cycle must not run if scaling is aktive  ( G51Z <> +1)
normally is not used in turn profile.
The cycle normally will work from any point along the Z axis from Z+ to Z- direction and
from Z- to Z+ direction.
Examples in mm
First the normal G83 cycle:
G0 X0 Z10 S1000 M3 F100
G83 Z-20 Q4 R2
G80
M30
You drill a hohle 20mm deep, rapid to Z+2, the feedrate will start at Z+2, 4mm Peck with full retrackt.
now the G83 cycle that is a G73 cycle.
G0 X0 Z10 S1000 M3 F100
G83 Z-20 Q 4R2 ( it is identical to the normal G83 )
G80
M30
You drill a hohle 20mm deep, rapid to Z+2, the feedrate will start at Z+2, 4mm Peck with chip breaking retrackt ( ~ 1 mm)
now the G83 cycle with two peck values
G0 X0 Z10 S1000 M3 F100
G83 Z-40 Q12 R2 #1=3  #2=0 ( parameter 1 reduces the value of Q, parameter 2 is the z coordinate where the hohle begins )
G80
M30
You drill a hohle 40mm deep, rapid to Z2, the feedrate will start at Z+2,  first 12mm Peck with full retrackt
then every peck is reduced about 3mm ( #1 value ) untill the 3mm is reached, then every peck is 3mm.
Drill a hohle from Z50 to Z10 with 2mm clearence above the Z plane may look like this.
G0 X0 Z100 S1000 M3 F100
G83 Z10 Q10 R52 #1=1.5  #2=50
G80
M30
Of course, only one cycle can exist in your prolile turn macro folder.
If you choosed one, copy it to your folder and rename it to M1083.m1s
If there exist already that file then move it or rename it.
hope that helps some people.
alex
Title: Re: G83 cycle in turn profile
Post by: RICH on December 14, 2011, 06:31:06 PM
Thanks for posting them.
Not sure you are aware of the folllowing and they do work for the lathe.

http://www.machsupport.com/forum/index.php/topic,16283.0.html

RICH
Title: Re: G83 cycle in turn profile
Post by: cncalex on December 15, 2011, 08:36:34 AM
Hi Rich,
yes i found that, and it works. Great job. My intention to get the cycle running was that i like to have the G code as short as possible and easy to type.
alex