G81 probleempje

Moderator: Moderators

Plaats reactie
Gebruikersavatar
Erik
Berichten: 1403
Lid geworden op: 21 jan 2007 21:04
Locatie: Den Haag
Contacteer:

G81 probleempje

Bericht door Erik »

75
Bij de gele pijlen gaat er iets fout, de gaatjes staan niet netjes op dezelfde afstand van elkaar. Het probleem zit 'm in de g-code heb ik uitgevonden.

Bij het bovenste werkstuk is de volgende g-code gebruikt;
G81 X69.9 Y30.4 Z-4.866 R2.5 F25.0
G80
G01 X69.9 Y30.4 Z1.51 F25.

Bij het onderste werkstuk (waar alles goed gaat) is de volgende zelfgeschreven g-code gebruikt;
G01 X69.9 Y30.4 Z2 F200.
G01 X69.9 Y30.4 Z-4 F200.0
G01 X69.9 Y30.4 Z2 F200.

Wat gaat er fout in de boorcyclus? En waar staat R2.5 voor in de G81 regel?
Gr.

Erik
Gebruikersavatar
create
Berichten: 1922
Lid geworden op: 11 jan 2007 00:15
Locatie: Volendam
Contacteer:

Re: G81 probleempje

Bericht door create »

Erik, de R staat voor Arc Radius.

Mijn gok is dat hij de radius verkeerd pakt, als je de y of x (ik weet niet hoe je hem heb liggen) + of_ 2,5 mm moet je even nameten als de afwijking precies 2,5m is dan heb ik gelijk. Zo niet hoop ik dat iemand anders je kan helpen

gr Create
Gebruikersavatar
Erik
Berichten: 1403
Lid geworden op: 21 jan 2007 21:04
Locatie: Den Haag
Contacteer:

Re: G81 probleempje

Bericht door Erik »

Het vreemde is dat de afwijking bij sommige gaten 0,6mm is. De hart-hartmaat van de gaten is 3,6mm en de gatmaat is 3mm. Tussenruimte tussen de gaten behoort dus 0,6 mm te zijn. Toch krijg ik deze onverklaarbare afwijkingen. Het vreemde is dat de afwijking niet consequent is zoals te zien is op de foto. De hartmaten van de gaten heb ik gecontroleerd in de g-code met de G81 cyclus en die klopten. Ik draai hier nog steeds met Kcam.
Gr.

Erik
aramon
Berichten: 46
Lid geworden op: 25 jan 2007 23:14
Locatie: Raalte
Contacteer:

Re: G81 probleempje

Bericht door aramon »

R is in dit geval (boorcyclus) de veiligheidsafstand, oftewel de boor start op 2.5 mm boven werkvlak (Als werkvlak 0 is.)
Verder zie ik te weinig regels om te zien of de rest van de boorposities goed zijn. In het eerste programma gebruik je een G81 cyclus die wordt uitgevoerd op elk volgend coordinaat tot G80. In het 2e programma gebruik je geen cyclus maar gaat in diepte met G01.
ton van der sluijs
Berichten: 5
Lid geworden op: 12 mei 2007 13:07
Locatie: Haarlem

Re: G81 probleempje

Bericht door ton van der sluijs »

Zou het niet kunnen zijn, dat R2,5 ook ergens in je toolgeheugen staat en dat hij je boor een offset van 2,5 geeft?

groetjes Ton
Gebruikersavatar
Erik
Berichten: 1403
Lid geworden op: 21 jan 2007 21:04
Locatie: Den Haag
Contacteer:

Re: G81 probleempje

Bericht door Erik »

Volgens een link uit een ander draadje; http://www.dakeng.com/man/turbocnc.html#_Toc90515706;

G80 Cancel drill cycle

Function: Cancel canned drill cycle

Syntax: none

Notes:

It's good practice, but not strictly necessary, to put this code after a series of the G81, G82, or G83 drill cycles. It clears the canned cycle variables from memory.

Some CAM programs automatically generate this code after every series of drilled holes.
G81 Drill cycle

Function: Drill a hole on a 3-axis mill

Syntax: G81 [axis words] [release plane] [optional feed word]

Example:

G81 X1 Y1 Z-0.75 F2.0 R0.25



The following will occur. Absolute mode and inch units are assumed.

Rapid to R plane if Z is less than 0.25 absolute

Move the table to the XY position (1,1) specified; holding Z at the point it was before.

Feed the Z-axis to -0.75 at 10ipm.

Rapid the Z-axis to 0.25 (the release plane)

Notes:

This is the canonical RS-274D drill cycle. Drills a hole at a specific XY position, to a depth Z at the current feed rate, and retracts to a release plane "R".

To drill another hole just like the first, just input the XY position on the next line:

G81 X1.5 Y1.25



This second hole will be done the exact same way was the first, but at the new position of X=1.5 and Y=1.25.

Release plane: If the R plane is between the current Z position and the bottom of the hole, the control will rapid to the R plane after moving XY and before drilling. If the R plane is "above" where the drill is in Z at the start of G81, the control will rapid to the R plane first before moving XY. This affords maximum safety without overly compromising speed.

Note that R is absolute in absolute mode, incremental in incremental mode! All the other parameters behave similarly.

All of the coordinates (XYZR) need to be called out on the first G81. These will "stay in effect" thereafter until G80 is called (modality). So, if you have a series of holes that are all to the same depth, you can use this:

G81 X1 Y1 Z-0.75 F2.0 R0.25 ;First hole
G81 X2 Y2
G81 X3 Y2
X2.5
G80 ;Four holes were drilled at (1,1) (2,2) (3,2) and (2.5,2)



These cycles ignore the plane selector as per the Standard. The drilling always occurs in Z, the positioning in XY.
Gr.

Erik
ocin

Re: G81 probleempje

Bericht door ocin »

Heb je de gaten voor gecenterd met een centreerboor.

zoniet dan denk ik dat je boor is gaan verlopen.

Groeten Nico
Plaats reactie