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:

css back on after tool inspection


Recommended Posts

I have the Haas generic post. I just started using tool inspection point and it stopped turning back on CSS. How do I put it back in?

 

N2 G00 T0101
N3 M88
M42
N4 G97 S77 M3
N5 G00 G54 Z.5795
N6 X10.5607
N7 G50 S750
N8 G96 S213
N9 Z.2
N10 X6.0056
N11 G99 G01 Z.1 F.01
N12 Z-24.1324
N13 X6.147 Z-24.0617
N14 G00 X10.5607
N15 Z.5795
N16 X10. Z10.
(TOOL INSPECTION POINT - POST CUSTOMIZATION MAY BE REQUIRED)
N17 M00
N18 G00 T0101
M42
N19 G97 S77 M3
N20 G00 G54 X10.5607 Z.5795
N21 Z.2
N21 (need to insert G50 S750)
N21 (need to insert g96 S213)

N22 X5.9112
N23 G01 Z.1 F.01
N24 Z-24.1324
N25 X6.0526 Z-24.0617
N26 G00 X10.5607
N27 Z.5795
N28 X10. Z10.

Link to comment
Share on other sites
This is my tool inspection post block that it works. This is from a Mori post.
Make sure you have prpm in your post block.

# Motion NC output
# --------------------------------------------------------------------------

ptool_insp      #Tool inspection point
      #Modify following lines to customize output for tool inspection points
      if posttype$ = 2, #Lathe tool inspection point
        [
        "(***TOOL INSPECTION POINT***)", e$
        if prmcode$ = 29999, #Only output tool insp comment if one was entered with this insp point
          [
          sparameter$ = ucase(sparameter$)
          pbld, n$, *sm00, "(", sparameter$, ")", e$
          ]
        else, pbld, n$, *sm00, e$      #Output just the stop if no comment
        pbld, n$, *sgcode, *toolno, e$ #Restate tool number
        pbld, n$, pfsgplane, e$        #Restate plane code
        prpm # Output programmed RPM   #Restate spindle
        prv_feed = c9k                 #Set prv_values to c9k to force them out with next moves
        prv_gcode$ = c9k
        prv_workofs$ = c9k
        if coolant$, prv_coolant$ = c9k
        ]
  • Like 2
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...