Code G81 is for calling a standard drilling cycle. The following frame shows a typical format for this loop:
G81 Х10.0 Y15.3 Z-3.0 R0.5 F50.
X and Y determine the coordinates of the holes to be machined. Z indicates the final drilling depth, and R is used to establish the retraction plane.