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:

How to change G28 in Mplmaster


Darin
 Share

Recommended Posts

Hello,

 

This I thought would be simple.. But how do you change the G28 code like below. I am using Mplmaster post for lathe..

 

This is how it posts now

 

(.5625 DRILL)

G54

N2 T0202

G18 G98

G97 S1600 M03

M8

G0 X0. Z.25

G83 Z-1. R-.15 Q500 F10.

G80

M9

G28 U0. V0. W0. <----------------------------------- this line ---------------------------->

M01

 

 

This is how I want it to post at the end of ever tool

 

(.5625 DRILL)

G54

N2 T0202

G18 G98

G97 S1600 M03

M8

G0 X0. Z.25

G83 Z-1. R-.15 Q500 F10.

G80

M9

G28 U0. <---------------------------- Like this --------------------------------->

G28 V0. W0. <------------------------------------ Like this ---------------------------->

M01

 

 

Thanks

Link to comment
Share on other sites

Hello,

 

In the lathe retract postblock (pl_retract), look for the following line:

 

pcan1, pbld, n$, *sg28ref, "U0.", [if y_axis_mch, "V0."], "W0.", strcantext, e$

 

 

and change it to this:

 

pcan1, pbld, n$, *sg28ref, "U0.", strcantext, e$

pbld, n$, *sg28ref, [if y_axis_mch, "V0."], "W0.", e$

 

Awesome thank you... Now how to I make it post like that at the end of the program?

 

 

G28 U0. <---------------------------- Like this --------------------------------->

G28 V0. W0. <------------------------------------ Like this ---------------------------->

M30

 

Thanks

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...