What sets the XY:UV separation distance in a GCode file?

More
26 Sep 2019 14:53 #146274 by andypugh
Maybe he means the sample .ngc file, which seems to be in the config folder, but not in the examle g-code folder.
github.com/LinuxCNC/linuxcnc/blob/master...m/axis/foam/foam.ngc

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

More
26 Sep 2019 15:04 #146276 by dgarrett
(2.8 branch):
$ cd configs/sim/axis/foam
$ ls
axis_foam.ini
foam.ngc

foam.ngc is where it should be since the inifile
refers with relative (./) notation:
$ grep OPEN_FILE axis_foam.ini
OPEN_FILE = ./foam.ngc

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

More
26 Sep 2019 16:11 #146278 by jeffgar2000@gmail.com
Mine is version 2.7.14

I see the foam.ngc located at /linuxcnc/configs/sim.axis/foam.ngc.

The XY_Z_POS and UV_Z_POS was already in there but not responding to changes.

In a hurry, I hadn't noticed that the path to load that file was relative and set to "./foam.ngc". I copied it over to my machine config directory and it picked right up and now displays correctly.

It never threw an error saying that file wasn't available.

Problem is that it looks correct on the startup axis screen with those squarish things loaded. When I load one of my cut files it immediately goes back to the 38.1mm spacing.

I can restart LinuxCNC and it looks right again until I load my files.

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

More
26 Sep 2019 16:43 #146283 by andypugh
You need to put those comments in your cut files.

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

More
26 Sep 2019 16:47 #146284 by jeffgar2000@gmail.com
I have:
(AXIS,XY_Z_POS,0)
(AXIS,UV_Z_POS,500)

At the beginning of my Gcode as well but it seems to make no difference.

When I load my Gcode (and it goes back to 38.1mm spacing), I see those lines listed along with the other GCode down in the code console under the axis display.

Is that the wrong syntax? I tried other forms and it ignored that as well.

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

More
26 Sep 2019 17:08 #146287 by jeffgar2000@gmail.com
I copied the beginning of the foam.ngc into my cutfile and it worked.

I needed:
G17 G21 G90 G61 G54
(AXIS,XY_Z_POS,0)
(AXIS,UV_Z_POS,500)
(AXIS,GRID,5)
G0 x0 y0 u0 z0

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

Time to create page: 0.328 seconds
Powered by Kunena Forum