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:
%
(RIGID TAPPING 5/16-24 RH Tap)
N1G20G40G80G90
T9M6
G0G54X1.Y1.
G43H39Z2.0M8
G95
M29S250
G98G84Z-.5R.1F.0417
G80M9
G94
G91G28Z0
M30
%
The g95 command before the tapping cycle specifies feed per revolution.
Try this exact format, edit your feed rate to match the lead/pitch of the tap.
That is what we use on our O-M because it works. I had to edit my post to output the feed in I.P.R.(g95).
This is exactly what our O-M requires. I tweaked my MPMASTER post to output exactly that.
%
(RIGID TAPPING)
N1G20G40G80G90
T9M6
G0G54X1.Y1.
G43H39Z2.0M8
G95
M29S250
G98G84Z-.5R.1F.0417
G80M9
G94
G91G28Z0
M30
%
I once adjusted the default tolerances, then my chains stopped working. Seriously. I ended up resetting to default.
Delete duplicate entities, xform project lines
to flat plane, zoom in and trim. These three tasks are standard practice.
Mine is set Chaining tolerance:.0001 and Planar chaining tolerance:.002
Je pense que c'est plutot un cas de trop de RPM's ou un outil avec un rayon proche a la meme rayon dans le coin de votre projet.
Je pense que ci vous cherche 'feedrate reduction in corners' sur cette 'forum/search' vous trouvera quel que chose.
Hello,
One of my posts always outputs an error file when i post. I have a very similar post for another machine, which does not make the error.
Aswell, both these posts initialize from metric tolerances to inch while post processing. My setting in Config. are on English, default, start-up.
I had a similar problem on.
Pocket remachine is not supposed to work with an open pocket type. But it did work, when the pocket had two 'corners'. When i would add a third corner it would not regen, and i think it was ending my session.
Roger Martin,
That's pretty close to what i need, however, the M03 should not be there.
*************************
T2 M06 ( 5/16-24 TAPRH)
(MAX - Z.1)
(MIN - Z-1.)
M08
G00 G90 G54 M03
G43 H32 Z.1 T1
G95
M29 S855
G99 G84 Z-1. R.1 F.0417
G80
G94
***************************
"Code looks good to me.
Why do you want to remove the first spindle comand?"
I have two different posts which each output this double spindle command. Neither of my samples from the manuals do not have the first S____ and M03.
I understand the command is controlled from a 'common blocks area'. I have not found a switch to turn it off.
Any suggestions?
Hello,
I'm think i need to activate 'tapflag' so that my code will have a 'G95' before and a 'G94' after the tapping cycle. Where , if necessary do i make the change? Thanks in advance. I'm using MCX,MR2 and MPMASTER.
ptap$ #Canned Tap Cycle
pdrlcommonb
#RH/LH based on spindle direction
if use_pitch, pbld, n$, "G95", e$
if use_pitch = 0,
[
pbld, n$, "M29", *speed, e$
pcan1, pbld, n$, *sgdrlref, *sgdrill, pdrlxy, pfzout, pcout,
prdrlout, *feed, strcantext, e$
]
else,
[
if met_tool$, pitch = n_tap_thds$ # Tap pitch (mm per thread)
else, pitch = 1/n_tap_thds$ # Tap pitch (inches per thread)
pcan1, pbld, n$, *sgdrlref, *sgdrill, pdrlxy, pfzout, pcout,
prdrlout, *pitch, !feed, strcantext, e$
]
pcom_movea
tapflg = 1
**************************************************
pcanceldc$ #Cancel canned drill cycle
result = newfs (three, zinc)
if tap_feed = one & drillcyc$ = three, result = newfs (15, feed) #Cancel tap feeds with 4/3 decimal places
if drillref = 0, z$ = initht$
else, z$ = refht$
!z$
if cuttype = one, prv_zia = initht$ + (rotdia$/two)
#else, prv_zia = initht$ #G91 Z depth from initial height
else, prv_zia = refht$ #Fanuc style - G91 Z depth from R level
pxyzcout
!zabs, !zinc
prv_gcode$ = zero
if cool_zmove = yes$ & (nextop$=1003 | (nextop$=1011 & t$<>abs(nexttool))), coolant$ = zero
pcan
if drillcyc$ <> 8, pcan1, pbld, n$, "G80", scoolant, strcantext, e$
if use_pitch & tapflg = 1, pbld, n$, "G94", e$
pcan2
tapflg = 0
quote:
"I assumed that you were just trying to get the Feedrate value you entered on the toolpath parameter to output in the correct format."
My toolpath parameters page says speed 534 and feed 26.74. I'd like to see the G88 tap cycle output F.0500 instead of F26.74 for the 1/2-20 tap.
Solutions #2 outputs no F address or value at all in the program.
Solution #1 output the F address, still in IPM.
I hope this clarifies matters.
Regards.
The first solution behaved the same as the original.
The second solution had the feed missing all together from the canned cycle.
Any more suggestions?
Forum,
I need to have my tapping cycle(g88) post in inches/rev. I searched the topic but did not find much of anything for this 'Centurion5' controller.
# Canned Tap Cycle
n$, *sgdrill, pg9899, *x$, *y$, *depth$, *refht$, *dwell$, *frplunge$,e$
I am working with X,MR2.
Regards.
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.