canned cycle and A axis

More
04 Jan 2012 23:32 #16314 by jgnoss
Hello,

A lot of reading and now really confused.

I have setup a machine with XYZA axis where the A axis is a rotating axis, with center parallel to Y-axis.

Now I have a disk in the A-Chuck and like to drill 13 holes equal distributed around that disk.

I made it moving all axis in position and then in a loop drilling holes just with z moves
code looks like
...
G91 (incremental Positioning)
G01 A[360/13]
#1 = 0
O100 WHILE [#1 LT 13]
#1 = [#1 + 1]
G01 Z-5.0000
G01 Z5.0000
O100 ENDWHILE

it seems to do what I want, but it seems not to be that elegant as it should be.

When I try to use the drill cycle G81 in the loop like

G91 G81 G98 A[360/13] Z-5 R6

Axis is complaining that I cannot use "A" in a canned cycle.
What am I doing wrong.
I guess I have to select another plane or something like that, but I have no clou about that.

thanks for help
Ju

Please Log in or Create an account to join the conversation.

More
05 Jan 2012 00:35 - 05 Jan 2012 00:35 #16317 by BigJohnT
Replied by BigJohnT on topic Re:canned cycle and A axis
jgnoss wrote:

When I try to use the drill cycle G81 in the loop like

G91 G81 G98 A[360/13] Z-5 R6

Axis is complaining that I cannot use "A" in a canned cycle.
What am I doing wrong?


Your trying to use a rotary axis with a canned cycle.

linuxcnc.org/docview/2.5/html/gcode/gcod...s_a_id_sec_g80_g89_a

John
Last edit: 05 Jan 2012 00:35 by BigJohnT.

Please Log in or Create an account to join the conversation.

More
05 Jan 2012 12:02 - 05 Jan 2012 12:02 #16331 by andypugh
Replied by andypugh on topic Re:canned cycle and A axis
BigJohnT wrote:

Your trying to use a rotary axis with a canned cycle.
linuxcnc.org/docview/2.5/html/gcode/gcod...s_a_id_sec_g80_g89_a

I wonder why that is considered a problem?

Anyway, the solution is probably to use a G0 for the A move on a separate line to the canned-cycle.
Last edit: 05 Jan 2012 12:02 by andypugh.

Please Log in or Create an account to join the conversation.

More
05 Jan 2012 14:07 #16342 by jgnoss
Replied by jgnoss on topic Re:canned cycle and A axis
Thanks to you both for the answers.


I thought I have read to much, so brain is a bit confused, but after a nap it got better.

If one never got in touch with CNC or g-code, many parts in the g-code manual makes
uses of phrases that only are used in CNC machining society and there is no definition
found. But most of the things in manual are really well explained.
Great thanks to you guys for that great job.

First I didn't know what the phrase "canned cycle" means.
Another web site gave my a definition of that Phrase.

@andypugh

For me too, I cannot think of any that could make problems moving a rotary axis in a canned cycle. So I tried it without reading to the end.
BigJohnT made it clear after my post.

Solution now is like andypugh said, moving A-Axis by means of a G00 and make a peck drill cycle.

There I have another question. But it may be better to ask that in a new thread.

Isn't peck drilling meant as that the drill bit goes completely out of the hole to bring chips out and let coolant in?

My peck drill cycle just moves a bit inside the hole to break the chip, but chip remains in the
drill hole. On high drill speed there is no coolant going into the hole and the chip melt in the hole.

Ju

Please Log in or Create an account to join the conversation.

More
05 Jan 2012 15:00 - 05 Jan 2012 15:02 #16343 by BigJohnT
Replied by BigJohnT on topic Re:canned cycle and A axis
G83 should retract to the R position. Are you using G83?

linuxcnc.org/docview/2.5/html/gcode/gcod..._g83_drilling_peck_a

John
Last edit: 05 Jan 2012 15:02 by BigJohnT.

Please Log in or Create an account to join the conversation.

More
05 Jan 2012 15:33 #16345 by jgnoss
Replied by jgnoss on topic Re:canned cycle and A axis
@BigJohnT

I'm new in that community, so I don't know much about you yet, but it seems you are the smartest one of them.

Sending just links that seems related to what the poster is asking for, without reading exactly what the question is, seems not really intelligent to me.

The G83 cycle ( ...
... The retracts in this cycle clear the hole of chips and cut ...

How does that work, if the drill bit doesn't go out of the hole?

On peck drilling the drill bit should go out of the hole completely so coolant can clean the chips from drill bit, fill the hole with coolant and go on to drill.

That's what I'm understanding about peck drilling.


I'm not referring on what the G83 should do, I'm referring to what he does really.

On my machine the drill bit doesn't goes out of the hole, it just retracts a mm or so to break the chip.
Breaking the chip is necessary, but I like to clean chips out of the hole too.

@BigJohnT

Please send me a link to a description of a g-code that clears the chips out of a hole on deep drilling.

Ju

Please Log in or Create an account to join the conversation.

More
05 Jan 2012 16:34 #16348 by andypugh
Replied by andypugh on topic Re:canned cycle and A axis
jgnoss wrote:

Sending just links that seems related to what the poster is asking for, without reading exactly what the question is, seems not really intelligent to me.
The G83 cycle ( ...
... The retracts in this cycle clear the hole of chips and cut ...
How does that work, if the drill bit doesn't go out of the hole?


I use G83 quite regularly, and it does fully retract.
You seem to be describing the behaviour of G73. Are you sure you are using the G-code you think you are?

Please Log in or Create an account to join the conversation.

More
05 Jan 2012 22:00 #16358 by Rick G
Replied by Rick G on topic Re:canned cycle and A axis
Perhaps you should post an example of the G83 command that you are using. As John pointed out it should retract to the R value.

Rick G

Please Log in or Create an account to join the conversation.

Time to create page: 0.686 seconds
Powered by Kunena Forum