Replies: 14 comments 13 replies
-
I'm having the same problem with A Teensy4.1 board programed with GRBLHAL. UGS can connect to the board if I don't power cycle the board (basically unplug/replug it). If I unplug it I get the same message as adsharma9 AS long as I don't unplug it, I can even go to the Arduino serial monitor and connect which it won't do after the power cycle. A strange thing is I can go to TinyG part of UGS and connect with it then I can go to GRBL and it will connect correctly. I can disconnect and reconnect correctly as long as I don't unplug the board. So what's the difference between connecting with TinyG and GRBL and why does it continue to work after the initial connection with TinyG? |
Beta Was this translation helpful? Give feedback.
-
Hi. Maybe Grbl 1.3a is not valid version for UGS Product Version: Universal Gcode Sender 20240704 Best regards. Marcin. |
Beta Was this translation helpful? Give feedback.
-
Hi. I choose GRBL ESP32 Firmware in UGS. When disabled, this:
ok
If connected via COM port, result is as below:
ok
|
Beta Was this translation helpful? Give feedback.
-
It seems that GRBL ESP responds for $I command in different way on COM connection and telnet connection, but most of CNC senders tolerate it. I.e. LaserGRBL, GRBLPlotter. |
Beta Was this translation helpful? Give feedback.
-
I tested with laserGRBL - it doesn't send $I on connection, but when I send $I manually GRBLESP responded correctly, sending as follows: |
Beta Was this translation helpful? Give feedback.
-
I tried to simulate situation using RealTerm program - telnet connection. [OPT:MPHBSW] [MSG:Using machine:MKS TINYBEE] [MSG:Mode=STA:SSID=Marcin_2.4G:Status=Connected:IP=192.168.1.153:MAC=D4-8A-FC-DF [MSG:No BT] ok ok So I suspect that UGS sends $I just with LF instead of CRLF. |
Beta Was this translation helpful? Give feedback.
-
I understand Your approach. I studied UGS code and it always use "\n", so maybe, as You suggested problem is in GRBLESP. If I knew how to compile UGS with Visual Studio, I could experiment modyfying: to super("$I\r"); I tried to find definition of super() function, but couldn't. I am not experienced in java projects. |
Beta Was this translation helpful? Give feedback.
-
I tried to do Your test. I cloned GEBLESP32 repository from link I gave You to Visual Studio Code / PlatfotmIO as is, without any customization. Compiled and uploaded it to Wemos ESP32 board. |
Beta Was this translation helpful? Give feedback.
-
I tried 2 days ago, but maybe You put new version. Delay on WiFi makes sense for me, since net communication could create some surprises. |
Beta Was this translation helpful? Give feedback.
-
The most recent Nightbuild (SNAPSHOT) gives same result:
ok
I tested my 4 machines - same results. |
Beta Was this translation helpful? Give feedback.
-
By the way how to build UGS code? I tried to clone with Visual Studio and Visual Studio code, but Perhaps I need some plugins to build such java project. |
Beta Was this translation helpful? Give feedback.
-
OK I found instruction how to build. It needs another IDE - Apache Maven with JDK Java17. |
Beta Was this translation helpful? Give feedback.
-
I downloaded Nightbuild from this link https://github.com/winder/Universal-G-Code-Sender/releases/download/nightly/win64-ugs-platform-app-2.0-SNAPSHOT.zip it seems to be recent exe created today at 15:00, but is older than 2 hours ago :( |
Beta Was this translation helpful? Give feedback.
-
Ok I erased previous download and loaded again. still exe file is from 15:00, but it works now both GRBL and GRBL profiles.
ok
So success !!! - Thank You Joacim. Greetings to Sweden :). |
Beta Was this translation helpful? Give feedback.
-
I am trying Universal GCode sender for the first time with Arduino Uno.
I am running a Window10 machine. Arduino is 1.8.19
I have tried with UGS version 2.1.2 and 2.1.4. I get
*** Connecting to jserialcomm://COM4:115200
*** Fetching device status
Beta Was this translation helpful? Give feedback.
All reactions