I need to script VB6.0 gui and use grbl on Arduino for CNC functions
I am trying to build a GUI on VB 6.0 that can run a 3 axis CNC router.
I realise VB6.0 is old but, its still the easiest and the least problematic functionable GUI creator.
I don't' want it to draw/compile G-Code. I will have G-Code generated/scripted elsewhere in just ascii text files (maximum of 200 lines), so I want to build a GUI form in VB6.0 where I can just paste and save the the G-Code ascii text or plain file and with a run button on GUI I want to be able to run the CNC router.
so, I realise that I need to create a parser on VB6.0 and a grbl dynamic library (which is widely available on open source, which I can load on Arduino and use) on Arduino based shield to interpret the g-codes from VB6.0 parser.
I need my VB6.0 gui to do the followings;
So, I will need it to functions both on Auto & Manual mode:
manual mode: to jog controls and homing functions to home all 3 axis. and the MPG wheel functions .
Auto mode: where I want to load the ascii text or plain text g-code scripts in to the GUI and it should then with a help of the VB6.0 parser, send files codes to Arduino grbl shield.
I am wanting this GUI to functions to looks like this;
Please see the image following this link;
CNC control GUI for Code project 2.jpg - Google Drive[
^]
so, I need to know, how I can script a parser dll on VB6.0 / read text files dll / and display the current location of the axes in digital readouts display for all 3 axis etc.
so the arduino will communicate to the VB6.0 gui on computer via an Ethernet shield, using winsock or can suggest best option/
I would much appreciate if anyone can help me please.
Thank you in advance.
What I have tried:
I have some thoughts but nor tried anything to get a reasonable solution