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:

cutter comp type in tool table


Recommended Posts

All our posts at one point added the cutter comp type to the tool call out in the tool table. It still outputs the table but the comp is no more.

This is what is in our posts and has been, to the best of my knowledge, since X6. I'm not entirely sure when this broke. My suspicion is the prmcode 15346 may not be valid any more.

My post reference manuals are for X9 and it shows valid in there so did something perhaps change in 2017?

# --------------------------------------------------------------------------
# Tool Comment / Manual Entry Section
# --------------------------------------------------------------------------
ptoolcomment    #Comment for tool
      tnote = t$, toffnote = tloffno$, tlngnote = tlngno$
      if tool_info = 1 | tool_info = 3,
        "(", pstrtool, ")", e$

ptooltable      #Tooltable output
      "(", t$, "-", pstrtool,
        [if ccomp_type > 0 & ccomp_type < 4, "-", *scomp_type], ")", e$

 

&

 

# --------------------------------------------------------------------------
# Tooltable Output
# --------------------------------------------------------------------------

pwrtt$          #Pre-read NCI file
      if tool_info > 1 & t$ > 0 & gcode$ <> 1003, ptooltable

pwrttparam$     #Pre-read parameter data
      #"pwrttparam", ~prmcode$, ~sparameter$, e$
      if prmcode$ = 15346, ccomp_type = rpar(sparameter$, 1) #Cutter compensation type - 0=computer, 1=control, 2=wear, 3=reverse wear, 4=off     

 

 

Link to comment
Share on other sites
On 6/13/2017 at 10:38 AM, BenzB said:

I have discovered the xtooltable function which is new for 2017/2018. I have started a new thread on that. It seems to work much better and easier to implement.

Yeah, I've implemented it in a couple of my posts too. It is pretty nice and very customizable.

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