vlachoudis / bCNC

GRBL CNC command sender, autoleveler and g-code editor
GNU General Public License v2.0
1.57k stars 533 forks source link

Garbage receive MPos: <Idle|MPos:-46.835,83.830,-0.100FS:0,1000> #1738

Open sugigpi opened 2 years ago

sugigpi commented 2 years ago

i have a problem with bcnc, when bcnc is working it suddenly stops in the middle of the process, when i check it turns out there is a message in the terminal "garbage received" which asks how this can happen please ask for a solution friend, i use arduino uno and grbl shild thank you .

Traceback (most recent call last): File "C:\Python27\lib\threading.py", line 801, in __bootstrap_inner self.run() File "C:\Python27\lib\threading.py", line 754, in run self.target(*self.args, **self.__kwargs) File "C:\Python27\Lib\site-packages\bCNC\Sender.py", line 786, in serialIO elif self.mcontrol.parseLine(line, cline, sline): File "C:\Python27\Lib\site-packages\bCNC\controllers_GenericController.py", line 221, in parseLine self.parseBracketSquare(line) File "C:\Python27\Lib\site-packages\bCNC\controllers\GRBL1.py", line 206, in parseBracketSquare CNC.vars["prby"] = float(word[2]) ValueError: invalid literal for float(): 0.0000.000

image

bosd commented 2 years ago

Hard to tell if it is an issue with the code, or from your file.

Does the problem still exsist when installing the latest version from this repo?

rschell commented 2 years ago

File "C:\Python27\Lib\site-packages\bCNC\controllers\GRBL1.py", line 206, in parseBracketSquare CNC.vars["prby"] = float(word[2]) ValueError: invalid literal for float(): 0.0000.000

Traceback suggests a formatting issue in the gcode file.

sugigpi commented 2 years ago

File "C:\Python27\Lib\site-packages\bCNC\controllers\GRBL1.py", line 206, in parseBracketSquare CNC.vars["prby"] = float(word[2]) ValueError: invalid literal for float(): 0.0000.000

Traceback suggests a formatting issue in the gcode file.

thanks bro i will try