CNC Grinder Retrofit controller