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:

PTOOLCOMENT AT END OF M30


Recommended Posts

Hello everyone,
   I am trying to remind myself tool name at before M30 when it is calling  FIRST PROGRAMMED TOOL and somehow it only appear PREVIOUS tool name.  Can you guys point me to the right direction to make it right?  

 

 

Thank you.

 

 

=========================

%
O6874(839-256878-001-A02 REVF - OP4.NC)
(SOURCE 839-256878-001-A01 REVF.MCAM)
(PART NAME= COVER, LARGE, WLDMENT, ESC FACIL)
(UP REV.)
(*)
(POSTED ON APR.02.2018 AT 7*11AM)
(LUONG, STEVEN = BEI\LUONGS)
(*)
(VERTICAL INDEXCNC MILL ONLY)
(TOTAL TOOLS FOR OP4 ARE: 3 TOOLS)
(*)
(WORK OFFSET LIST)
(G54)
(XY0= CENTER)
(Z0= TOP FIXTURE Z+)
(*)
N1( .1250,#2 CNT DRILL, HSS,)           ===========================>  FIRST TOOL NAME  IN THE PROGRAM
(2FLTS .125LOC, .500RLF, .50STO)     ===========================> FIRST TOOL NAME  IN THE PROGRAM
G0 G17 G40 G49 G80 G90
G91 G28 Z0 M19
/G28 Y0. 
T1 M6(SPOT 2X 8-32 STI THRU HOLES, CUT#91)
G90 G54 S500 M3
X-.525 Y-3.425
G43 H1 Z1. T47 M8(DOC= Z-.015)
G98 G81 Z-.015 R.0625 F2.5
X.525
G80
M9
G91 G28 Z0. M5
/G28 Y0. M5
M1
(*)
N47( .0550,#54 STUB DRILL, HSS, 118.DEGS,)
(2FLTS .625LOC, 1.00STO)
G0 G17 G40 G49 G80 G90
G91 G28 Z0 M19
/G28 Y0. 
T47 M6(ROUGH DRILLING 1X .09375  STI BLIND HOLE, CUT#96)
G90 G54 S3378 M3
X4.06 Y0.(1X HOLE)
G43 H47 Z1. T16 M8(DOC= Z.08)
(8 PECKS, .0485 FLAT DEPTH)
G98 G83 Z.08 R.0625 Q.01 F3.
G80
M9
G91 G28 Z0. M5
/G28 Y0. M5
M1
(*)
N16( .3750,3/8 EM, CB, USED TOOL,)
(2FLTS .563LOC, .63STO)
G0 G17 G40 G49 G80 G90
G91 G28 Z0 M19
/G28 Y0. (AREA MILL)
T16 M6(ROUGH OUT BLIND SLOT, CUT#97)
G90 G54 S3180 M3
X-.0016 Y-3.5828(XYZ STK= .015)
(.0052 -.0094 STEPOVER, 2.5PERCENT)
G43 H16 Z1. T1 M11(DOC= Z-.185)
Z.1313
G1 Y-3.5834 Z.125 F1.5
G1 Y-3.9883 Z.035
Y-4.2766 Z.0339
(CUTTING...)
S3180 M3
Y-3.6005
G0 Z1.
(*)
N1602(ROUGH OUT BLOCK, CUT#98)
G0 G90 Z10.(PROGRAM JUMPS HERE)
G0 G90 G54 S4000 M3
(DYNAMIC PEEL MILL)
(XYZ STK= .015)
(.0094 STEPOVER, 2.5PERCENT TDIA.)
G43 H16 Z1.M8(DOC= Z.015)
X3.9308 Y4.4772
Z.0625
G1 Z.025 F1.
(CUTTING....)
G0 Z1.
(*)
N1603(SEMI-FINISH TOP SURFACE, CUT#99)
G0 G90 Z10.(PROGRAM JUMPS HERE)
G0 G90 G54 S5000 M3
(.075 STEPOVER WITH HELIX)
(XYZ STK= .015)
G43(D16)H16 Z1.(DOC= Z.015)
X6.0602 Y-.0235
Z.0775
G1 Z.0156 F.5
G2 X6.1269 Y0. Z.015 R-.0375 F50.
(CUTTING...)
G3 X-.6993 Y3.2691 R.1875
G1 X-.512 Y3.278
G0 Z1.
M9
G91 G28 Z0. M5
/G28 Y0. M5
M1
T1 M6( .1250,#2 CNT DRILL, HSS,)      ===========================> I would like name here as well...
(2FLTS .125LOC, .500RLF, .50STO)   ===========================> I would like name here as well...
M30(156,725CHARS - 157.24KB)
%

 

========================= post defined ========================
 

peof$            #End of file for non-zero tool
      pretract
      if lock_codes = one & rot_on_x, pbld, n$, *sunlock, sunlockcomm, e$
      rotretflg = 1
      #pbld, no_spc$, *sg28, "B0.", e$
      #if mr1$ < 5, pbld, no_spc$, "G28 Y0.", e$  #Y Home here
      if mr1$ = 5, pbld, no_spc$, "G90 Y0", e$  #Y Home here
      rotretflg = 0
      if lock_codes = one & rot_on_x,
      if indx_out <>0, "A0.", *e$, else, "", e$
      if last_mi10, *sm00, e$
        else,
          if (last_tool$ <> first_tool$), *sm01, e$
      if cinc, pbld, no_spc$, "T0", "M6", e$
      if g53x_flg, pbld, no_spc$, sg53, *g53x_flg, e$
      if g53y_flg, pbld, no_spc$, sg53, *g53y_flg, e$
      if g53z_flg, pbld, no_spc$, sg53, *g53z_flg, e$
      if not(cinc) & (last_tool$ <> first_tool$), first_tool$, "M6", no_spc$, "(FIRST PROGRAMMED TOOL)", e$    ===========================> I would like name here as well...
      rotretflg = 0
      pbld, no_spc$, "M30", no_spc$,

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