¿ªÔÆÌåÓý

ctrl + shift + ? for shortcuts
© 2025 Groups.io

Re: offsets


 

¿ªÔÆÌåÓý

Oh man my head hurts.

I wish I could grasp this.

Are there any videos on the subject?

?

?

From: mach1mach2cnc@... [mailto:mach1mach2cnc@...]
Sent: Thursday, February 26, 2015 9:48 AM
To: mach1mach2cnc@...
Subject: RE: [mach1mach2cnc] offsets

?

?

Good morning Spencer,

?

Firstly, I am not a machinist by trade and have never used offsets. ?CNC is just a hobby for me so the approach I will suggest comes from a programmer¡¯s view.? It has been a while since I have done this but these work.

?

If my part script knows where it is supposed to be relative to the current offset then my code for look like this:

?

xOff=getOEMdro(800)

yOff=getOEMdro(801)

?

code("G01 x["+Str(xOff)+"+1] y["+Str(yOff)+"+1]")

?

?

If the script calling my part script knows where my part should go then it would :

?

setVar(800,5.25)

setVar(801,-2)

?

In my part script:

?

xOff =getVar(800)

yOff =getVar(801)

sSpeed=250

FR=50

code("G01 F50 x["+Str(xOff)+"+0] Y["+Str(yOff)+"+0]")

?

Hope this helps

?

?

From: mach1mach2cnc@... [mailto:mach1mach2cnc@...]
Sent: Wednesday, February 25, 2015 11:05 PM
To: mach1mach2cnc@...
Subject: [mach1mach2cnc] offsets

?

?

i have read everything i can find about offsets and still can not figure
out exactly how to do what i want with minimal effor tand confusion.

i have a bunch of little gcode snippets that do the various features i
need in my parts. i have them all centered around 0,0,0 and am using G52
offsets in the code to put them in the right place. this all works and i
can adjust the relative position of them by changing the G52 before each
snippet.

i also want to be able to apply an offset for each part if needed. i can
go to the offset tab and add or subtract from the G54 (default) offset.
it always seems to have some values in it but i have no idea where these
come from. if i want to add an additional y offset i can edit the y
value and it all works correctly but i am not sure what i am doing.

i need to know the easiest way to apply an additional offset for an axis
or two or three with out having to remember the values in the G54 in the
table, add or subtract from it and enter a new value.

there must be an easy way to just add or subtract an additional global
offset without editing the gcode. how might this be done?

--

Best regards, Spencer Chase
67550-Bell Springs Rd.
Garberville, CA 95542 Postal service only.
Laytonville, CA 95454 UPS only.
Spencer@...

(425) 791-0309

Join [email protected] to automatically receive all group messages.