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 inspection in new HST paths


Guest
 Share

Recommended Posts

  • Replies 55
  • Created
  • Last Reply

Top Posters In This Topic

Marc,

 

I honestly have't looked but you might take a peek. The newest MP master has a bunch of new funcitionality, you might check it out and see it there is anything in there you can use.

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

I dug up thej post I started on. I added this to prapid:

 

code:

 if ((cur_cflg$ < 100000) & (cur_cflg$ => 70000)), ptlchg_sister

else, pncoutput

cur_cflg$ is set to 70000 on the rapid move between passes.

 

I never finished up on what ptlchg_sister was going to do. You will want very, very different output depending on what your machine has for sister tooling functionality.

 

 

If anyone has some examples of what their machine has for sister tooling functionality I would like to see it. I think I remember one machine just using a M16 instead of a M06 to call predefined sister tooling, You even used the same D and H offset #'s. It was pretty cool but I don't remember what kind of machine it was.

 

 

HTH

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

Ok I am going to bump this since Gcode's problem brought this back up. I have my information for the block skips he needs,but do not have anything for this function. I found the NCI number for it which is 12608 for distance and 12609 for time. I am wondering has anyone got this to work. I played with this and wonder if someone got it done. If not can someone from CNC chime in since it is not in the posts they supply with Mastercam as of MR2.

 

I did go into MPMASTER and figure we need to get the information through the pwrttparam$ read. I then get an output and trying to use Roger example above get nothing happening. So if you guys added this capability to the operations give us a way to use it please.

 

Thanks for anyone that can shed some light on this.

Link to comment
Share on other sites

Ron,

 

Check out the stock Generic 3X Fanuc post that come with the install, most of it is roughed in, I am adding this in to it now

 

code:

if rpd_typ$ = 7,

[

pbld, n$, sg00, *sav_zabs, e$

gcode$ = 1000

pretract

pbld, n$, "M00", "(TOOL INSPECTION POINT - POST CUSTOMIZATION REQUIRED)", e$

]

Looks OK

 

code:

N2282 G0 Z2.

N2284 M5

N2286 G91 G0 G28 Z0.

N2288 M00 (CHECK TOOL)

N2290 M01

N2292 T1 M6

N2294 G0 G90 G54 X-1.5492 Y1.3429 S8000 M3

N2296 G43 H1 Z2.

N2298 G1 Z-1.736

N2300 Z-1.811 F8.56

Link to comment
Share on other sites

hi everyone,

 

is there any way that i can modify my post so that I can get "M01" everytime it finishes the pocket? I can only add "M01" in prapid .. .

if I put before pncoutput , it will output M01 after clearance height before going to the other pocket..if i put "M01" after pncoutput, the M01 appears after it moves to the other pocket,

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

I have a huge cavity to rough and I know (if nothing goes wrong) my feedmill inserts will cut good for about 1 hour. I'm estimating this cavity will rough for around 5 hours, so I want to use the tool inspection/change and found this old posting but still wondering if it is worked out and what will I have to do to my post to make it happen.

 

Thanx

Link to comment
Share on other sites

Hi, open the NCI & Parameter Reference manual. Right on the first page near the top ("What's new in X4") there's a link to sections about lathe tool inspection. This is about the lathe tool inspection feature, but it works similar to mill except that you don't get the 29999 comment that is output for lathe. It should get you started.

Link to comment
Share on other sites

code:

 # 

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

# Motion NC output

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

#The variables for absolute output are xabs, yabs, zabs.

#The variables for incremental output are xinc, yinc, zinc.

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

prapidout #Output to NC of linear movement - rapid

sav_gcode = gcode$

if convert_rpd$ = 1,

[

feed = maxfeedpm

gcode$ = 1

ipr_type = 0

]

pcan1, pbld, n$, sgplane, `sgcode, sgabsinc, pccdia,

pxout, pyout, pzout, pcout, [if gcode$ = 1, `feed], strcantext, scoolant, e$

gcode$ = sav_gcode

if rpd_typ$ = 7, ptool_insp #Tool inspection point ------------> ADDED THIS

 

plinout #Output to NC of linear movement - feed

pcan1, pbld, n$, sgfeed, sgplane, `sgcode, sgabsinc, pccdia,

pxout, pyout, pzout, pcout, `feed, strcantext, scoolant, e$

if rpd_typ$ = 7, ptool_insp #Tool inspection point ------------> ADDED THIS

 

pcirout #Output to NC of circular interpolation

if not(arccomp), pcompwarn

if hel_2100 = one, pcirout2

else, pcirout1

 

pcirout1 #Output to NC of circular interpolation

pcan1, pbld, n$, `sgfeed, sgplane, *sgcode, sgabsinc, pccdia,

pxout, pyout, pzout, pcout, parc, feed, strcantext, scoolant, e$


I found what to add, but do not know where to put the postblock ptool_insp at headscratch.gif

 

Should it go in with/after/before the above code I pasted in?

Thanks again

Link to comment
Share on other sites

code:

 ptool-insp    #Tool inspection point

#Modify following lines to customize output for tool inspection

If posttype$ = 2, #Lathe tool inspection point

[

=(TOOL INSPECTION POINT – POST CUSTOMIZATION

MAY BE REQUIRED) =, e$

If prmcode$ = 29999, #Only output tool insp comment if one

was entered with this insp point

[

sparameter$ = ucase (sparameter$)

pbld, n$, *sm00, “(“, sparameter$, “)”. e$

]

else, pbld, n$, *sm00, e$ #Output just the stop if no comment

pbld, n$, *sgcode, *toolno, e$ #Restate tool number

pbld, n$, pgsgplane, e$ #Restate plane code

prpm # Output programmed RPM #Restate spindle

prv_feed = c9k #Set prv_values to c9k to force them out with next moves

prv_gcodes$ = c9k

prv_workofs$ = c9k

if coolant$, prv_coolant$ = c9k

]

else, #Mill tool inspection point

pbid, n$, *sm00, “(TOOL INSPECTION POINT – POST CUSTOMIZATION

REQUIRED)”, e$


According to the pdf the above code is the postblock but, I still am unclear as to where to add it to my post.

 

Can one of you post guru's help me out?

Thanx

Link to comment
Share on other sites

quote:

I found what to add, but do not know where to put the postblock ptool_insp at

 

Should it go in with/after/before the above code I pasted in?.

If I correct remember any place in post

start near from logic if rpd_typ$ = 7, ptool_insp

for easy edit after

Link to comment
Share on other sites

This is what my post looks like now and it does not work

 

code:

 # Motion NC output

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

#The variables for absolute output are xabs, yabs, zabs.

#The variables for incremental output are xinc, yinc, zinc.

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

ptool-insp #Tool inspection point #*Added 08-19-2009 KAH

#Modify following lines to customize output for tool inspection #*Added 08-19-2009 KAH

If posttype$ = 2, #Lathe tool inspection point #*Added 08-19-2009 KAH

[ #*Added 08-19-2009 KAH

=(TOOL INSPECTION POINT – POST CUSTOMIZATION MAY BE REQUIRED) =, e$ #*Added 08-19-2009 KAH

If prmcode$ = 29999, #Only output tool insp comment if one was entered with this insp point #*Added 08-19-2009 KAH

[ #*Added 08-19-2009 KAH

sparameter$ = ucase (sparameter$) #*Added 08-19-2009 KAH

pbld, n$, *sm00, “(“, sparameter$, “)”. e$ #*Added 08-19-2009 KAH

] #*Added 08-19-2009 KAH

else, pbld, n$, *sm00, e$ #Output just the stop if no comment #*Added 08-19-2009 KAH

pbld, n$, *sgcode, *toolno, e$ #Restate tool number #*Added 08-19-2009 KAH

pbld, n$, pgsgplane, e$ #Restate plane code #*Added 08-19-2009 KAH

prpm # Output programmed RPM #Restate spindle #*Added 08-19-2009 KAH

prv_feed = c9k #Set prv_values to c9k to force them out with next moves #*Added 08-19-2009 KAH

prv_gcodes$ = c9k #*Added 08-19-2009 KAH

prv_workofs$ = c9k #*Added 08-19-2009 KAH

if coolant$, prv_coolant$ = c9k #*Added 08-19-2009 KAH

] #*Added 08-19-2009 KAH

else, #Mill tool inspection point #*Added 08-19-2009 KAH

pbid, n$, *sm00, “(TOOL INSPECTION POINT – POST CUSTOMIZATION REQUIRED)”, e$ #*Added 08-19-2009 KAH

 

prapidout #Output to NC of linear movement - rapid

sav_gcode = gcode$

if convert_rpd$ = 1,

[

feed = maxfeedpm

gcode$ = 1

ipr_type = 0

]

pcan1, pbld, n$, sgplane, `sgcode, sgabsinc, pccdia,

pxout, pyout, pzout, pcout, [if gcode$ = 1, `feed], strcantext, scoolant, e$

gcode$ = sav_gcode

if rpd_typ$ = 7, ptool_insp #Tool inspection point #*Added 08-19-2009 KAH

 

plinout #Output to NC of linear movement - feed

pcan1, pbld, n$, sgfeed, sgplane, `sgcode, sgabsinc, pccdia,

pxout, pyout, pzout, pcout, `feed, strcantext, scoolant, e$

if rpd_typ$ = 7, ptool_insp #Tool inspection point #*Added 08-19-2009 KAH


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