HOW that would be used in a part program would be like
(Program #10001 )
G40 G80 G90 G54
G0 X0 Y0   (Move to a ref point)
G0 X10      ( Move to first drilling location)
M100        ( call Driller cycle)
G0 X20
M100
G0 X30
M100
G0 X0 Y0  ( Return to Ref point )
M30
etc,etc