Register now to participate in the forums, access the download area, buy Mastercam training materials, post processors and more. This message will be removed once you have signed in.
Use your display name or email address to sign in:
in every drill program, then generate X,Y positions
starting from line 18 on.
Join us!
eMastercam - your online source for all things Mastercam.
Together, we are the strongest Mastercam community on the web with over 56,000 members, and our online store offers a wide selection of training materials for all applications and skill levels.
make mastercam insert same lines before g code lines
in Post Processor Development Forum
Posted
I need Mastercam 2018 to insert following lines in every drill program
before inserting drill holes coordinates.
Sample code below:
%
N1 P4081 (JOB/PART-NO)
N2 (USE-DRILL-SIZE)
N3 G80
N4 G70
N5 G90
N6 G17
N7 M15
N8 S90 M03
N9 M11
*N10 P2=1.
*N11 P3=-0.5
*N12 P10=1.
N13 Q70
N14 G00
N15 G81 F7.
*N16 GO 18
N17 (DRILLS-XY)
N18 X28.3232 Y1.7132
N19 X27.9102 Y5.1147
N20 X27.0902 Y8.4416
N21 X25.8752 Y11.6454
N22 X24.2828 Y14.6794
Need for Mastercam to insert lines N1 thru N17
in every drill program, then generate X,Y positions
starting from line 18 on.