Close

Another deep software change

A project log for G-EDM

The G-EDM is an electrical discharge machine that supports sinker EDM, EDM engraving, EDM drilling and Wire EDM operations. #Drahterodieren

gedm-devgedm-dev 08/19/2023 at 11:280 Comments

While doing the first 2D test cuts it was clear that I want to be able to change some process parameters in real-time and also be able to reprobe the top surface to compensate toolwear.

In the past the display just froze while processing. Accessing the SPI display is a heavy CPU load and created jerky motions in the steppers due to the delay it created. This problem was fixed after the full display code went on core 0.

But It still wasn't possible to do real-time adjustments. This has now changed.

A process overlay screen was added that allows to change different parameters like frequency and duty and also offers the possibility to pause/resume the process and reprobe the workpiece. It also shows the position of the machine in MPos and WPos.

The reprobing routine is not finished yet. It already stops the motion and moves to the reprobe position but the final reprobing and resetting of the work coordinate system has yet to be done.

The reprobe position can be set manually after jogging the machine to the wanted position and set this current position as reprobe point in absolute MPos or just let it default to 0,0 in G54 WPos.

All settings now show a little infotext that may help new users to better understand what they are going to change.

The wire extension starts to take some shape too. Far from ready but it should not take too long:

Discussions