gnea / grbl

An open source, embedded, high performance g-code-parser and CNC milling controller written in optimized C that will run on a straight Arduino
https://github.com/gnea/grbl/wiki
Other
3.99k stars 1.59k forks source link

STM32F411RE, Feed Hold doesn't cancel current jog motion, is accepted only in IDLE-State #1180

Closed giutdn closed 1 year ago

giutdn commented 1 year ago

Hello,

i'm currently programming a test rig and using GrblHal 1.1f for that. I've had some experience on Grbl with an Arduino Uno, where everything worked fine. To test a new controller and be more flexible with GPIO's i bought a STM32F411RE and flashed it with the STM32-Software that comes with it. Everything works fine except trying to stop the jog-motion, that is initiated through $J=G91, with an exclamation mark "!". $39 is equal to 1, so i think Grbl should be able to read the ! when it comes in and instantly stop the motion. I'm not sure where i'm going wrong and i hope to get some input from you. Thank you very much :-)

If you need any more information, feel free to ask.