probe basic - toolpath/file preview loading error

More
2 years 3 weeks ago #311408 by jc2ktr
Hi everyone,

everytime when i try to load a gcode file i get this error. 

Traceback (most recent call last):
  File "<string>", line 1, in <lambda>
  File "<string>", line 1, in <genexpr>
IndexError: tuple index out of range

I use LinuxCNC 2.10 and probe basic screen on Debian12 with linux 6.1.0-25-rt-amd64 kernel

it´s not a big deal i can press on ignore and use the machine to mill. The only problem is that no Toolpath preview is generated at file loading.
At the milling operation it is generated without any issues.
 

Please Log in to join the conversation.

More
2 years 3 weeks ago #311410 by Lcvette
Check there are no uncommon symbols used in the file, it's likely a language bug 

Please Log in to join the conversation.

More
2 years 3 weeks ago #311437 by jc2ktr
It seems Probe Basic related. When i load it in a Axis configured machine. There are No Problems. The gcode was generated with Fusion360.

Please Log in to join the conversation.

More
2 years 3 weeks ago #311445 by Lcvette
It very well may be,  but there have been issues similar in the past that were language related,  need to identify the offending thing to be able to resolve.   

Please Log in to join the conversation.

More
2 years 3 weeks ago #311446 by Lcvette
Maybe post the file?

Please Log in to join the conversation.

More
2 years 3 weeks ago #311464 by jc2ktr

Maybe post the file? Sure no problem. i will post it here.   
Sure no problem, i will post it here.

 

Attachment not found

Please Log in to join the conversation.

More
2 years 3 weeks ago #311483 by Lcvette
Error in 2209.ngc line 11
M-code greater than 199: M600

this is the error i get and i have seen this before, @Joco was experiencing this error popping up for some reason, but im not certain why this occurs, i thought he had found a work around for it in the linuxcnc source. as a test i changed the M600 code to M5 and it loaded fine with preview, I will ask him if he recalls how to resolve that issue and see about a fix for it.

I only received the M errror as seen in the image below and not the one you posted so not certain if its the same or if there is something else going on there.  the result with error was the same symptom which was no display of the tool path in the gcode plotter.

Thanks for the heads up!

Chris

 

Attachment not found



 

Attachment not found

Please Log in to join the conversation.

More
2 years 3 weeks ago #311517 by jc2ktr
Thanks Lcvette,

yes the M600 error is a followup from my toolchange remap. I´ve deleted all Comments from Fusion360 in the file, and test ist tomorrow. Maybe there is a problem. 

Thanks for your help and patience 

Please Log in to join the conversation.

More
2 years 3 weeks ago #311527 by Lcvette
I had to change the M600 to M5 and it loaded without complaint, so there is something i think requiring a fix for M600, you could assign a different M### between 100-199 and it would not complain, unless you've added M600 yo linuxcnc and it sees it and doesnt complain

Please Log in to join the conversation.

More
1 year 11 months ago #314108 by spumco
Adding my two cents here...

I get a similar error message when trying to load a g-code file in PB.  No issues with the backplot but the attached error message pops up when I load the file.

I think I narrowed it down to the tool number being >199.

When I commented out the T407, T823, and T642 it loaded with no complaints.  And when I edited the file it would load fine at T199 (other two commented out) but puked when changed to T200.

I can load the tools in/out of my ATC using the PB interface, and call them up via MDI with no errors.

I can work around this for a short time by renumbering tools, but this is going to be annoying since I imported my F360 library to LCNC and I've got tools up to the 1100-range in the table.

Please Log in to join the conversation.

Time to create page: 0.060 seconds
Powered by Kunena Forum