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:

lathe face drill needs to be ipr feed


Recommended Posts

I have a fanuc 18i control and using- GENERIC FANUC 4X MT_LATHE.pst

when i use C axis face drill the post outputs the feed in IPM and I need IPR

also my "Dia offset 0" box is greyed in C-axis face drill out so when it post i get T0900 in stead of T0909

 

X7 mu2

puma TT2500SY

fanuc 18i

Thanks

 

G0 T0900

G17

M35

M8

G0 G54 Z.25

X3.74

C180.

G97 S3834 M33

G83 Z-.343 R.1 F15.34

C60.

C300.

G80

M9

G28 U0. H0. M35

G28 W0. H0.

T0900

Link to comment
Share on other sites

Probably the easiest way is to set up a Misc real to trigger feed per rev.

If it's a drill cycle, might go thru the drill cycle

Declare / format your variables:

 

use_pitch : 0 #0 = Use feed for tapping, 1 = Use pitch for tapping

fmt "N" 4 n_tap_thds$ #Number of threads per inch (tpi)

fmt "F" 2 pitch #Tap pitch (inches per thread)

 

Might capture it in "pdrlcommonb" post block

 

if mi6$, use_pitch = 1

if use_pitch = 1,

pbld, n$, "G95",e$

else,

pbld, n$,sgfeed, e$

 

(Drill cycle post block)

 

mtap$ #Canned tap cycle, mill

pdrlcommonb

if use_pitch,

pitch = 1/n_tap_thds$

pcan1, pbld, n$, *sgdrlref, pgdrlout, pfxout, pfcout, pfzout,

prdrlout,*pitch, strcantext, e$

else,

pcan1, pbld, n$, *sgdrlref, pgdrlout, pfxout, pfcout, pfzout,

prdrlout,pffr, strcantext, e$

pcom_movea

Link to comment
Share on other sites

I couldn't figure out the above solution.

I put " sg98 " into the canned drill cycle below and i seemed to work.

 

mdrill$ #Canned drill cycle, mill

pdrlcommonb

pcan1, pbld, n$, *sgdrlref, pgdrlout, sg98, pxout, pyout, pzout,

pcout, prdrlout, dwell$, pffr, strcantext, e$

pcom_movea

 

 

 

My reseller said - without looking at the entire I can't say if there are anger conflicts but it looks good.

what are anger conflicts?

When I use canned drill cycle it outputs T0900 when i need T0909

the reseller said I needed to edit a math equation in the post

 

would it be something like- toolno = t$ * 100 + zero

Thanks

Link to comment
Share on other sites

on the #tool change mill it was

toolno = t$ * 100 + tolffno$ but on my c-axis face drill the Dia offset is 0 and greyed out.

i changed it to

 

toolno = t$ * 100 + t$

 

then it posted T0909

is there any way to get dia offset un-greyed?

Thanks

Nope since a Drill should never have a diameter offset. You can make a mi or mr control this if you need it, but milling toolpaths like this when used in lathe never had the logic built into them that you might need adjustments. It was done along the lines of you would never need them since what would you be adjusting. You can define or do a different type of toolpath and they are not greyed out, but would need to know exactly what you are trying to accomplish.

Link to comment
Share on other sites

Before i changed toolno = t$ * 100 + tloffno$ to toolno = t$ * 100 + t$

it would post T0900 instead of T09?? the last 2 digits are for the tool length.

It would index to tool 9 but would have zero tool length offset

 

toolno = t$ * 100 + t$ works if i want the same tool & length number, but some times i might need T0919

 

is it possible to use toolno = t$ * 100 + ( Len. offset) ?

Link to comment
Share on other sites

Before i changed toolno = t$ * 100 + tloffno$ to toolno = t$ * 100 + t$

it would post T0900 instead of T09?? the last 2 digits are for the tool length.

It would index to tool 9 but would have zero tool length offset

 

toolno = t$ * 100 + t$ works if i want the same tool & length number, but some times i might need T0919

 

is it possible to use toolno = t$ * 100 + ( Len. offset) ?

 

Yes, but the problem is the lathe operations do not possess such a thing so not sure how you would make something that is not there work like you are thinking. That was why I suggested the mi or mr process to help control this. Mill toolpaths have the length offset, but not the lathe toolpaths unless I am missing something.

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