Sinumerik HOLES 1 cycle is best for repeating drilling operation at a straight line and equal distance. It minimizes the program to avoid unnecessary travel.

HOLES 1 ( SPCA , SPCO , STA1 , FDIS , DBH , NUM )

Where, SPCA = Abscissa of a reference point on the straight line (X-axis)
SPCO = Ordinate of this reference point (y-axis)
STA1 =  Angle to abscissa
Range : -180 < STA1<_ 180
FDIS = Distance from reference point to first hole
DBH = Distance between drilling hole
NUM = No of repeating operation

EXAMPLE 1: with  Sinumerik CYCLE 81 (Drilling cycle)

HARSH.MPF
N10   G90 G71 G94 F50 ;
N20   T03 D01 M06 ;
N30   S1000  M03  M08;
N40   G17 G00 X15 Y10 Z50 ;
N50   MCALL CYCLE 81 (10 , 0 , 5 , -25 , 0 )
N60   HOLES 1 ( 15 , 10 , 45 , 30 , 20 , 5 )
N70   MCALL ;
N80   G00 X20 Y20 Z50 ;
N90   M05 , M09 , M30 ;

DESCRIPTION

HARSH.MPF- Name of the main program
N10- Absolute coordinate system, a metric input command, feed rate per minute 50;
N20- tool change command select tool no. 3
N30- Spindle on clockwise, speed is 1000 rpm, Coolant on.
N40- Machining in XY-plane, rapid traverse where X 15, Y10 & Z50 ( tool at a ref. point )
N50- Modal call CYCLE 81 ( RTP= 10 , RFP= 0 , SDIS = 5 , DP= -25 , DPR =0 )
N60- HOLES 1 ( SPCA = 15 , SPCO= 10 , STA1 = 45 , FDIS= 30 , DBH = 20 , NUM= 5 )
N70- Modal call
N80- Rapid traverse where tool goes X20 ,.Y20 & Z50 ;
N90- Spindle stop , Coolant off, main program end