HalSinkEDM Linuxcnc poses the tool Hal cuts to depth, retracts to start point, and Linuxcnc continues Mcodes set depths and sparkout times, startposition and arcout times A comp reads the gap voltage and decides next motion A debug comp uses a random number generator to do same ( shown here )