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:

V9 mpmaster help (HAAS IJK & Q)


Recommended Posts

Hi guys, I need some help getting mpmaster (V9) to post out both ijk style peck drilling, as well as q style. Q's come out fine before IJK calls, but after IJK calls they end up being just I's. I am pretty sure it has something to do with switching the addresses back but I couldn't get it right.

Here's what I have so far;


ppeck           #Canned Peck Drill Cycle
     pdrlcommonb
     pcan1, pbld, n, *sgdrlref, *sgdrill, prdrlout, pdrlxy, pfzout, pcout, 
       *peck1, *feed, strcantext, e  
     pcom_movea


pmisc2          #Canned Misc #2 Cycle (HAAS DRILL WITH IJK)
     pdrlcommonb
       result = nwadrs(stri,peck1)
       result = nwadrs(strj,peck2)
       result = nwadrs(strk,peckclr)
     pcan1, pbld, n, *sgdrlref, *sgdrill, prdrlout, pdrlxy, pfzout, pcout, 
       *peck1, *peck2, *peckclr, *feed, strcantext, e  
     pcom_movea

 

Thanks in advance for any and all replies.

Link to comment
Share on other sites

I think I got it. I added in:

#Address string definitions
strq	    "Q"

 

and changed ppeck to this:

ppeck           #Canned Peck Drill Cycle
     pdrlcommonb
     result = nwadrs(strq,peck1)
     pcan1, pbld, n, *sgdrlref, *sgdrill, prdrlout, pdrlxy, pfzout, pcout, 
       *peck1, *feed, strcantext, e  
     pcom_movea

Link to comment
Share on other sites
  • 9 years later...

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