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:

Mazak post help.


Bruce Caulley
 Share

Recommended Posts

I have a mazak post for a palatech system that outputs a feedrate on the line after a tapping cycle

code:

 (M3 FORM TAP TOOL - 73)

N110G52X0Y0Z0

N112G0X-177.644Y95.128S2000M3

N114Z3.M8

N116G98G84Z-12.497R3.F.5

N118X-135.834Y119.372F1000.

N120X-177.644Y44.887

N122Y-5.113

N124Y-61.063

N126Y-108.462

How do I get rid of the feedrate? I thought I got around it when I altered a Makino post to output pitch insted of feedrate on the G84 line but lo and behold, the feedrate popped up on the next line again.

 

Any help appreciated.

Bruce banghead.gif

Link to comment
Share on other sites

Jimmy,

thanks for the reply. My post does not have a block called ptap2

It has the following

code:

  

ptap #Canned Tap Cycle

pdrlcommonb

if istpi=0, pitch1=25.4/pitch1

pbld, n, *sgdrlref, *sgdrill, pxout, pyout, pfzout, pcout,

prdrlout, pitch1, strcantext, e

I think that the problem is somewhere else because if the pitch is a feedrate as per the makino post there is no problem. However if the pitch is the actual pitch then a feedrate is added after. It is as if the post must use a feedrate before it will move to a second point. I am wondering if it somewhere in the motion output section:-

 

code:

 prapidout       #Output to NC of linear movement - rapid               

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

pxout, pyout, pzout, pcout, strcantext, scoolant, e

 

plinout #Output to NC of linear movement - feed

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

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

 

pcirout #Output to NC of circular interpolation

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

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

 

pcom_moveb #Common motion preparation routines, before

pxyzcout

ps_inc_calc

 

pncoutput #Movement output

pcom_moveb

comment

pcan

if cuttype = zero, ppos_cax_lin #Toolplane rotary positioning

if gcode = zero, prapidout

if gcode = one, plinout

if gcode > one & gcode < four, pcirout

if mr_rt_actv, #Restore absolute/incremental for G51/G68

[

absinc = sav_absinc

mr_rt_actv = zero

]

pcom_movea

 

pcom_movea #Common motion preparation routines, after

pcan2

pe_inc_calc


cheers.gif

Bruce

Link to comment
Share on other sites

Look for the ptap_2 block. It probably calls pdrill_2. So you will need to copy the contents of pdrill_2 to ptap_2 and the edit it from there.

 

This is from the mpmazakm post from the cd.

This is how it looks:

code:

   

ptap_2 #Canned Tap Cycle

pdrill_2

Change it to something like this:

code:

   

ptap_2 #Canned Tap Cycle

pdrlcommonb

pcan1, pbld, n, pxout, pyout, pzout, pcout, prdrlout, dwell,

strcantext, e

pcom_movea

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