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:

Y home when tool change.


B Whale
 Share

Recommended Posts

Whale,

 

Open your post and go to the pretract post block and ad a line taht looks like this:

 

pbld, n," ", "G28", "X0.", "Y0.", protretinc, e

 

That line was in my original mpmaster post but I had to cancel it so I am not sure of the posted result. You might want to make a backup copy of your original post before editing your post.

 

Hope that helps,

Link to comment
Share on other sites

ok ! it output when tool change, but there are 2 of G28 Y0. when M30!

 

 

G00 G17 G21 G40 G80 G90

T3 M06

G00 G90 G54 X-6. Y6. S6000 M03

G43 H3 Z10. M07

G98 G81 Z-.5 R1. F1200.

G80 M09

M05

G91 G28 Z0.

G28 Y0.

M01

 

 

T4 M06

G00 G90 G54 X-6. Y6. S15000 M03

G43 H4 Z10. M07

G98 G83 Z-6.5 R1. Q1. F1000.

G80 M09

M05

G91 G28 Z0.

G28 Y0.

G28 X0. Y0.

G90

M30

%

Link to comment
Share on other sites

B Whale,

In your post, anything that is in quotation marks is called a literal string and will be output exactly as in the quotes. If you want the X0. to be output, then I believe your line should read

pbld, n, "G28", "X0.", "Y0.",e

As lone as the information in that particular line is exactly the same every time (no variable information) you can use literal strings.

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