Hello Guest it is May 23, 2019, 07:38:32 PM

Author Topic: Setting offsets from G-Code and other settings & Other Questions  (Read 2101 times)

0 Members and 1 Guest are viewing this topic.

This is newbie question for sure but I'm going to ask anyway...

I have a piece of G-Code I use to create bridges for customers, works like a charm, it's been refined over many many samples and production runs. Now I want to remove me from the process and by that I mean the following:

Today I enter in the X,Y and Z offsets for the program, all my bridges share a common set of offsets. What I would like to do is have the G-Code set those offsets for me, since they don't change it would remove my fumbling fingers and make it quicker to turn out bridges (it's all about removing the human mistake maker :) ).

I see the G92 command but is that what I should be using? Today I do a reference home before I set the offsets, but I don't see a G Command or M Code to do that, did I just miss something?

Also in the previous version there was some problems setting tool change coordinates, has that been addressed in the latest version?, I'd really like to set a reletive tool change position and have the gantry go to there when I need to change tools, today I just re-reference home to make sure the machine is 'zeroed' if you will.

Thanks...

-Paul-
-Paul-

Paul Davis
Luthier
Patriot Guitars

Offline Graham Waterworth

*
  • *
  •  1,853 1,853
  • West Yorkshire, England
    • View Profile
Re: Setting offsets from G-Code and other settings & Other Questions
« Reply #1 on: March 26, 2007, 10:12:58 PM »
Hi Paul,

Welcome to the forum.

The G28 command is used to send the machine to zero return :-

G28 Z0
G28 X0 Y0

To set offsets in program you should look at G10 or you can use # commands

#1=100
#2=25.
G00 X[#1+#2]
Y[#2]

Graham.
America gave us powered flight, England the steam train and Germany the car.  Who invented the first boat?