Giter VIP home page Giter VIP logo

Comments (6)

breiler avatar breiler commented on September 9, 2024

I would probably advice against using GRBL setting commands within a gcode file as these are not a part of GRBL:s motion planner and can have unexpected side effects. It will also lower the life span of the controller EEPROM.

I am guessing that you are getting an error message saying that the controller needs to be in an IDLE state to be able to execute the command. This is GRBL responding with this error and is not a UGS limitation.

If you still want this setting command to be executed within a program you can force the controller to catch up by using a pause gcode command prior to the setting:

G4P0
$32=0

I will probably not change the syntax highlighting in the editor to allow $-commands. These are not gcode and should not be used as such.

from universal-g-code-sender.

GrahamJB avatar GrahamJB commented on September 9, 2024

from universal-g-code-sender.

breiler avatar breiler commented on September 9, 2024

Having $32=0 in the start of a program worked just fine for me. It rendered ok, it displays an error in the editor (which I think it should) and it got sent as a part of the gcode program:

Screencast.from.2024-09-04.20-27-49.mp4

from universal-g-code-sender.

GrahamJB avatar GrahamJB commented on September 9, 2024

from universal-g-code-sender.

GrahamJB avatar GrahamJB commented on September 9, 2024

from universal-g-code-sender.

breiler avatar breiler commented on September 9, 2024

Ok, I am closing this then.

Feel free to create a new issue with the connection problem if you find something that might be reproducable.

from universal-g-code-sender.

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.