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:

Recommended Posts

Hi.

I want to add in my post cycle Tap with Peck. I want to specify a depth of -20. peck 2 and I want to will recieve code code

( 5.00 - 0.8. TAP-RH SPIRAL YG-1  IPI )
T12 M6
G0 G90 G54 X-45.065 Y17.257 S300 M3
G43 H12 Z25.
M8
Z2.
G99 G84 R2. Z-10.  F240.
X-45.065 Y17.257 Z10.

 

or I want to specify a depth of -21. peck 3 and I want to will recieve

T12 M6
G0 G90 G54 X-45.065 Y17.257 S300 M3
G43 H12 Z25.
M8
Z2.
G99 G84 Z-7. R2. F240.
X-45.065 Y17.257 Z-14.
X-45.065 Y17.257 Z-21.

How I need to change my post?

Now i have post

pdrlcst11            #Canned Tap Cycle with Peck
      pdrlcommonb
	  result = nwadrs(striz1, peck1$)	
	  result = peck1$
	  result = nwadrs(striz2, peck2$)	
	  result = peck2$
      result = newfs(17, feed)  # Set for tapping Feedrate format
	  pcan1, pbld, n$, *sgdrlref, "G84", pxout, pyout, pzoutz, peck1$,
        prdrlout, *feed, strcantext, e$
		n$, [if dwell$ > 0, "M00"] e$
		n$, [if peck2$, *pfxout], [if peck2$, *pfyout], [if peck2$, *peck2$], e$
		n$, [if dwell$ > 0, "M00"] e$
		n$, pfxout, pfyout, pfzout, e$
		result = nwadrsval ("Q", peck1$)
		result = nwadrsval ("J", peck2$)
      pcom_movea
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...