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:

tooltable & other header info


kkominiarek
 Share

Recommended Posts

This will be an ongoing Q&A thread for me.... so please check back often over the next couple of weeks as I will attempt to make my post almost perfect......I've been experimenting w/tooltable/bldnxtool/pwrrt/tcnt....I've read past threads to get this far.

 

1st problem ....tooltable/list at beginning of program.

 

*** this is what I have now....

%

O0000

(PROGRAM NAME - KTEST.NC )

(CUSTOMER NAME - Default Customer )

(DESCRIPTION - Default Description )

 

(TOOL LIST)

 

G20

G0 G17 G40 G49 G80 G90

T1 ( TOOL 1 - .75" ROUGHER )

( ROUGH 2"THRU HOLE )

M6

G0 G90 G54 X-12.8051 Y-3.5139 S2500 M3

G43 H1 Z3.

G5 P10000

( - .75" ROUGHER )

X-12.8051 Y-3.5139 Z.1

( - .75" ROUGHER )

G1 Z-1.45 F25.

( - .75" ROUGHER )

G41 D21 X-13.7851 F45.

( - .75" ROUGHER ).....................

 

T2 ( TOOL 2 - .75 E MILL )

( FINISH .830 DIM )

M6

G0 G90 G54 X-13.1801 Y-10.6962 S3000 M3

G43 H2 Z3.

G5 P10000

( - .75 E MILL )

Z.1

( - .75 E MILL )

G1 Z-.825 F25.

( - .75 E MILL )

G41 D22 Y-10.0962 F48.

( - .75 E MILL )

X-23.537

( - .75 E MILL ).....................

 

T3 ( TOOL 3 - .75 OD X 45 DEG C'SNK )

( MACHINE CHFR ON THRU HOLE )

M6

G0 G90 G54 X-12.8551 Y-3.5139 S3000 M3

G43 H3 Z3.

G5 P10000

( - .75 OD X 45 DEG C'SNK )

Z.1

( - .75 OD X 45 DEG C'SNK )

G1 Z-.238 F50.

( - .75 OD X 45 DEG C'SNK )

G41 D23 X-12.2551 F40.

( - .75 OD X 45 DEG C'SNK )..........

 

***this is what I want....

O0000

(PROGRAM NAME - KTEST.NC )

(CUSTOMER NAME - Default Customer )

(DESCRIPTION - Default Description )

 

(TOOL LIST)

(TOOL 1 - .75 ROUGHER )

(TOOL 2 - .75 E MILL )

(TOOL 3 - .75 OD X 45 DEG C'SNK )

 

G20

G0 G17 G40 G49 G80 G90.......

 

What is causing the toolcomment to be posted after every line and not at the top?

Link to comment
Share on other sites

this is section of my post, I put this "#" in front of #ptlchg, #ptoolcomment and #pbld

 

....these changes did not get rid of the tool comments after every line.

 

- - - - - - - - - - - -

ptlchg #Tool change

pcuttype

toolchng = one

#if mi1 = one, #Work coordinate system

# [

# pfbld, n, *sg28ref, "X0.", "Y0.", e

# pfbld, n, "G92", *xh, *yh, *zh, e

# ]

pbld, n, "M01", e

pcom_moveb

c_mmlt #Multiple tool subprogram call

pcan

pbld, n, *t, ptoolcomment, e

comment

- - - - - - - - - - - - - -

Link to comment
Share on other sites

Don, I actually have these same notes printed from the mcam forum....the problem is...i don't know....

it just doesn't code correctly....i think i'm following your examples to the "T".

 

could it be where these items are in my post?

where should tooltable be?

where should bldnxtool be?

 

thanks for taking time to e-mail me

Link to comment
Share on other sites

my next question......

 

I want the post to prompt me for Print Number.

 

I have e-mailed my reseller to request post cd so I can have the list of all variables. But in the meantime can someone let me know what the variable for print number is?

 

examples....

scustname "Default Customer"

spartdesc "Default Description"

s???????? "Default Print Number"

Link to comment
Share on other sites

I tried to create one called sprntnumb

 

this is what I had.......

 

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

# Start of File and Toolchange Setup

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

sprntnumb "Default Print Number" # initilize string variables for questions

 

fq 1 sprntnumb Enter print description: #format questions

 

 

 

pheader

"(PRINT NUMBER - ", sprntnumb, ")", e

 

 

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

# Misc strings

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

sprntnumb "Default Print Number"

 

 

Was I close??????

Link to comment
Share on other sites

this is out of a setup sheet but the same process should work in a post. This is what I use to input my work zero positions.

 

 

# DEBUG/PROGRAM SWITCHES, debugging and program switches

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

sxzero "CV Packing Surface"

syzero "Centerline Root"

szzero "Root Bottom"

sazero "Root Bottom facing spindle

 

 

# Question format statements

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

fq 5 sxzero Enter X Zero

fq 6 syzero Enter Y Zero

fq 7 szzero Enter Z Zero

fq 8 sazero Enter B Zero

 

 

pcollect # Collect info

q5

q6

q7

q8

 

 

pheader # File header

pcollect

 

 

pbld, "(X ZERO =)", sxzero, e

pbld, "(Y ZERO =)", syzero, e

pbld, "(Z ZERO =)", szzero, e

pbld, "(B ZERO =)", sazero, e

Link to comment
Share on other sites

Storkman, I appreciate your help but I'm unfamiliar with adding questions/prompts to the post and what needs to be changed/added to what location in the post.

 

I've made numerous changes and nothing has worked.

 

I did order the post cd. Hopefully the cd has what I need on it. With a good "how to" section.

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