Use A-axis to mill a radial feature.

More
10 years 3 months ago #77322 by BigJohnT

fc60 wrote: Greetings John,

I will see if I can modify my Post to output the M02 at the end of the file.

Regarding the "%" symbols, it is best to erase both of them?

Also, the link you posted is dead. I get the Error 404, page not found.

With kind regards,

David


Sorry, I managed to paste the link twice in a row...

As Rick said you use either or but not both. Understand what % does not do so you don't get a surprise.

linuxcnc.org/docs/2.7/html/gcode/overvie...de:file-requirements

JT

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

More
10 years 2 months ago - 10 years 2 months ago #78376 by cncnoel
My 2 cents worth..

Cent 1
I have been using a preamble subroutine file for a while now, so If I decide to change something I only need to do it in one place.
It is called from G-code with o<preamble> call

Cent 2
I LOVE using white space and # boxes 80 characters wide in G-code, it makes it so much easier to read for my old eyes!



comes from being a DOS dinosaur from the days of PCM and green-screen monitors... Sigh!
Last edit: 10 years 2 months ago by cncnoel.

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

More
10 years 2 months ago #78382 by Rick G
Yep you can see the DOS influence there!

With NGCGUI you can have the preamble automatically added to your subroutines.

NGCGUI_PREAMBLE = in_std.ngc - the preamble file to be added in front of the subroutines. When concatenating several common subroutine invocations, this preamble is only added once. For mm-based machines, use mm_std.ngc


Rick G

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

More
10 years 2 months ago #78385 by tommylight

cncnoel wrote: My 2 cents worth..

Cent 1
I have been using a preamble subroutine file for a while now, so If I decide to change something I only need to do it in one place.
It is called from G-code with o<preamble> call

Cent 2
I LOVE using white space and # boxes 80 characters wide in G-code, it makes it so much easier to read for my old eyes!



comes from being a DOS dinosaur from the days of PCM and green-screen monitors... Sigh!


That is neat !!! Man, i do miss those days, especially programming in asembler.
Tom

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

More
10 years 2 months ago #78463 by cncnoel
Hi Rick & Tommy
Yes I did used to have NGCGUI_PREAMBLE set for a while, but found when I put the plasma torch on the machine, I found I used a different preamble setup. As a result I have migrated to using 2 preamble files o<preamble> and o<plasma>, Any better ideas out there?.
Yet to set up my A axis, I have the Gecko drive and servomotor / encoder ready, and the machine is wired for it (now), just need to build the rotary bed. Then it will be code-wars as I have yet another axis to crash! :ohmy:
Regards
Noel

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

More
10 years 2 months ago #78468 by tommylight
Easy, if you intend to use that 4th axis with the plasma, you just need to make another config with the setings, except in this case substitute Y axis (or X axis, depending on your setup) with A axis. So instead of moving Y axis you move A axis. Just be vary of the perimeter of the pipe you are cutting.
I have done this plenty, no need for 4 axis CAM software, and a lot easier to draw. Made some pretty complicated oval tube cuts with it.
Regards,
Tom
P.S. i think i mentioned using inkscape with gcodetools, as it has all the preamble already in.

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

Time to create page: 0.301 seconds
Powered by Kunena Forum