G-Code Error?

More
03 Sep 2015 01:32 #62068 by Todd Zuercher
G-Code Error? was created by Todd Zuercher
This one has me stumped.

I am having trouble running a file. It loads and displays in the back plot fine. But when running it stops around line 890, setting an alarm "Circular move on line 2968 would exceed joint 8's negative limit." But there isn't a circular move involving joint 8 (the W-axis) on line 2968 or anywhere else in the file that I'm aware of.



The machine I am running this on is a 3-axis router with a second spindle mounted to a W-axis (so technically a 4 axis machine). We use it to do router engraving 2 at a time. The G-code is generated with only XYZ and the W is inserted at load time with a script file.

Running this on 2.7.0-pre7

Attached is the script file and the G-code file.
Attachments:

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

More
03 Sep 2015 23:52 #62096 by emcPT
Replied by emcPT on topic G-Code Error?
You zip file does not contain the gcode.
What are your machine limits?

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

More
04 Sep 2015 01:30 - 04 Sep 2015 01:33 #62100 by Todd Zuercher
Replied by Todd Zuercher on topic G-Code Error?
Try again. Here is the G-code file
Attachments:
Last edit: 04 Sep 2015 01:33 by Todd Zuercher. Reason: trouble attaching file

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

More
04 Sep 2015 01:51 #62101 by Todd Zuercher
Replied by Todd Zuercher on topic G-Code Error?
The limits for the Z and W are 0 to -8 inches
The G54 offset is approximately -1.5" for Z and W
No tool offsets are used.
This same code runs fine on a different machine (not running Linuxcnc)
The same design output without arcs runs fine. Limits should not be an issue.

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

More
04 Sep 2015 18:17 #62114 by andypugh
Replied by andypugh on topic G-Code Error?
If you select "edit" from the Axis menu can you save the final version of the G-code?
It will help a lot to see what actual code is being run.

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

More
04 Sep 2015 20:17 #62120 by Todd Zuercher
Replied by Todd Zuercher on topic G-Code Error?
I thought when I tried that only the pre filtered file showed up in gedit the same as what I attached. and is why I included the file filter script.

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

More
30 Sep 2015 02:07 - 30 Sep 2015 02:07 #63221 by Todd Zuercher
Replied by Todd Zuercher on topic G-Code Error?
I received this error (Circular Move on Line 21 would exceed joint 8's negative limit) again today on a different machine right after upgrading to 2.7 from 2.6. There isn't a joint 8 (W-axis) command anywhere in this file. Went back to 2.6 and the same file runs fine.

Attached is the file.

File Attachment:

File Name: HSA-Rz5x8.ngc
File Size:8 KB


This smells a lot like a bug to me.
Attachments:
Last edit: 30 Sep 2015 02:07 by Todd Zuercher.

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

More
30 Sep 2015 20:50 #63266 by Todd Zuercher
Replied by Todd Zuercher on topic G-Code Error?
Here is one of the configs that are messing up for me. Running the above file in the 9axis sim in 2.7 seems to run ok, but not in the attached config. I don't understand what is wrong.
Attachments:

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

More
30 Sep 2015 21:34 - 30 Sep 2015 21:34 #63270 by Todd Zuercher
Replied by Todd Zuercher on topic G-Code Error?
Ran the config as a simulation in a virtual machine, opened up the limits on W to +-1000 inches and ran the file again, and this is what happened. at lines 18-20.

Attachments:
Last edit: 30 Sep 2015 21:34 by Todd Zuercher.

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

More
30 Sep 2015 21:50 #63271 by seb_kuzminsky
Replied by seb_kuzminsky on topic G-Code Error?
What do your custom M111, M112, M113, M123, and M125 do?

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

Time to create page: 0.226 seconds
Powered by Kunena Forum