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

More
23 Sep 2019 03:55 #145907 by jeffgar2000@gmail.com
I already run a XYZ laser cutter using LinuxCNC but now I am trying to set up a XY:UV foam cutter and I am generating GCode and trying to run it on LinuxCNC. Everything looks great and it runs my GCode files fine. I see my XY side and my UV side and it follows both. The only issue seems to be that the XY and UV sides are always 38.1mm separated on the screen even it they really should be separated by 100mm or even 1000mm .

I have been through the GCode and I see no "38.1"s so I have no idea where that is coming from.

My XY and UV towers are actually about 4' apart and many of the items I will be cutting are tapered so the spacing is critical in order to decide how big the patterns are run at the left and right side of the material.

The software I used to generate the GCode knows the tower spacing and the sizes of the left and right cuts plus how wide the material is (how far those cuts are apart.). Is it likely that although they show 38.1mm apart on the LinuxCNC screen, it already has baked in the correct angles?

For those that have ever run a foamcutter off linuxcnc, is there something in the GCode that needs to be set to display the spacing properly or is that just how LinuxCNC shows it? I'm completely OK with it if so but looking at the screen it just doesn't look quite right.

Thanks
Jeff

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

More
23 Sep 2019 06:44 #145915 by tommylight
Remove any active offsets.

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

More
23 Sep 2019 06:48 #145917 by pl7i92
(AXIS,XY_Z_POS,5)
(AXIS,UV_Z_POS,30)

this values sets the distances

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

More
25 Sep 2019 23:06 #146202 by andypugh

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

More
26 Sep 2019 01:15 #146209 by jeffgar2000@gmail.com
Not sure how I missed that but thank you for pointing that out. I will certainly test it tomorrow.

Thanks

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

More
26 Sep 2019 02:02 #146211 by jeffgar2000@gmail.com
I just went out to the shop and tried this. The XY_Z_POS in the foam.ngc was set to 5 and the UV_Z_POS was set to 40. That was close to the 38.1 that I saw on the axis display but not quite right. I tried changing each to various settings, saving and reloading the machine. It never changed the display. Seems like mine is ignoring the foam.ngc.

The first part of my ini is:
[DISPLAY]
FOAM = 1
GEOMETRY = XY : UV
OPEN_FILE = ./foam.ngc
DISPLAY = axis

and under the [TRAJ] section it has
AXES = 9
COORDINATES = X Y U V

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

More
26 Sep 2019 07:33 #146227 by pl7i92
unfortunaly someone has deletet the foam NGC
i added it here
Attachments:

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

More
26 Sep 2019 12:02 #146248 by andypugh
I just tried the sample G-code, then edited the magic comments, and reloaded the .ngc and the display updated as expected.

Which version of LinuxCNC are you using? I tested with 2.8.

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

More
26 Sep 2019 14:09 #146263 by pl7i92
Why has been the example removed from Master
it is needed for the SIM mashines

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

More
26 Sep 2019 14:39 - 26 Sep 2019 14:39 #146272 by dgarrett
2.7 branch: configs/sim/axis/axis_foam.ini
Ref: github.com/LinuxCNC/linuxcnc/blob/2.7/co...m/axis/axis_foam.ini

2.8 (and master branch): configs/sim/axis/foam/axis_foam.ini
Ref: github.com/LinuxCNC/linuxcnc/blob/2.8/co...s/foam/axis_foam.ini

Somethings may be relocated between major branches
Last edit: 26 Sep 2019 14:39 by dgarrett.

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

Time to create page: 0.111 seconds
Powered by Kunena Forum