Hello Guest it is April 26, 2024, 11:36:59 PM

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Topics - nyholku

Pages: 1
1
I would like to set DROs to zero (or any other value) from G-code without touching the G54/G92 offsets.

I've not tried this but from reading the LinuxCNC documentation it seems to me that this can be done with:

G10 L20 P1 X0 Y0 Z0

But reading the Mach documentation this does not seem to be supported.

Is there a G-code in Mach dialect that allows me to do that?

Also I note that Fanuc and other seem to interpret L20 differently from LinuxCNC so
I'm awarding extra points for answers that are 'platform' indendent ;)

cheers Kusti



2
G-Code, CAD, and CAM discussions / G-code oddities..
« on: October 28, 2010, 01:18:46 PM »
Hi,

I'm using the Mach3 to study G-code and to test a corner case I wrote:

G1 X0 Y0
X0 Y2 G42 P0.2
X1 G2 I2 J2
Y4 G1


This produced something like this:
(screen cap from Mach3)

http://www.sparetimelabs.com/gplot.png


Two things strike me as odd.

1) According to Mach3 manual 1.84 when using G2 with arc center format:

"It is an error if when the arc is projected on the selected plane, the distance from the current point to the center differs from the distance from the end point to the center by more than 0.0002 inch (if inches are being used) or 0.002 millimetre (if millimetres are being used)."

Now clearly I've violated this in my code but I get no error message, how come?

The path is show as a spiral (which kind of makes sense), is that normal?

How do other software handle this?

The compensated tool path does not follow the spiral at all, rather
produces something strange, is that correct?

Can anyone shed any light on this?

All comments welcome..

br Kusti

Pages: 1