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:

CaseyCase

Members
  • Posts

    3
  • Joined

  • Last visited

CaseyCase's Achievements

Newbie

Newbie (1/14)

  • One Month Later
  • One Year In
  • Week One Done
  • Dedicated Rare
  • First Post Rare

Recent Badges

0

Reputation

  1. Don't know what a z2g file is. Don't know if that will even help. There was something changed. Exactly what said above. It wont break the staging, just wont give me the next next tool. Using existing code always spits out only 1 staged tool. Cannot call it up the same code otherwise its the same staged tool. I think i need IF, then statement. Does this make any sense?? I can post the PST, but its not really much more info then ive provided.
  2. Can you write a example of what needs to be done? This is exactly what is in the general section of the post. Just wont stage the 3rd tool
  3. Hi everyone!! Quite new to this POST Processor editing. I've taken a few stabs at trying to get the LAST potion of this small edit to work properly. If it can even work properly or be made to!!! I took on the task to help improve productivity at work. What im trying to find out is why i cannot get a Next_tool$ / pstagetool to really spit out the NEXT, NEXT TOOL! Below is a example of how our Mcam code gets spit out. At first our staged tool ended up below the G43 line and the line it's self is "technically the last tool to be staged" i ended up moving it, added M699 on same line & reworded comments, Also copyed pstagetool and added it after t$. First Staged tool is suppose to be on the same line as first Tool being used. In this case T4 runs first, T12 1st staged tool and so on. Trying to remove the duplicate by telling the statement to run twice < if that makes sense?? "look ahead 2 times" T4 T12 (FIRST STAGED TOOL) M06 M699 T12 (LAST STAGED TOOL) ( 1.25 AB TOOLS SHEAR HOG, 1.50 RCH ) ( DIA.=1.2500 - TOOL=4 ) G00 G90 G54 B0. G00 G90 G54 X8.9701 Y9.4803 S13000 M03 G43 H#3020 Z29.12 M08 G04 P2000 G61.1 P0 (GEOMETRY COMP) I tried writing and playing some copy/paste games with no luck. pbld, n$, *t$, pstagetool,"(FIRST STAGED TOOL)" sm06, e$ "M699", pstagetool2, "(LAST STAGED TOOL)", e$ pstagetool #Pre-stage tools if stagetool = 1, [ if ttblend$, #Check for last toolchange [ if stagetltype = 1, *next_tool$ #stage first tool at last toolchange ] else, *next_tool$ #stage tool at every toolchange ] ^ What exactly needs to be done to this code to let it work. "I duped this code as pstagetool2, and tried playing around" still no luck.

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