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:
Thanks for all the help, after a lot of trial and error, I finally figured it out.
I ended up having to add the orange lines to the G70 routine.
else, if lcc_compok = zero, # Profile comp on only output flag is enabled
]
sav_iprcc = c1_ipr_actv
sav_feedcc = c1_fr_pos
feed = sav_feedcc
ipr_actv$ = sav_iprcc
pbld, n$, *scclgcode, *ng70s, *ng70e,pffr, e$
foundcc = one
lfc_in_sub = one
Now it post out the G70 feed no matter where the canned cycle is in the program.
G18
/M8
G97 S1267 M3
G00 G54 Z0.
X1.6585
G50 S4800
G96 S550
G01 X-.0712 F.005
G00 Z.1
X2.2
Z.2
G70 P100 Q110 F.006
G00 Z.2
M9
M5
G53 X0.
G53 Z0.
M30
Thanks for the help, but this is exactly what I've already tries and where I'm stuck. I add the pffr to the line and try and trace the debug. I add a breakpoint to the line before the g71 and the g70 to see what's going on but the post is using strings and buffers for the g71 and doesn't show a whole lot when it comes to tracing. I seems like I need to add some buffers parameters before the G70 lines to get the pffr to post the correct callout. but for the life of me I cant seem to find the correct combination to make it do it. the butter parameters look something like this.
sav_feed = feed
sav_ipr = ipr_actv$
feed = sav_feedcc
ipr_actv$ = sav_iprcc
I believe this will force it to pickup the ifr_l feed output.
Thanks for the reply.
I'm aware that an * will force the output. And I've tried that. But for some reason unless the finishing is directly following the roughing cycle it doesn't post out the feed. Or when I do add the *. It post out the feed rate for the rough tool and not the finish. This is the issue I'm having.
Hey everyone,
I'm fairly new to post editing, and am trying to edit my Generic Hass ST 4X lathe post so it will force a feed rate to post on my G70 canned cycle line.
The issue I'm having is many time my student use a roughing and finishing canned cycle to turn there part, then single point there thread, and like to come back over the thread to take off any burs that may have come up. Well when we post just the Finish canned cycle (G70) after the thread, it doesn't post a feed after the P100 Q110 lines, leaving the tool to feed at the last feed rate, which in this case is a treading reed(F.050 IPR).
So all need to do is force the G70 to post a feed after the PQ for the tool its using. I can get the post to output a feed but it's using the feed from the roughing cycle, not the finishing cycle.
Any help would be appreciated.
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.