Git Product home page Git Product logo

Comments (4)

martin2250 avatar martin2250 commented on September 25, 2024

Hi Harald,

I'm on linux right now, so I can't test the file. You're right though, the displayed line is not the actual line where the error occurs (see here).
Possibly the error is caused by "G01 Z-6.0000 F200 S16000" as the feed and spindle speed are set after the motion command.

Can you post the 15th line that is neither a comment nor empty? This should be the actual line that causes the error.
For now you could try to move all 'F' or 'S' commands in front of the motion commands, or write a quick python script to do it for you.

I just got a new machine, so I'll probably fix this and expand OpenCNCPilot a bit in the winter holidays.

Greetings
Martin

from opencncpilot.

deHarro avatar deHarro commented on September 25, 2024

Hi Martin,
thanks for the fast response!

You're right, too :-)
By adding and deleting lines in front and after the given line number and feeding that to your program I also found the "S" command beeing the culprit.
Moving the S command to it own line fixed the error message.

But know, there are other G-code feeders around having no problem with this notation, so you probably should address this behavior.
Perhaps you should give attention to the line number offset implied by comment lines, too... :-)

Greetings
Harald

from opencncpilot.

martin2250 avatar martin2250 commented on September 25, 2024

Yes, I'll definitely fix that. Thanks for bringing it to my attention :)

Martin

from opencncpilot.

deHarro avatar deHarro commented on September 25, 2024

Aber sicher, gerne... :-)
Harald

from opencncpilot.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.