The G81 simple drilling cycle automates drilling multiple holes. The cycle starts by moving the drill to the first hole position at rapid speed. Then it drills down to the specified Z depth at the feed rate. After drilling, it retracts to the clearance height R to avoid collisions. The cycle then moves to the next hole and repeats drilling and retracting. This continues until all holes are drilled. The G80 command cancels the cycle to stop drilling. The example program drills three holes at positions (10,10), (20,10), and (20,20) down to Z -5 with a retract height of 2 and feed rate 100. Variables X, Y, and Z track the tool position, and the cycle state shows if drilling is active or ended. Key points include retracting after drilling for safety and using G80 to end the cycle. Changing feed rate affects drilling speed but not positions or retract height.