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:

Tool Comment


Recommended Posts

How make tool comment displayed like this

 

 

( T1 - 6. FLAT ENDMILL MAX - Z5. MIN - Z-10. )

( T2 - 3. FLAT ENDMILL MAX - Z5. MIN - Z-5. )

( T12 - 0.21 DRILL MAX - Z5 MIN - Z-9.313 )

( OVERALL MAX - Z5. )

( OVERALL MIN - Z-10. )

G21

G0 G17 G40 G49 G80 G90

T1 M6

T2

G0 G90 G54 X-23.589 Y-6. S1591 M3

G43 H1 Z5.

......

Link to comment
Share on other sites

All of the information you are looking for can be collected and output in your program. The way that I would do it (if this was my post) would be to feed all of the data into a buffer file, analyze the axis limits, and output the results where desired.

 

This would be impossible to explain to someone who may not understand how buffers work. I would recommend a professional post writer to do some custom post work for you. Your reseller would be my recommended starting point.

 

HTH

Link to comment
Share on other sites

This would be impossible to explain to someone who may not understand how buffers work.

 

And where can I find or read, how buffers work ?

How i understand this buffer calculated depth ?

 

# Buffer 5 Read / Write Routines

# --------------------------------------------------------------------------

pwritbuf5 # Write Buffer 1

b5_gcode = gcode$

b5_zmin = z_min$

b5_zmax = z_max$

b5_gcode = wbuf(5, wc5)

 

preadbuf5 # Read Buffer 1

size5 = rbuf(5,0)

b5_gcode = 1000

min_depth = 99999

max_depth = -99999

while rc5 <= size5 & b5_gcode = 1000,

[

if rc5 <= size5, b5_gcode = rbuf(5,rc5)

if b5_zmin < min_depth, min_depth = b5_zmin

if b5_zmax > max_depth, max_depth = b5_zmax

]

 

I want to do it to know the required work length of the tool for not to scroll the programm

Thanks for the answer and sorry for my bad english )

  • Like 1
Link to comment
Share on other sites
  • 1 month later...

Did you get anyware with this topic, as i am looking for the very samething.

 

could somone write the code that would do this for the default fanuc post.

 

( T1 - 1/4 CDRILL DIA .250 MAX - Z.1 MIN - Z-.620)

( T2 - N7 JDRILL DIA .201 MAX - Z5. MIN - Z-5. )

( T3 - 1/4-20 TAPRH DIA .250 MAX - Z5 MIN - Z-9.313 )

( OVERALL MAX - Z5. )

( OVERALL MIN - Z-10. )

G0 G17 G20 G40 G49 G80 G90

T1

M6T2

( OVERALL MAX - Z.1 )

( OVERALL MIN - Z-.620 )

G0 G90 G54 X-23.589 Y-6. S1591 M3

G43 H1 Z.1

 

 

thanks.

Link to comment
Share on other sites

How make tool comment displayed like this

 

 

( T1 - 6. FLAT ENDMILL MAX - Z5. MIN - Z-10. )

( T2 - 3. FLAT ENDMILL MAX - Z5. MIN - Z-5. )

( T12 - 0.21 DRILL MAX - Z5 MIN - Z-9.313 )

( OVERALL MAX - Z5. )

( OVERALL MIN - Z-10. )

G21

G0 G17 G40 G49 G80 G90

T1 M6

T2

G0 G90 G54 X-23.589 Y-6. S1591 M3

G43 H1 Z5.

......

 

Look at MPMaster post.

Link to comment
Share on other sites

AxelZu you are understood and the MPMaster post has all the building blocks for what you need. Buffers are a way to us the MP side of posting and the PST together to store and get information to create what you are after. The buffers are designed to do ti per tool as it is posted you are looking to do it per tool at the beginning and to do this you will need a very good understanding of buffers. It is not something I can every say I got, but Zoober gets it and so do some other very smart people on this board. They allow you to collect data store that data and then call it for out put after it has collected all the data needed to come up with the answers you are looking for. Again MPMaster has all the building block the key will be figuring out how to take that and modify it for your needs. You can get the post guide from your Mastercam Dealer. Email them and aks them to get you a copy of it. I am not sure if it localized so it may be in English only.

Link to comment
Share on other sites
  • 1 month later...

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