Jump to content

Welcome to eMastercam

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:

Output post for P1 -P48


Born to machine
 Share

Recommended Posts

Hi All,

would anyone have an x9 post that can output the correct format for P1-p48 work offsets as below?

L1000 L1001
G28 XYZ ; Reference position return G43 X-10.Y-10.Z-100.H10.; Contour
#100=1 ; Initialize added workpiece
coordinate system P No.
G01 X-30.;
G90 ; Absolute value mode Y-30.;
WHILE
[#100LE48]D01 ;
Repeat P No. to 48 X-10.;
G54.1 P#100 ; Set workpiece coordinate
system
Y-10.;
G22 L1001; Call sub-program G00 G40 Z10.;
#100=#100+1 ; P No. +1 G98 G81 X-20.Y-15.Z-
150.R5.F40;
Drilling
END1 ; X-25.Y-20.;
G28 Z ; Return to reference position X-20.Y-25.;
G28 XY ; X-15.Y-20.;
M02 ; G80 ;
G23

regards

Link to comment
Share on other sites
On 12/21/2019 at 7:00 PM, Born to machine said:

Hi All,

would anyone have an x9 post that can output the correct format for P1-p48 work offsets as below?

L1000 L1001
G28 XYZ ; Reference position return G43 X-10.Y-10.Z-100.H10.; Contour
#100=1 ; Initialize added workpiece
coordinate system P No.
G01 X-30.;
G90 ; Absolute value mode Y-30.;
WHILE
[#100LE48]D01 ;
Repeat P No. to 48 X-10.;
G54.1 P#100 ; Set workpiece coordinate
system
Y-10.;
G22 L1001; Call sub-program G00 G40 Z10.;
#100=#100+1 ; P No. +1 G98 G81 X-20.Y-15.Z-
150.R5.F40;
Drilling
END1 ; X-25.Y-20.;
G28 Z ; Return to reference position X-20.Y-25.;
G28 XY ; X-15.Y-20.;
M02 ; G80 ;
G23

regards

Your Mastercam dealer. :thumbsup:

  • Like 1
  • Haha 1
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.

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.

Follow us

×
×
  • Create New...