GUI and firmware for a CNC-machine