Hello Guest it is September 21, 2021, 07:38:11 PM

Author Topic: offsets  (Read 2375 times)

0 Members and 1 Guest are viewing this topic.

offsets
« on: November 09, 2012, 11:11:41 PM »
I have a fiber laser that I can cut things like earrings from a sheet.  It is easiest to write code for a single one then move the machine to a clear spot and cut another.  On my Anilam control, I could simply move the axis, like X0.8 Y0.1 then use a G92 X0 Y0 command to make that become the new zero point.  Mach 3 seems to do that in MDI mode but not in the code.  I'm sure there must be a simple way to do that.  Can anyone help?

Thanks.
Bruce Boone
Bruce Boone
Boone Titanium Rings

Online BR549

*
  •  6,952 6,952
    • View Profile
Re: offsets
« Reply #1 on: November 10, 2012, 10:06:55 AM »
G92 or G52 OR G10

Can you post a sample of your code that the G92 does not work?

(;-) TP

Re: offsets
« Reply #2 on: November 10, 2012, 10:28:12 AM »
I simply have a bunch of xy coordinates, turn off the laser, raise the z, then move to x0.8 and on the next line G92 X0.  Then an M30.  This should position me at the next starting point and zero the X so that all I have to do is press start again.  If that worked, I could do a loop in the program and do that several times.  When the program ends, it seems to revert back to some other coordinate system, as the X readout might be something like X6.3456 or something.
Bruce Boone
Boone Titanium Rings

Online BR549

*
  •  6,952 6,952
    • View Profile
Re: offsets
« Reply #3 on: November 10, 2012, 11:10:59 AM »
The M30 is cancelling  all the Offsets. There is a setting in the Config that can change that function to NOT cancell offsets with M30.

(;-) TP
Re: offsets
« Reply #4 on: November 10, 2012, 11:38:30 AM »
Ok.  I'll check on that.  Thanks.
Bruce Boone
Boone Titanium Rings