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 comments help, please...


Recommended Posts

Hi Jeff, Keith!

very appreciated for your help...

 

i just download mpmaster.* , and run the test, both horizontal and vertical posts do the same thing,

they can not see the whole blocks in that tool??

they just only look at the first block only,

 

attached here is the test file, when you run tool path group1, they will say : (COMPENSATION TYPE - COMPUTER)

that is not right, because that tool has wear comp: N145 G41 D31 Y1.375 ....

 

if you run tool path group2 , it says nothing, but this tool has wear comp. too?? : N75 G41 D31 Y1.375....

 

i might have to give it up , and use the manual comment!!! :(

Thanks alot for your time..

TEST1.MCX-5

Link to comment
Share on other sites
Ok so how about having it tell you WHEN the comp is turned on... like next to an operation comment, and not in the tool list?

 

Something like this:

 

....

G80M09

M05

G91G28Z0.

M01

(THREAD MILL)

(COMP TYPE-WEAR COMP) <----------------------------

N300T3M06( 3/4-10 THREADMILL)

(MAX - Z.5)

(MIN - Z-1.05)

G00G90G54X0.Y0.S2500M03

G43H3Z.5

/M08

T1

Z.1

 

I think this will be your best bet, getting things to work the way you want in the tooltable is not easy...

Link to comment
Share on other sites
  • 2 weeks later...

Ok

first define the variable

fmt 	4   lanvucomp	# comptype

then give it a value

   		if prmcode$ = 15346, lanvucomp = rpar(sparameter$,1)

Then make it output what you want, where you want... I put this right at the top of the ptlchg_com postblock, you can put it wherever you want and change the text inside the parenthesis to say whatever you want.

ptlchg_com  	#Tool change common blocks
  	if lanvucomp = 0, pbld, "(COMPUTER COMPENSATION)", e$
  	if lanvucomp = 1, pbld, "(CONTROL COMPENSATION)", e$
  	if lanvucomp = 2, pbld, "(WEAR COMPENSATION)", e$
  	if lanvucomp = 3, pbld, "(REVERSE WEAR COMPENSATION)", e$
  	if lanvucomp = 4, pbld, "(COMPENSATION OFF)", e$

here is what I get out of that...

N670 M00
(REVERSE WEAR COMPENSATION)
N680 T542 M06
N690 M00
( CONFIRM T542 H542 D542 DIA = 42.0000 )
N700 M11 (UNLOCK C)
N710 M11 (UNLOCK 
N720 G00 G17 G90 G54 C0. B0. X-89.4245 Y-39.4084 S545 M03
N730 M10 (LOCK C)
N740 M10 (LOCK 
N750 G43 H542 Z.25
N760 Z.2

 

HTH

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