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:

FROZEN

Verified Members
  • Posts

    292
  • Joined

  • Last visited

  • Days Won

    1

Posts posted by FROZEN

  1. This is how I have it for the NHX.

     

    Code example

    T11 M06 (1/2 FLAT ENDMILL)
    (MAX - Z2.3)
    (MIN - Z-.4)
    M08
    G54.2 P0 (ROTATION CANCEL)
    G54.1 P1(CENTER OF ROTATION)
    G90 G55
    M11 (UNLOCK)
    G00 G17 B180. X-.8069 Y-9.003 S10500 M03
    M10 (LOCK)

    Post example

    if safe_index,
                [
                "G54.2 P0 (ROTATION CANCEL)", e$
                "G54.1 P1(CENTER OF ROTATION)", e$
                [if not(index), sgabsinc, pwcs], e$
                if lock_codes = one & not(index) & rot_on_x, pbld, n$, *sunlock, sunlockcomm, e$
                pbld, n$, pgear, e$
                pbld, n$, *sgcode,  pfcout, pspindleout, e$
                if lock_codes = one & not(index) & rot_on_x & cuttype = 0, pbld, n$, *slock, slockcomm, e$
                pbld, n$, pfxout, pfyout, e$
                ]
              else,
                [
                "G54.2 P0 (ROTATION CANCEL)", e$
                "G54.1 P1(CENTER OF ROTATION)", e$
                [if not(index), sgabsinc, pwcs], e$
                if lock_codes = one & not(index) & rot_on_x, pbld, n$, *sunlock, sunlockcomm, e$
                pbld, n$, pgear, e$
                pbld, n$, *sgcode, pfcout, pfxout, pfyout, pspindleout, e$
                if lock_codes = one & not(index) & rot_on_x & cuttype = 0, pbld, n$, *slock, slockcomm, e$
                ]
              phsm1_on        #must remain before G43
              pbld, n$, "G43", *tlngno$, pfzout, scoolant, e$
              phsm2_on        #must remain after G43
              ]
            else,
              [
              if fmtrnd(prv_cabs) <> fmtrnd(cabs),
                [
                if safe_index,
                  [
                  "G54.2 P0 (ROTATION CANCEL)", e$
                  "G54.1 P1(CENTER OF ROTATION)", e$
                  [if not(index), sgabsinc, pwcs], e$
                  if lock_codes = one & not(index) & rot_on_x, pbld, n$, *sunlock, sunlockcomm, e$
                  pbld, n$,  pfcout, e$
                  if lock_codes = one & not(index) & rot_on_x & cuttype = 0, pbld, n$, *slock, slockcomm, e$
                  pbld, n$, pfxout, pfyout, e$
                  ]
                else,
                  [
                  "G54.2 P0 (ROTATION CANCEL)", e$
                  "G54.1 P1(CENTER OF ROTATION)", e$
                  [if not(index), sgabsinc, pwcs],
                  if lock_codes = one & not(index) & rot_on_x, pbld, n$, *sunlock, sunlockcomm, e$
                  pbld, n$,  pfcout, pfxout, pfyout, e$
                  if lock_codes = one & not(index) & rot_on_x & cuttype = 0, pbld, n$, *slock, slockcomm, e$
                  ]
                pbld, n$, pfzout, e$
                ]
              else,
                [
                "G54.2 P0 (ROTATION CANCEL)", e$
                "G54.1 P1(CENTER OF ROTATION)", e$
                [if not(index), pwcs], e$
                pbld, n$, sgabsinc,  pfxout, pfyout, pfzout, pcout, e$
                ]
              ]
            pe_inc_calc
            ps_inc_calc
            absinc$ = sav_absinc
            ]
          if lock_codes = one & cuttype <> last_cuttype & cuttype > 0, pbld, n$, *sunlock, sunlockcomm, e$
          if cuttype = zero, ppos_cax_lin
          if lock_codes = one & cuttype <> last_cuttype & cuttype = 0 & fmtrnd(prv_cabs) = fmtrnd(cabs), pbld, n$, *slock, slockcomm, e$
          if gcode$ = one, plinout
          else, prapidout
          pcom_movea
          if retractflg = 0 & op_id$ <> last_op_id,  #output if not forced output above with the G43
            [
            if mr1$ <> 2, phsm1_on
            if mr1$ = 2 & mr2$ <> last_mr2,
             [
             phsm1_on
             pbld, n$, "G43", *tlngno$, pfzout, e$
             ]
            phsm2_on
            ]
          c_msng$ #Single tool subprogram call
          plast
          toolchng0 = zero
     

     

    also I'm using dynamic offsets, which work extremely  well. 

  2. 19 hours ago, cherokeechief79 said:

    sorry I guess I didn't explain right.

    this is an older has without the directory or folders.

    with the type of work im doing lately I will just post one op ,then after that's ok post the next op.

    its usually a 1 pc prototype.

    if I save a prog to the thumbdrive I can arrange it by date so its at the top but when I read it in the haas it can be anywhere on the drive.

    sometimes ill have to go thru several pages till I find it.

    I know the best answer would be to keep the thumbdrive blank or nearly empty but that never happens.

    and yes I have removed the thumbdrive wo pushing origin  with the same result you had!

    enough said

  3. The file downloaded here was a quick experiment to see if you can extend an arc. I extended the arc by .5 so you can see the difference without zooming in. The job I'm working on has a full radii I'm trying to blend from main spindle to the sub spindle. I broke the arc in quadrants and extend the contour by .05. But Mastercam did not extend the arc. I can not upload the file for the job per customer.

  4. Yes. Just like in pocketing finish pass. You can now select a button for a spring pass. I have just always called it a free pass.

    Spring pass, free pass and Ghost pass. I have heard a lot of different terms. In other words another finish pass to reduce tool pressure.

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