gerritv / Grbl-Panel

A control panel for Grbl
MIT License
180 stars 102 forks source link

Q: alarm when sending manual probe command #37

Closed joebananas10 closed 8 years ago

joebananas10 commented 8 years ago

I'm sending a manual probe command "G38.2 Z-50 F10" and sometimes the system returns a "ALARM: Hard/Soft limit" but I am not on any limit. i can still move in both plus and minus Z. See attached image, capture Sometimes this manual probe command works with no problem and other times it does not. I can't figure out what causes the difference. How can I find out which limit it's alarming on?

Please advise.

gerritv commented 8 years ago

Hi Joe Grbl 0.9j has some extra status bits to show the causes of Alarms. I am waiting for a new Uno to arrive, my old one didn't want to go into programming mode anymore :-( Once I receive it I can add support for the new status' into Grbl Panel. In mean time set Verbose to see the stream coming back from Grbl.

gerritv commented 8 years ago

$10 needs to be 31 in order to also report Limit pin status. I will figure out a place to display these, probably on RH side where the other Status items are displayed.

One other potential cause: The MDI interface is not set up to handle macros with multiple lines. Also some commands read or write EEPROM, also known to cause problems in Grbl if you send 2 or more commands in a row without waiting for the Ok response from first one.

I have some work to do adding a second queue for MDI. This is part of integrating your MDI/Macro button changes.

joebananas10 commented 8 years ago

Thanks for the info. I just checked my machine and $10 was set to 255. I changed it to 31 in the Settings grid.