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:

Multiple work offsets in one post and other questions.


Recommended Posts

The NCI is what determines what program the toolpaths get written. In your Operatinos Manager select all operations, right click, select Edit Selected Operations, select Change NC File Name. put the name you want in the field and go.


Link to comment
Share on other sites

#1 answered above.

 

#2 Yes you can have 100 different parts on a machine and use a 100 different offsets. Really comes down to how you want to configure the software to accomplish the task you are after. Yes why in the world does 0 equal 54 and 1 equal 55? I modified post years ago when I was working in one shop that supported 54 is G54 and 55 is G55 and 1 was G54.1 P1. Camplete respects this numbering convention when posting out Mastercam code and know of many who have modified their posts accordingly. Seems there are to many so use to what it is to make a change to what it should be to make it easier for newer people coming into the trade. We complain about a skills gap in this country, but this is not a skills gap in my humble opinion. This is a tribal knowledge thing. (No disrespect meant to native people)

 

For those reading along and wondering how to accomplish this task of making 54 equal G54 and such. Here is something I did over a decade ago and have been shared many times on this forum. Use at your own risk 5th Axis CGI assumes no responsibility for it's use.

pwcs            #G54+ coordinate setting at toolchange
    if home_type >= one,
      [
      sav_frc_wcs = force_wcs
        if sub_level$ > 0, force_wcs = zero
      if sav_mr6 = 1, workofs$ = sav_workofs
      if workofs$ > 59, result=mprint(sworkofserror, 2), exitpost$ #Must use a Number Less than 59
      if workofs$ = 49, result=mprint(sworkofserror, 2), exitpost$ #Must use a Number Less than 54 or greater than 48
      if workofs$ = 50, result=mprint(sworkofserror, 2), exitpost$ #Must use a Number Less than 54 or greater than 48
      if workofs$ = 51, result=mprint(sworkofserror, 2), exitpost$ #Must use a Number Less than 54 or greater than 48 
      if workofs$ = 52, result=mprint(sworkofserror, 2), exitpost$ #Must use a Number Less than 54 or greater than 48
      if workofs$ = 53, result=mprint(sworkofserror, 2), exitpost$ #Must use a Number Less than 54 or greater than 48  
      if workofs$ <= 0, workofs$ = 54
      if workofs$ <> prv_workofs$ | (force_wcs & toolchng),
        [
        if sub_level$, result = mprint(swrkserror)
        if workofs$ > 53,
          [
          g_wcs = workofs$
          *g_wcs
          ]
        else,
          [
          p_wcs = workofs$
          "G54.1", *p_wcs
          ]
        ]
      force_wcs = sav_frc_wcs
      !workofs$
      ]
sworkofserror : "WORKOFFSET IS EITHER GREATER THAN 59 OR 49 TO 53 MUST USE A NUMBER 1-48 OR 54-59"

I even wrote error logic in this so if someone didn't follow the rules the system would alert them.

  • Like 1
Link to comment
Share on other sites
  • 3 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...