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:

How do I make G94 appear in tap mode but not in drill cycle?


Recommended Posts

Hi,

I have problems with pitch tap which must have G93 to starts cyle and ends with G94. Please see below these dotted lines

 

................................................

N4 ( 7/32 DRILL)

G0 G17 G40 G49 G53 G80 G90 Z0

T4 M6(DRILL FOR ROLL TAP)

M8(LOC = Z-1.25)

G0 G90 G54

X1. Y-1. S2500 M3

G43 H4 Z2. T5

Z.1

G99 G83 Z-1.25 R.1 Q.065 F10.

Y-4.

X9.

Y-1.

G0 G80 Z2. M9

G40 G53 Z0 M19

M1

N5 ( 1/4-20 TAPRH)

G0 G17 G40 G49 G53 G80 G90 Z0

T5 M6(1/4-20 ROLL TAP ONLY)

M8(LOC = Z-1.)

G0 G90 G54

X1. Y-1.

G43 H5 Z2. T6

Z.1

G93 S300

G99 G84 Z-1. R.1 F.05 P300.

Y-4.

X9.

Y-1.

G94 <------------------------------------- (I would like G94 appears here, please help)

G0 G80 Z2. M9

G40 G53 Z0 M19

M1

Link to comment
Share on other sites

Hi PcRobotic,

 

You will have to force the string sgfeed, for tapping operations only (drillcyc$ = 3), in the post block pcanceldc$ right before the G80 output.

 

if drillcyc$ = 3, pbld, n$, *sgfeed, e$

if drillcyc$ <> 8, pcan1, pbld, n$, "G80", scoolant, strcantext, e$

 

sgfeed is the target string for a string select table, so it will only output G94 if the selector variable, ipr_type, is set properly.

 

Hope this helps.

Link to comment
Share on other sites

Thank you Ivan, it works.

 

Hi PcRobotic,

 

You will have to force the string sgfeed, for tapping operations only (drillcyc$ = 3), in the post block pcanceldc$ right before the G80 output.

 

if drillcyc$ = 3, pbld, n$, *sgfeed, e$

if drillcyc$ <> 8, pcan1, pbld, n$, "G80", scoolant, strcantext, e$

 

sgfeed is the target string for a string select table, so it will only output G94 if the selector variable, ipr_type, is set properly.

 

Hope this helps.

Link to comment
Share on other sites

Thanks for the tips Colin. By the way, did you recive my private message of which i just sent you a few minutes ago?

 

Since 'sgfeed' is a string select variable, the output will depend on the value of 'ipr_type'. Instead of 'sgfeed', I would use 'sg94' in it's place. That way you are always forcing "G94" explicitly.

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