Cut Path Not Following Gcode

More
19 Oct 2019 03:09 #148273 by MakingStuff

There is a file called imperial_startup.ngc (or metric_startup.ngc) that sets G64 P0.04, it should have been G64 P 0.004. The metric version is correct at G64 P0.1


So once you make this fix I won't have to manually add it to each gcode file?

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

More
19 Oct 2019 03:14 #148274 by phillc54
That should be the case, you can try it by editing imperial_startup.ngc which is in your config directory.

Note: If you did a Buildbot installation you will need to edit it as the root user.

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

More
19 Oct 2019 03:27 #148277 by islander261
MakingStuff

While Phill does a great job of setting default operating conditions I will continue to set G64 to the correct values in my the G code preamble and at tool changes with my PP.

John

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

More
19 Oct 2019 03:31 #148278 by phillc54
I do as well John, I think it is good practice to have most of what is in the xxx_startup.ngc files as the preamble to every GCode file, then you know what the state of the machine is.

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

More
19 Oct 2019 08:52 #148310 by Hakan
Replied by Hakan on topic Cut Path Not Following Gcode
That is wise to do.
When hitting E-stop in linuxcnc, the G64 P setting is reset to default and one end up with round corners again.

It is a known bug github.com/LinuxCNC/linuxcnc/issues/177 and I just verified it is still there.
The following user(s) said Thank You: phillc54

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

More
19 Oct 2019 14:23 #148326 by OT-CNC
Replied by OT-CNC on topic Cut Path Not Following Gcode
Haken,

Thanks for the heads up. I didn't know that bug. Just to confirm, if it's listed in the ini RS274 startup code section it will be read as the default and behave correctly after estop. Correct? Reason I'm asking is I'm not loading the startup g code program that axis normally starts up with.

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

More
19 Oct 2019 15:31 - 19 Oct 2019 15:32 #148336 by Hakan
Replied by Hakan on topic Cut Path Not Following Gcode
No, I didn't mean the ini file default, I meant the default before the ini file which is I think no G64 P setting at all.
Easy to test with for example this snippet
G0X0Y0
G1X100F1000
G1Y20
G1X0
Run it, then hit e-stop and run it again. The second time there will be round corners in the path because the G64 setting is lost.

One isn't supposed to know about every bug, but I happened to find it and tried to understand what is going on in the code but it would take more time than I currently could spend. I settled on adding a line "G64 P0.01" in the post processor I use.
.
Last edit: 19 Oct 2019 15:32 by Hakan.

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

More
20 Oct 2019 00:00 - 20 Oct 2019 00:15 #148379 by phillc54
I just confirmed Hakans finding. Even with G64 P0.1 in the RS274NGC_STARTUP_CODE it will revert to a plain old G64 P0 after an estop.

Hakan, have you reported this on the LinuxCNC Github page.
Last edit: 20 Oct 2019 00:15 by phillc54.

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

More
20 Oct 2019 06:12 #148388 by Hakan
Replied by Hakan on topic Cut Path Not Following Gcode
No, haven't reported it, but there is already a bug report on this github.com/LinuxCNC/linuxcnc/issues/177 and there seems to be a ready solution for it waiting to get pulled. For some reason work on this topic seems to have stopped some half a year ago. From what I can find on github.
The following user(s) said Thank You: phillc54

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

More
29 Sep 2020 18:11 - 30 Sep 2020 17:11 #184315 by Aldenflorio
Sometimes I dont look enough before asking.
Last edit: 30 Sep 2020 17:11 by Aldenflorio.

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

Moderators: snowgoer540
Time to create page: 0.422 seconds
Powered by Kunena Forum