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:

Post tweak help?


mcpgmr
 Share

Recommended Posts

I have a Fortune Mill that has 24 tool pockets but I use 25 tools using the spindle as the 25th pocket. My problem is I can't call the 25th tool T25. It has to be T0 with H25 or whatever length offset I desire within the range of the offset register. I would like to force the post to out put H25 and D25 when ever it encounters T0. In X2 I can adjust it in the ops manager but it doesn't always stick. The result would be a crash because it defaults to H0 D0 when it sees T0. The reason I have it setup like this is because I have dedicated tooling for this machine and a tool library in X2 for that machine and I don't want to change anything at this point. Any help would be appreciated. Thanks in advance! smile.gif

Link to comment
Share on other sites

Hi Paul. Probably the easiest fix will not make you happy. Currently using T0 allows the programmer to error because you have to type in your H25 D25 every time.

 

If on the other hand you actually used mastercam Tool number 25 and made it identical to your T0, then you could use something like the following to correct the tool number in the post. There is likely to be a section like the following:

 

if stagetool >= zero,

[

if omitseq$ = 1 & tseqno > 0,

[

if tseqno = 2, n$ = t$

pbld, *n$, *t$, "M06", ptoolcomm, e$

]

else, pbld, n$, *t$, "M06", ptoolcomm, e$

]

 

If you add in the following it should always output T25 as T0 but won't affect the offsets associated with T25.

 

if stagetool >= zero,

[

if t$ = 25, t$ = 0

if omitseq$ = 1 & tseqno > 0,

[

if tseqno = 2, n$ = t$

pbld, *n$, *t$, "M06", ptoolcomm, e$

]

else, pbld, n$, *t$, "M06", ptoolcomm, e$

]

 

Just an idea. Let us know if that solves your issue.

 

Regards,

 

Russell Jennison

Post Development

In-House Solutions Inc.

http://www.inhouseposts.com

http://www.emastercam.com

Link to comment
Share on other sites

:rewritten

 

Try this;

 

look for tlngno$(s) in your post and in the line before add

code:

      if t$ = 0, tlngno$ = 25

then in postblock pccdia;

 

code:

pccdia          #Cutter Compensation

#Force Dxx#

if t$ = 0, tloffno$ = 25 # <<<<<<<<<<<< add

if prv_cc_pos$ <> cc_pos$ & cc_pos$, prv_tloffno$ = c9k

sccomp

if cc_pos$, tloffno$

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