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:
I have tried to use my reseller and made several attempts to contact them. They have left me high and dry so I'm on my own. On the bright side, it has taught me to be self reliant. Thanks for your reply.
Just to let you know that if you change this G32 to G84 here,
# --------------------------------------------------------------------------
# Select canned cycle type, profile is direction of finish profile vector
sthdg32 : "G32" #Cycle type G32 <-- Change the G32 to G84
sthdg76 : "G76" #Cycle type G76
sthdg92 : "G92" #Cycle type G92
sthdg33 : "G32" #Cycle type G32 with alternating position
sthdgcode : "" #Target string
fstrsel sthdg32 thdtype$ sthdgcode 4 -1
it will change the single point thread cycle (long hand) to G84 and not effect the tapping cycle at all. The code that I originally sent is were it needs to be changed. Over time, I have successfully made changes to the code G32 tapping to use the G84 canned tap cycle. I'm amazed that there is no information on any forum about this exact subject. This was a trial and error process. You were the only response I had on the subject from 2 different forums.
I'm using Mastercam 2021 with a a generic Haas TL 2 lathe post. It uses a G32 tapping format and I want to convert it over to G84. Does anybody no what or how to change this in the post? I know were the canned tap cycle is in the post but have no idea what the G84 would look like.
This is the post for G32
ltap$ #Canned tap cycle, lathe
gcode$ = zero
prv_dwell$ = zero
@dwell$
comment$
pcan
pe_inc_calc
xabs = vequ(refht_x)
ps_inc_calc
pcan1, pbld, n$, sgcode, pzout, strcantext, e$
pe_inc_calc
xabs = vequ(depth_x)
ps_inc_calc
opcode$ = 104 #thread address from feedrate
pbld, n$, *sthdg32, pfzout, pffr, pnullstop, e$
if dwell$, pdwell1
pe_inc_calc
xabs = vequ(refht_x)
ps_inc_calc
pswtchspin
pbld, n$, *sthdg32, pfzout, *spindle_l, e$
if dwell$, pdwell1
prv_gcode$ = m_one
pbld, n$, pnullstop, e$
pswtchspin
if refht$ <> initht$,
[
gcode$ = zero
pe_inc_calc
xabs = vequ(initht_x)
ps_inc_calc
pbld, n$, sgcode, pfzout, *spindle_l, e$
]
pbld, n$, spindle_l, e$
opcode$ = 81 #Restore opcode
pcom_movea
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.