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:

Okuma Tool Output Format


Recommended Posts

Hey Guys and Gals

I'm sure this is a duh, but I'm having trouble changing the tool output format to 6 digit a.o.t.

4 digit. The post is MPLOKUMA

I have changed the format statement to go 6 places instead of 4, and they are curently setup as leading.

What more can I do?

 

I have looked at the toolcommon section and it looks as though an if/then/else statement changes the output based on the value of CC_pos

How do I change this to output T010101 instead of t0101?

 

Thanks In advance

 

[ 07-15-2005, 02:46 PM: Message edited by: Eastech 1 ]

Link to comment
Share on other sites

If memory serves me correct. One is the tool, one is the length and the last the dia offset. So you need to look in the post to Tool call and then where the length and dia are called. You need to combine it all in to one statement at the toolchange and start up of the post. The length and dia may have to be forced but should be that big of a deal.

 

HTH and is clear enough to follow.

Link to comment
Share on other sites

We always use the Txxxxxx format so this works.

Crude, but it works.

I believe it normally only puts out the 6 digit format if nose comp is used.

All of you post experts please try to keep the snickering under control

 

 

ptoolcommon0 #Common Tool Number calculations for toolchange

# T'oottcc' output for Tool Number

# where...

# oo = Tool Offset number

# tt = Tool number

# cc = Tool Nose Compensation Offset number

# if cc_pos > 0,

# [

toolno = tloffno * 10000 + t * 100 + tloffno

result = newfs(21,toolno) #Six digit output format

# ]

# else,

# [

# toolno = t * 100 + tloffno

# result = newfs(7,toolno) #Four digit output format

# ]

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