winder / Universal-G-Code-Sender

A cross-platform G-Code sender for GRBL, Smoothieware, TinyG and G2core.
http://winder.github.io/ugs_website/
GNU General Public License v3.0
1.9k stars 766 forks source link

Connecting UGS<->GRBL does not work anymore #2238

Closed arnodab closed 1 year ago

arnodab commented 1 year ago

Version

2.0.17

Hardware / Firmware

GRBL 1.1

What happened

*** Connecting to tcp://192.168.178.25:23

? ok $I [VER:1.1f backlash.20192303.Mega:] [OPT:VNM+,35,255] ok $$ $0 = 10 step (pulse) $1 = 25 idle (delay) $2 = 0 step (invert mask) $3 = 5 direction (invert mask) $4 = 0 step (enable invert) $5 = 0 limit (pins invert) $6 = 0 probe (pin invert) $10 = 5 status (report mask) $11 = 0.010 junction (deviation) $12 = 0.002 arc (tolerance) $13 = 0 report (in inches) $20 = 0 soft (limit) $21 = 0 hard (limit) $22 = 0 homing (cycle) $23 = 0 homing (direction invert mask) $24 = 25.000 homing (feed rate) $25 = 500.000 homing (seek rate ) $26 = 250 homing (debounce delay) $27 = 1.000 homing (pulloff) $30 = 3000 rpm (max) $31 = 0 rpm (min) $32 = 0 laser (Laser-mode enable, boolean) $100 = 100.000 x:steps/mm (X-axis travel resolution, step/mm) $101 = 100.000 y:steps/mm (Y-axis travel resolution, step/mm) $102 = 100.000 z:steps/mm (Z-axis travel resolution, step/mm) $110 = 500.000 x:mm/min (X-axis maximum rate, mm/min) $111 = 500.000 y:mm/min (Y-axis maximum rate, mm/min) $112 = 500.000 z:mm/min (Z-axis maximum rate, mm/min) $120 = 10.000 x:mm/s^2 (X-axis acceleration, mm/sec^2) $121 = 10.000 y:mm/s^2 (Y-axis acceleration, mm/sec^2) $122 = 10.000 z:mm/s^2 (Z-axis acceleration, mm/sec^2) $130 = 250.000 x:mm (max) $131 = 150.000 y:mm (max) $132 = 250.000 z:mm (max) $140 = 0.260 x:mm (backlash) $141 = 0.190 y:mm (backlash) $142 = 0.300 z:mm (backlash) ok $G [GC:G0 G54 G17 G21 G90 G94 M5 M9 T0 F0 S0] ok * Connecting to tcp://192.168.178.25:23 ? ? ? Connection closed * Connecting to tcp://192.168.178.25:23 ? ? ? Connection closed

How to reproduce

Just press the connect button, previous versions up to Version 2.0-SNAPSHOT/ 2022-11-04 worked flawlessly

Operating System

Windows 64 bit

Anything else

Problem reproduces on every press of the connect button, please see log file

breiler commented 1 year ago

This should have been fixed as of version 2.0.18 of UGS: https://github.com/winder/Universal-G-Code-Sender/releases/tag/v2.0.18

I have changed the protocol to support different flavours of GRBL. Unfortunately the developers of different GRBL forks have gotten creative when making the version string from the $I command. I checked the version string from your console output and it looks like it can parse it.

arnodab commented 1 year ago

Confirmed, it is working again in version 2.0.18. Thanks a lot for your great work and support.