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:

Stock left comments in lathe post


mig
 Share

Recommended Posts

Hi ,

Working on lathe -fanuc 21 post . Where i can get some instr. how to use debugger ?

How to get "stock left x and z output in post for lathe ?

Here is my code

-----

START TOOL LIST)

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

(END TOOL LIST)

 

N1 G00

N2 G20

N3 G99

N4 G50 S200

( ) would like to have G28 U0 W0 line here

N5 G54 T0101 ( T1 OD ROUGH RIGHT - 80 DEG. INSERT - CNMG-432 )

N6 G97 S200 M03

N7 G00 X10. Z0.25

N8 Z0.1951

N9 X2.3452

N10 G01 Z0.0951 F0.01

N11 Z-8.8283

N12 X2.424

N13 X2.5654 Z-8.7576

N14 G00 Z0.1999

N15 X2.3164

N16 G01 Z0.0999

N17 Z-2.1337

N18 G03 X2.3435 Z-2.5276 R5.7432

N19 G01 Z-8.8283

N20 X2.3652

N21 X2.5066 Z-8.7576

N22 G00 Z0.2

N23 X2.2876

N24 G01 Z0.1

N25 Z-1.961

N26 X2.2938 Z-1.9941

N27 G03 X2.3364 Z-2.3264 R5.7432

N28 G01 X2.4778 Z-2.2557

------------

thank you in advance

Link to comment
Share on other sites

There is documentation on the debugger that is installed with Mastercam. In your start menu, under mastercam X3/X4/X5/X6 > Documentation you should see the post debugger users guide.

 

Regarding the edit you are looking to make, look for the post block ltlchg$. You'll need to search for the tool output, which will vary based on the post you are using. Search for toolno or t$ in your post.

 

Above the line where the toolno or t$ is output, you will need to add the line:

 

pbld, n$, "G28", "U0.", W0.", e$

 

This will output the home position move before the start of every lathe tool change.

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