CNC program which shows the use of G81 Drilling Cycle G84 Tapping Cycle.
As G81 drilling cycle has already been briefly explained here G81 Drilling Canned Cycle – CNC Mill Programming.
G81 drilling cycle program examples http://www.helmancnc.com/fanuc/fanuc-g81-drilling-cycle/.
G84 tapping cycle can be read here G84 Tapping Cycle – CNC Mill Programming with multiple G84 tapping cycle examples programs http://www.helmancnc.com/fanuc/fanuc-g84-tapping-cycle/.
CNC Program Example
O1000 ; T1 M6 ; G0 G90 G40 G21 G17 G94 G80 ; G54 X10 Y10 S? M3 ; G43 Z100 H1 ; Z5 ; G81 R3 Z-20 F? M8 ; Y30 ; Y50 ; Y70 ; X30 ; X50 ; X70 ; X90 ; Y50 ; Y30 ; Y10 ; X70 ; X50 ; X30 ; G80 ; G0 G90 Z100 T2 M6 ; G0 G90 G40 G21 G17 G94 G80 ; G54 X10 Y10 S? M3 ; G43 Z100 H1 ; Z5 ; G84 G99 G95 R3 Z-20 F1.25 M8 ; Y30 ; Y50 ; Y70 ; X30 ; X50 ; X70 ; X90 ; Y50 ; Y30 ; Y10 ; X70 ; X50 ; X30 ; G80 ; G0 G90 Z100 ; T0 M6 ; M30 ;