Replies: 4 comments 2 replies
-
A lot of work has been put into UGS to stream data to the controller efficiently. So we have different layers responsible for different things which is hard to just summarize. To make the actual TCP connection to the controller you can have a look at this class: To handle a stream buffer you can have a look at this class: All events from the communicator to the UI must be sent asyncronysly which is done in this class: |
Beta Was this translation helpful? Give feedback.
-
I can now send the ? and then the response of the microcontroller is correct but when I try to send for example letters than grbl doesn't react. Maybe I encode the string wrong do you know how do I have to encode it? |
Beta Was this translation helpful? Give feedback.
-
Oh yeah I forgot that now it works thank you very much. |
Beta Was this translation helpful? Give feedback.
-
Thank you very much I got it working. |
Beta Was this translation helpful? Give feedback.
-
Hello,
I want to make my own small G-Code sender with Java which sends the G-Code via network (Telnet) to my microcontroller with GRBL on it. I read that the UGS is programmed in Java and also can send G-Code via network. The problem is I have no idea at the moment how to such a program looks like can someone help me with that?
Thank you very much.
Beta Was this translation helpful? Give feedback.
All reactions