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:

Pulling my hair out. editing V9 lathe post


Longbow
 Share

Recommended Posts

Ive attached a section of my program below. The line N1G50X-7.2Z6.75 which I underlined is also needed where I put the blank line below. I only need the x and y referance added on or above the M9 line. Ive been working on this since this morning and still havent had any luck. Could anyone give me some advice... please smile.gif ?

 

 

%

O0010

G20

(PROGRAM NAME - 1)

(DATE=DD-MM-YY - 07-01-08 TIME=HH:MM - 17:39)

(TOOL - 2 OFFSET - 2)

(OD ROUGH RIGHT - 80 DEG. INSERT - CNMG-432)

N1G50X-7.2Z6.75

G0T0202

G50S2500

G96S330M03

G0X-3.2Z.049M8

G99G1X.01F.01

G0Z.149

X-3.2

Z.018

G1X.01

G0Z.118

X-3.2

Z0.

G1X.01F.006

G0Z.1

M9__________ (should be X-7.2Z6.75M9)

G0M05

T0200

M01

(TOOL - 5 OFFSET - 5)

(CENTER DRILL - .75 DIA.)

Link to comment
Share on other sites

Where are those values coming from? Is that the home position?

 

The variables [xh] and [yh] should hold the home position values. You need to find the line in the [ptoolend] post block and add the home position variables to the output line. It would look something like this, but this is from an X style post.

 

code:

in the ptoolend post block,

 

Look for a line like this:

 

n$, pscool, e$

 

 

And change it to:

 

n$, pscool, xh, yh, e$


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