With reference to the following figure, The CNC part program is written to produce two holes.
N010 G71 G90 G94;
N015 M06 T101;
N020 G00 X0 Y0 Z40;
N025 X40 Y30 Z3 S600 M03 M08;
N030 G01 Z-32.4 F0.1;
N035 G00 Z3;
N040 X100 Y60;
N045 G01 Z-17.4;
N050 G00 Z3;
N055 X0 Y0 Z40 M05 M09;
N060 M02;
The above program is written in the form of