As I can make out, not even knowing what a magnetic drill was until today, the 5v goes into the safety switch that comes back to the pcb into a chip, which I can't read the numbers on it except (pic). some kind of programable chip I assume, I'm still waiting for a 110v transformer so I can follow the voltages.