Coder Social home page Coder Social logo

Comments (11)

terjeio avatar terjeio commented on August 23, 2024

Stop: I have added a stop real time command to grblHAL, obviously that does not work with vanilla grbl. Sending one line at a time (not stuffing the input buffer) solved that, but then maybe not dependent on how you perceive Stop. Stop sending or stop machining? Stop sending is how it is implemented. To stop machining immediately use the red Reset button.

Hold: works with both grbl and grblHAL for me except one scenario, Hold followed by Stop and Rewind, then Start again. Will look into that.

from iosender.

terjeio avatar terjeio commented on August 23, 2024

Latest release just out should behave better.

from iosender.

jschoch avatar jschoch commented on August 23, 2024

maybe call it slow stop and keep it as an option. I've noticed that UGS at least sometimes throws an alarm and loses position when stop is hit. a "slow stop" would be nice although when you machine is about to crash you tend to panic and you already have 3 options so maybe 4 isn't better.

I hope to test your grblHAL port fairly soon, my rebuild still has a lot of things to do though so the backlog is long.

from iosender.

jschoch avatar jschoch commented on August 23, 2024

If you are in a "hold" state you can't stop the program. This is available in other senders. Is there a workaround and/or is this intended behavior?

from iosender.

terjeio avatar terjeio commented on August 23, 2024

Not intended, I will fix it in the next release.

from iosender.

terjeio avatar terjeio commented on August 23, 2024

Fixed now.

from iosender.

jschoch avatar jschoch commented on August 23, 2024

this seems to be misbehaving again in .18. If I mid job and hit "hold" I can no longer issue a "stop". I can only "start" or "reset"

from iosender.

terjeio avatar terjeio commented on August 23, 2024

It works as it should for me with grblHAL firmware, but not with grbl. So I guess you are testing with grbl?

The Stop button behaves differently with grbl, unlike for grblHAL it should pause sending and let the the motions currently buffered in the controller finish. For grbl I have added the following fixes:

  • In Hold mode, Stop issues a reset command.
  • When sending, Stop pauses sending and waits for controller going Idle before Cycle Start is reenabled. This is currently not working and is a regression.
  • When waiting for controller going Idleafter a Stop another Stop issues a reset command.

from iosender.

jschoch avatar jschoch commented on August 23, 2024

yup, this is with bart's grbl.

from iosender.

jschoch avatar jschoch commented on August 23, 2024

maybe should re-open. This morning I tried to just plain stop with Bart's fork and it seemed like the GUI was in some sort of mode that wouldn't accept the button press. I had to mash it quickly to get the stop to go through. I did not attempt to enter "hold" mode first this time.

from iosender.

terjeio avatar terjeio commented on August 23, 2024

Grbl: Stop does only stop sending lines, if a move is in progress (and lines are already buffered) it (they) will complete first and then idle state will be entered. This is how many other senders does it and is really pausing transmission only. I have to say I do not like it this way.

grblHAL: Stop is more like an eStop button, it cancels the current running program and rewinds it. It is not as "hard" as a reset but nearly so. I have added a new realtime command for it.

I see there are still some interlock issues between modes of operation and available functionality. I got my lathe and MPG up and running again today and a couple of new ones appeared... So I guess I need to spend more time using my machines, not only programming for them.

from iosender.

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.