Sienci-Labs / gsender

Connect to and control Grbl-based CNCs with ease
https://sienci.com/gsender/
Other
185 stars 45 forks source link

Not detecting Sainsmart Prover3030 - error 3 on $$ #562

Open yavinmaster opened 2 days ago

yavinmaster commented 2 days ago

Having previously tried CNCjs I thought I would try gsender as it is more up to date and has some nice features. Unfortunately, my Sainsmart Prover 3030 is showing up as an unrecognised device. If I connect to it anyway I receive the following error: Error 3 - Grbl $' system command was not recognized or supported. Line $$.

It looks like on connection, gsender issues a ? and a $$ command but maybe because of the timeout, it isn't getting what it wants back from the $$. In the console I see the ? response but there is no $$ reply. If I manually issue a $$ command in the console, it correctly reports back.

This invalid response appears to be stopping gsender correctly working with this machine. If I issue a $$ manually it un-greys the buttons but if I try to run a gcode file, it gets a few lines in and freezes (I'm guessing because it didn't receive what I was expecting from another command).

I've tried this both local to the raspberry pi I'm running on and via the remote control mode (which is what I will eventually want to use).

For reference, I'm running version 1.4.9 and didn't have any issue like this running CNCjs.

Let me know if you need any more information to help debugging this.

yavinmaster commented 2 days ago

OK - some more information. I noticed on the release notes of 1.4.7: GRBL controller now will always send $$ command eventually even if no startup message received. I therefore installed 1.4.6 and I don't appear to get the error message. Unfortunately, I don't get access to the homing button until I manually issue a $$ command on the console, then the homing button appears. I was also able to run a gcode file and it executed right through without issue. If needed, I can test 1.4.7 and 1.4.8 too but hopefully someone will take the information I've provided so far and make sense of what is happening. For clarity - my device is still showing up as an unrecognized device.