Code Monkey home page Code Monkey logo

Comments (6)

kglovern avatar kglovern commented on June 14, 2024

GRBL check mode ($C) performs an automatic soft reset when it toggles off - that is what is resetting your workspace. This is a firmware feature and not something that can be changed by the sending software.

grbl/grbl#992

Test run runs as fast as the firmware can validate the lines since it doesn't have to wait for movement. Most users don't wouldn't want it to run slower since the entire purpose is to verify that the lines will be interpreted correctly by GRBL.

from gsender.

tmenet avatar tmenet commented on June 14, 2024

Thanks for the explanation. I wasn't aware grbl did all of that. Perhaps you could add a pop up window warning that workspace origin will be changed to G54 along with a checkbox to not show in the future would save someone from ruining their workpiece. I

from gsender.

tmenet avatar tmenet commented on June 14, 2024

I had another idea for a workaround. You could perform a $G before sending the $C to grbl and parse out and save the current workspace from the response. After the $C completes you could then output the saved G5x code that was originally set. Even if grbl fixes this in the future your code should continue to work.

from gsender.

kglovern avatar kglovern commented on June 14, 2024

Next release (1.1.3)should restore WCS modals after test run, similar to how Stop File restores WCS after reset 👍

from gsender.

tmenet avatar tmenet commented on June 14, 2024

👍 sweet.

from gsender.

tmenet avatar tmenet commented on June 14, 2024

@kglovern Sorry to bring this issue up again, but as long as there are no errors in the gcode file, your fix worked perfectly! However when test run detects there is an error in the gcode file, the workspace is reset to G54.
(usually this happens when a large workpieces is shifted and a line goes out of bounds.)

from gsender.

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.