cnc pcb router

Google arduino gcode and you will find libraries which should do the trick.