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:

alter mplmaster post for G92 multi lead thread


Recommended Posts

I have an mplmaster post. This is the code I have:

 

pthrg92_1$ #G92 threading

if thdpass$ = one, pthrg92_11

 

pthrg92_11 #G92 threading

comment$

gcode$ = zero

lrapid$

prv_feed = m_one

prv_zabs = c9k

prv_thdtype$ = m_one

 

pthrg92_2$ #G92 threading

 

pthrg92_3$ #G92 threading

copy_x = vequ (x$)

pcom_moveb

pcan1, pbld, n$, psgfeed, sthdgcode, pfxout, pyout, pzout, pcout,

[if thdrdlt & thdpass$ = one, *thdrdlt], pfr, strcantext, e$

pcom_movea

prv_gcode$ = m_one

 

pthrg92_4$ #G92 threading

 

This is the output:

 

G97 S1000 M03

G0 Z-.2 M8

X.575

G92 X.3633 Z-2.3 F.11111

G0 X.575 Z-.1444

G92 X.3633 Z-2.3 F.11111

X.3542

X.3542

X.3464

X.3464

X.3395

X.3395

X.3333

X.3333

X.3275

X.3275

X.3221

X.3221

X.3171

X.3171

X.3123

X.3123

X.3077

X.3077

X.3034

X.3034

X.2992

X.2992

X.2992

X.2992

X.2992

X.2992

X.2992

X.2992

X.2992

X.2992

X.2992

X.2992

G0 X.575

M9

 

This is what I want:

 

G97 S1000 M03

G0 Z-.2 M8

X.575

G92 X.3633 Z-2.3 F.11111

X.3542

X.3464

X.3395

X.3333

X.3275

X.3221

X.3171

X.3123

X.3077

X.3034

X.2992

X.2992

X.2992

X.2992

X.2992

X.2992

 

G0 X.575 Z-.1444

G92 X.3633 Z-2.3 F.11111

X.3542

X.3464

X.3395

X.3333

X.3275

X.3221

X.3171

X.3123

X.3077

X.3034

X.2992

X.2992

X.2992

X.2992

X.2992

X.2992

G0 X.575

M9

 

What code do I need?

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