Hey,

I am new to the Post Processors. I am trying to make the PostProcessor using UPG software for Solidworks.
This is a sample output of my PostProcessor :

N10 M05
N20 M06 T06 (6MM X 90DEG CRB SPOT DRILL)
N30 G00 X55. Y55.
N40 M03 S0
N50 G00 Z25.
N60 Z25.
N70 G01 Z-.001 F0 <<<<<<< Spot Drilling Cycle Section
N80 Z25.
N90 G01 Z0 F0 <<<<<<< Spot Drilling Cycle Section
N100 Z25.
N110 M05 <<<<<<< Tool Change Section
N120 M06 T07 (5MM X 90DEG CRB SPOT DRILL)

I am getting "Spot Drilling Cycle section" twice. My Expected output is as given below :

N10 M05
N20 M06 T06 (6MM X 90DEG CRB SPOT DRILL)
N30 G00 X55. Y55.
N40 M03 S0
N50 G00 Z25.
N60 Z25.
N70 G01 Z-.001 F0 <<<<<<< Spot Drilling Cycle Section
N80 Z25.
N110 M05 <<<<<<< Tool Change Section
N120 M06 T07 (5MM X 90DEG CRB SPOT DRILL)

I want Tool Change immediately below the 1st Spot Drilling Cycle section.
But I am not able to find the issue because of which this "Spot drilling" is repeating twice.
Any help would be appreciated..