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:

Points, chain manager missing counts


Recommended Posts

Hello everyone,
   I have created a note that automatically counts drill points in the chain manager.  However, it does not show on the first toolpath for counting.  It only shows at the second toolpath for accurate counting.  Below here is how I defined and please point out what I've done wrong because I think I did something. 

 

Thank you for your help,
    S.Luong

 

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

TotalHoles: 0
fmt "" 4 TotalHoles
#Region pPointCounts
pPointCounts
 #IF BOTH ARE POSITIVE
 if opcode$ = 3 & drillcyc$ = 0 & OpTopOfStock > 0 & operation_depth > 0 & TotalHoles = 1,
  if abs(OpTopOfStock) > abs(operation_depth) & (tool_typ$ = 1 | tool_typ$ = 2 | tool_typ$ = 9),
   [
    CalculatedCounterSinkSize = (abs(OpTopOfStock) - abs(operation_depth))*2
    "(", *TotalHoles, no_spc$, "X SPOT, ", *CalculatedCounterSinkSize, no_spc$, "'CSINK SIZE)" ,e$
   ]

 if opcode$ = 3 & drillcyc$ = 0 & OpTopOfStock > 0 & operation_depth > 0 & TotalHoles > 1,
  if abs(OpTopOfStock) > abs(operation_depth) & (tool_typ$ = 1 | tool_typ$ = 2 | tool_typ$ = 9),
   [
    CalculatedCounterSinkSize = (abs(OpTopOfStock) - abs(operation_depth))*2
    "(", *TotalHoles, no_spc$, "X SPOTS, ", *CalculatedCounterSinkSize, no_spc$, "'CSINK SIZE)" ,e$
   ]

 #IF TOP OF STOCK  = 0 & DEPTH  = -
  if opcode$ = 3 & drillcyc$ = 0 & OpTopOfStock = 0 & operation_depth < 0 & TotalHoles = 1 & (tool_typ$ = 1 | tool_typ$ = 2 | tool_typ$ = 9),
   [
    CalculatedCounterSinkSize = (abs(operation_depth)- abs(OpTopOfStock))*2
    "(", *TotalHoles, no_spc$, "X SPOT, ", *CalculatedCounterSinkSize, no_spc$, "'CSINK SIZE)" ,e$
   ]

  if opcode$ = 3 & drillcyc$ = 0 & OpTopOfStock = 0 & operation_depth < 0 & TotalHoles > 1 & (tool_typ$ = 1 | tool_typ$ = 2 | tool_typ$ = 9),
   [
    CalculatedCounterSinkSize = (abs(operation_depth)- abs(OpTopOfStock))*2
    "(", *TotalHoles, no_spc$, "X SPOTS, ", *CalculatedCounterSinkSize, no_spc$, "'CSINK SIZE)" ,e$
   ]
   
 #IF BOTH ARE NEGATIVE
 if opcode$ = 3 & drillcyc$ = 0 & OpTopOfStock < 0 & operation_depth < 0 & TotalHoles = 1,
  if abs(OpTopOfStock) < abs(operation_depth) & (tool_typ$ = 1 | tool_typ$ = 2 | tool_typ$ = 9),
   [
    CalculatedCounterSinkSize = (abs(operation_depth) - abs(OpTopOfStock))*2
    "(", *TotalHoles, no_spc$, "X SPOT, ", *CalculatedCounterSinkSize, no_spc$, "'CSINK SIZE)" ,e$
   ]

 if opcode$ = 3 & drillcyc$ = 0 & OpTopOfStock < 0 & operation_depth < 0 & TotalHoles > 1,
  if abs(OpTopOfStock) < abs(operation_depth) & (tool_typ$ = 1 | tool_typ$ = 2 | tool_typ$ = 9),
   [
    CalculatedCounterSinkSize = (abs(operation_depth) - abs(OpTopOfStock))*2
    "(", *TotalHoles, no_spc$, "X SPOTS, ", *CalculatedCounterSinkSize, no_spc$, "'CSINK SIZE)" ,e$
   ]
   
 if TotalHoles = 1 & drillcyc$ = 1,
  if tool_typ$ = 3,
   [
    "(", *TotalHoles, no_spc$, "X DRILL HOLE)" ,e$
   ]

 if TotalHoles > 1 & drillcyc$ = 1,
  if tool_typ$ = 3,
   [
    "(", *TotalHoles, no_spc$, "X DRILL HOLES)" ,e$
   ] 
   
 if TotalHoles = 1 & (drillcyc$ = 3 | drillcyc$ > 6 | drillcyc$ < 12),
  if (tool_typ$ = 4 | tool_typ$ = 5),
   [
    "(", *TotalHoles, no_spc$, "X TAP HOLE)" ,e$
   ]

 if TotalHoles > 1 & (drillcyc$ = 3 | drillcyc$ > 6 | drillcyc$ < 12),
  if (tool_typ$ = 4 | tool_typ$ = 5),
   [
    "(", *TotalHoles, no_spc$, "X TAP HOLES)" ,e$
   ] 
   
 TotalHoles = 0
 !TotalHoles
#EndRegion pPointCounts

pparameter$ # Run parameter table
           #"pparameter", ~prmcode$, ~sparameter$, e$
           #if prmcode$ = 10000, FacingToolPath = rpar(sparameter$, 1)
           if prmcode$ = 15083, TotalHoles = rpar(sparameter$, 1)
ptlchg_com      #Tool change common blocks
   pfxout, pfyout, pcan, [if last_tool$ <> first_tool$, *next_tool$, no_spc$, "(NEXT TOOL)", e$], pChamfer, pPointCounts, no_spc$ #Drill points & Coolant BEFORE

ptlchg0$         #Call from NCI null tool change (tool number repeats)
       [
        #"G0 G90", pwcs, "Z5.(PROGRAM JUMPS HERE)", e$ # Vertical Mode Only
        pxout, pyout, no_spc$, pPointCounts, pHelix, pspindchng, pMaxRoughDepthCutsCalculations, pMultiPass, e$ # 
        #pbld, no_spc$, "G43", *tlngno$, "Z5.", e$ # Safety retract
       ]


      [if cinc, pfxout, pfyout, no_spc$, pPointCounts, e$] # Location of drill here

 

============================= G-CODE Output============================
%
O3532(PN0003532 REV03 - FIXTURE.NC)
N1( .6250, 5/8 SPOTTER, HSS, 90.DEGS,)
(2FLTS .313LOC, .50STO)
G0 G17 G40 G49 G80 G90
G91 G28 Z0 M19
/G28 Y0.
T1 M6(SPOT 4X DOWEL PINS FOR STOCK LINE UP, CUT#1)
G90 G54 S4500 M3
X6.75 Y6.625 T2(NEXT TOOL)
G43 H1 Z1.(DOC= Z-.125)

 =================> Nothing shows, no counting here
M8 Z.125
G99 G81 Z-.125 R.125 F10.
Y-6.375
X6.25 Y-7.125
X1.75
G80
Z1.
(*)
N102(SPOT 14X 10-32 THREADS FOR CLAMPS, CUT#2)
G0 G90 G54 S4500 M3(PROGRAM JUMPS HERE)
X5.6733 Y-7.315
G43 H1 Z1.(DOC= Z-.125)
(14X SPOTS, .25'CSINK SIZE) 
=================> Good, counting here
Z.125
G99 G81 Z-.125 R.125 F10.
X-.0767
X-5.6733
X-6.94 Y-5.5966
Y0.
Y5.75
X-5.8608 Y7.315
X-.4517
X5.6733
X6.94 Y5.75
X7.065 Y.8336
X6.94 Y-5.5966
X1.694 Y-1.8795
X1.2259 Y-4.9842
G80
Z1.
(*)
N103(SPOT 14X GUIDE LINE HOLES, CUT#3)
G0 G90 G54 S4500 M3(PROGRAM JUMPS HERE)
X-7.53 Y-5.5966
G43 H1 Z1.(DOC= Z-.0795)
(14X SPOTS, .159'CSINK SIZE) 
=================> Good, counting here
Z.125
G99 G81 Z-.0795 R.125 F10.
Y0.
Y5.75
X-5.8608 Y7.905
X-.4517
X5.6733
X7.53 Y5.75
X7.655 Y.8336
X7.53 Y-5.5966
X5.6733 Y-7.905
X2.1112 Y-2.2967
X1.8159 Y-4.9842
X-.0767 Y-7.905
X-5.6733
G80
Z1.
(*)
N104(SPOT 11X HOLDING SCRAPS, CUT#4)
G0 G90 G54 S4500 M3(PROGRAM JUMPS HERE)
X-5.2101 Y5.0049
G43 H1 Z1.(DOC= Z-.125)
(11X SPOTS, .25'CSINK SIZE) 
=================> Good, counting here
Z.125
G99 G81 Z-.125 R.125 F10.
X-4.4601 Y4.5049
X-2.5158 Y5.1573
X-1.2658 Y4.1348
X-1.7189 Y1.6946
X-2.2274 Y-.6674
X3.3314 Y.0514
X4.9274 Y.8336
X3.3314 Y1.6158
X3.3616 Y4.0896
X2.3616 Y5.0896
G80
Z1.
(*)
N105(SPOT 4X PART LOCATING HOLES, CUT#5)
G0 G90 G54 S4500 M3(PROGRAM JUMPS HERE)
X6.1136 Y2.7836
G43 H1 Z1.(DOC= Z-.125)
(4X SPOTS, .25'CSINK SIZE) 
=================> Good, counting here
Z.125
G99 G81 Z-.125 R.125 F10.
X-4.654 Y-5.8466
X-.904
X6.1136 Y-1.1164
G80
Z1.
(*)
N106(SPOT 3X PART LOCATING HOLES, CUT#6)
G0 G90 G54 S4500 M3(PROGRAM JUMPS HERE)
X-3.0458 Y6.1996
G43 H1 Z1.(DOC= Z-.125)
(3X SPOTS, .25'CSINK SIZE) 
=================> Good, counting here
Z.125
G99 G81 Z-.125 R.125 F10.
X-1.3908
X-2.4508 Y-2.7714
G80
Z1.
M9
G91 G28 Z0.
/G28 Y0. M5
G0 G90 G54 X0.
M1
(*)
N2( .2340, LTR. A STUB DRILL, HSS, 118.DEGS,)
(2FLTS 1.313LOC, 1.56STO)
G0 G17 G40 G49 G80 G90
G91 G28 Z0 M19
/G28 Y0.
T2 M6(ROUGH DRILLING 4X DOWEL PINS FOR STOCK LINE UP, CUT#7)
G90 G54 S7349 M3
X6.75 Y6.625 T3(NEXT TOOL)
G43 H2 Z1.(DOC= Z-.7103)

 =================> Nothing shows, no counting here
M8 Z.125
(10 PECKS, W.0853 THRU, -.7103 PIN DEPTH)
G99 G83 Z-.7103 R.125 Q.075 F50.
Y-6.375
X6.25 Y-7.125
X1.75
G80
Z1.
M9
G91 G28 Z0.
/G28 Y0. M5
G0 G90 G54 X0.
M1
(*)
N3( .2500, 1/4 REAMER, HSS,)
(6FLTS 3.000LOC, 4.00STO)
G0 G17 G40 G49 G80 G90
G91 G28 Z0 M19
/G28 Y0.
T3 M6(REAM 4X DOWEL PINS FOR STOCK LINE UP, CUT#8)
G90 G54 S800 M3(REAMING CYCLE)
X6.75 Y6.625 T4(NEXT TOOL)
G43 H3 Z1.(DOC= Z-.5)

 =================> Nothing shows, no counting here
M8 Z.125
G99 G85 Z-.5 R.125 F5.
Y-6.375
X6.25 Y-7.125
X1.75
G80
Z1.
M9
G91 G28 Z0.
/G28 Y0. M5
G0 G90 G54 X0.
M1
(*)
N4( .1590, #21 STUB DRILL, HSS, 118.DEGS,)
(2FLTS 1.000LOC, 1.25STO)
G0 G17 G40 G49 G80 G90
G91 G28 Z0 M19
/G28 Y0.
T4 M6(DRILL 14X 10-32 THREADS FOR CLAMPS, CUT#9)
G90 G54 S7500 M3
X5.6733 Y-7.315 T5(NEXT TOOL)
G43 H4 Z1.(DOC= Z-.8128)

 =================> Nothing shows, no counting here
M8 Z.125
(17 PECKS, W.0628 THRU, -.8128 PIN DEPTH)
G99 G83 Z-.8128 R.125 Q.05 F35.
X-.0767
X-5.6733
X-6.94 Y-5.5966
Y0.
Y5.75
X-5.8608 Y7.315
X-.4517
X5.6733
X6.94 Y5.75
X7.065 Y.8336
X6.94 Y-5.5966
X1.694 Y-1.8795
X1.2259 Y-4.9842
G80
Z1.
(*)
N402(11X HOLDING SCRAPS, CUT#10)
G0 G90 G54 S7500 M3(PROGRAM JUMPS HERE)
X-5.2101 Y5.0049
G43 H4 Z1.(DOC= Z-.8128)
(11X DRILL HOLES)
=================> Good, counting here
Z.125
(17 PECKS, W.0628 THRU, -.8128 PIN DEPTH)
G99 G83 Z-.8128 R.125 Q.05 F35.
X-4.4601 Y4.5049
X-2.5158 Y5.1573
X-1.2658 Y4.1348
X-1.7189 Y1.6946
X-2.2274 Y-.6674
X3.3314 Y.0514
X4.9274 Y.8336
X3.3314 Y1.6158
X3.3616 Y4.0896
X2.3616 Y5.0896
G80
Z1.
M9
G91 G28 Z0.
/G28 Y0. M5
G0 G90 G54 X0.
M1
T1 M6(FIRST PROGRAMMED TOOL)
M30
%(10,049 CHARACTERS = 10.08KB)


 

Link to comment
Share on other sites
49 minutes ago, 5th Axis CGI said:

I wish had that kind of time to spend doing these types of things to a post. How many hours do you have in your post?

Hi 5th Axis CGI,
   Most of the time I use my own time at home to write the function at home and bringing to work for MasterCam licensed to post it out (pre-write in TXT format).  The post is constantly changing every 2 weeks due to the jobs from customer like LAM, APPLIED MATERIAL, LOCKHEED... etc.  I am doing 57,000 holes for shower head and I really want to ensure 57,000 holes in the program.  Letting the post counts for me is the best way to double check my own work.  I am not perfect, but I can make the post makes me become perfect.

 

 

Thank you for you respond 5th Axis CGI,
   S.Luong

Link to comment
Share on other sites
On 9/19/2018 at 8:51 AM, PcRobotic said:

Hi 5th Axis CGI,
   Most of the time I use my own time at home to write the function at home and bringing to work for MasterCam licensed to post it out (pre-write in TXT format).  The post is constantly changing every 2 weeks due to the jobs from customer like LAM, APPLIED MATERIAL, LOCKHEED... etc.  I am doing 57,000 holes for shower head and I really want to ensure 57,000 holes in the program.  Letting the post counts for me is the best way to double check my own work.  I am not perfect, but I can make the post makes me become perfect.

 

 

Thank you for you respond 5th Axis CGI,
   S.Luong

Good for you and hopefully someone a lot smarted than me chimes in to help. Have a good day.

  • Haha 1
Link to comment
Share on other sites
18 hours ago, David Colin said:

Make sure pPointsCount postblock is called from ptlchg$ and/or psof$/msof$ postblocks 

 

Hi David Colin,
    I have tried like the way you recommended and it work out.  So I put the "pPointCounts" my SPOT DRILL, DRILL, TAP CYCLE post block and it works.  I think it's just a placement issue.  Thank for your help.


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

#Region pPointCounts
pPointCounts
 #IF BOTH ARE POSITIVE
 if opcode$ = 3 & drillcyc$ = 0 & OpTopOfStock > 0 & operation_depth > 0 & TotalHoles = 1,
  if abs(OpTopOfStock) > abs(operation_depth) & (tool_typ$ = 1 | tool_typ$ = 2 | tool_typ$ = 9),
   [
    CalculatedCounterSinkSize = (abs(OpTopOfStock) - abs(operation_depth))*2
    "(", *TotalHoles, no_spc$, "X SPOT, ", *CalculatedCounterSinkSize, no_spc$, "'CSINK SIZE)" ,e$
   ]

 if opcode$ = 3 & drillcyc$ = 0 & OpTopOfStock > 0 & operation_depth > 0 & TotalHoles > 1,
  if abs(OpTopOfStock) > abs(operation_depth) & (tool_typ$ = 1 | tool_typ$ = 2 | tool_typ$ = 9),
   [
    CalculatedCounterSinkSize = (abs(OpTopOfStock) - abs(operation_depth))*2
    "(", *TotalHoles, no_spc$, "X SPOTS, ", *CalculatedCounterSinkSize, no_spc$, "'CSINK SIZE)" ,e$
   ]

 #IF TOP OF STOCK  = 0 & DEPTH  = -
  if opcode$ = 3 & drillcyc$ = 0 & OpTopOfStock = 0 & operation_depth < 0 & TotalHoles = 1 & (tool_typ$ = 1 | tool_typ$ = 2 | tool_typ$ = 9),
   [
    CalculatedCounterSinkSize = (abs(operation_depth)- abs(OpTopOfStock))*2
    "(", *TotalHoles, no_spc$, "X SPOT, ", *CalculatedCounterSinkSize, no_spc$, "'CSINK SIZE)" ,e$
   ]

  if opcode$ = 3 & drillcyc$ = 0 & OpTopOfStock = 0 & operation_depth < 0 & TotalHoles > 1 & (tool_typ$ = 1 | tool_typ$ = 2 | tool_typ$ = 9),
   [
    CalculatedCounterSinkSize = (abs(operation_depth)- abs(OpTopOfStock))*2
    "(", *TotalHoles, no_spc$, "X SPOTS, ", *CalculatedCounterSinkSize, no_spc$, "'CSINK SIZE)" ,e$
   ]
   
 #IF BOTH ARE NEGATIVE
 if opcode$ = 3 & drillcyc$ = 0 & OpTopOfStock < 0 & operation_depth < 0 & TotalHoles = 1,
  if abs(OpTopOfStock) < abs(operation_depth) & (tool_typ$ = 1 | tool_typ$ = 2 | tool_typ$ = 9),
   [
    CalculatedCounterSinkSize = (abs(operation_depth) - abs(OpTopOfStock))*2
    "(", *TotalHoles, no_spc$, "X SPOT, ", *CalculatedCounterSinkSize, no_spc$, "'CSINK SIZE)" ,e$
   ]

 if opcode$ = 3 & drillcyc$ = 0 & OpTopOfStock < 0 & operation_depth < 0 & TotalHoles > 1,
  if abs(OpTopOfStock) < abs(operation_depth) & (tool_typ$ = 1 | tool_typ$ = 2 | tool_typ$ = 9),
   [
    CalculatedCounterSinkSize = (abs(operation_depth) - abs(OpTopOfStock))*2
    "(", *TotalHoles, no_spc$, "X SPOTS, ", *CalculatedCounterSinkSize, no_spc$, "'CSINK SIZE)" ,e$
   ]
   
 if opcode$ = 3 & TotalHoles = 1 & drillcyc$ = 1,
  if tool_typ$ = 3,
   [
    "(", *TotalHoles, no_spc$, "X DRILL HOLE)" ,e$
   ]

 if opcode$ = 3 & TotalHoles > 1 & drillcyc$ = 1,
  if tool_typ$ = 3,
   [
    "(", *TotalHoles, no_spc$, "X DRILL HOLES)" ,e$
   ] 
   
 if opcode$ = 3 & TotalHoles = 1 & (drillcyc$ = 3 | drillcyc$ > 6 | drillcyc$ < 12),
  if (tool_typ$ = 4 | tool_typ$ = 5),
   [
    "(", *TotalHoles, no_spc$, "X TAP HOLE)" ,e$
   ]

 if opcode$ = 3 & TotalHoles > 1 & (drillcyc$ = 3 | drillcyc$ > 6 | drillcyc$ < 12),
  if (tool_typ$ = 4 | tool_typ$ = 5),
   [
    "(", *TotalHoles, no_spc$, "X "
	    #if nextdc$ = 2, no_spc$, "(CHIP BREAK)", e$
        if drillcyc$ = 3, no_spc$, "REGULAR TAP HOLES)", e$
        #if nextdc$ = 4, no_spc$, "(REAMING CYCLE)", e$
        #if nextdc$ = 5, no_spc$, "(BORING BAR CYCLE)", e$
        #if nextdc$ = 6, no_spc$, "(FINE BORE SHIFT)", e$
        if drillcyc$ = 7, no_spc$, "PICH TAP HOLES)", e$
        if drillcyc$ = 8, no_spc$, "RIDGID TAP HOLES)", e$
        if drillcyc$ = 9, no_spc$, "AKIRA SEIKI TAP HOLES)", e$
        if drillcyc$ = 10, no_spc$, "MAZAK TAP HOLES)", e$
        if drillcyc$ = 11, no_spc$, "FADAL TAP HOLES)", e$
        #if nextdc$ = 12, no_spc$, "(GUN DRILL)", e$
        #if nextdc$ = 13, no_spc$, "(G1 DRILL)", e$
        #if nextdc$ = 14, no_spc$, "(AIRCRAFT DRILL)", e$
        #if nextdc$ = 15, no_spc$, "(OTHER FUN DRILL)", e$
        #if nextdc$ = 18, no_spc$, "(MACRO ENGRAVINGS)", e$
        #if nextdc$ = 19, no_spc$, "(GERMAN PROBE)", e$
   ] 


===============================================================
#Region

pdrill$          #Canned Drill Cycle
      pPointCounts


ppeck$           #Canned Peck Drill Cycle
      pPointCounts


pchpbrk$         #Canned Chip Break Cycle
      pPointCounts


ptap$            #Regular tap, Tapping Cycle
      pPointCounts


pbore1$          #Canned Bore #1 Cycle
      pPointCounts


pbore2$          #Canned Bore #2 Cycle
      pPointCounts


pmisc1$          #Canned Misc #1 Cycle
      pPointCounts


pmisc2$          #Pitch tap, Tapping Cycle
      pPointCounts

 

#EndRegion

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

N1( .6250, 5/8 SPOTTER, HSS, 90.DEGS,)
(2FLTS .313LOC, .50STO)
G0 G17 G40 G49 G80 G90
G91 G28 Z0 M19
/G28 Y0.
T1 M6(SPOT 4X DOWEL PINS FOR STOCK LINE UP, CUT#1)
G90 G54 S4500 M3
X6.75 Y6.625 T2(NEXT TOOL)
G43 H1 Z1.(DOC= Z-.125)
M8 Z.125
(4X SPOTS, .25'CSINK SIZE)
G99 G81 Z-.125 R.125 F10.
Y-6.375
X6.25 Y-7.125
X1.75
G80
Z1.
(*)
N102(SPOT 14X 10-32 THREADS FOR CLAMPS, CUT#2)
G0 G90 G54 S4500 M3(PROGRAM JUMPS HERE)
X5.6733 Y-7.315
G43 H1 Z1.(DOC= Z-.125)
Z.125
(14X SPOTS, .25'CSINK SIZE) ======================> Good counts from chain manager
G99 G81 Z-.125 R.125 F10.
X-.0767
X-5.6733
X-6.94 Y-5.5966
Y0.
Y5.75
X-5.8608 Y7.315
X-.4517
X5.6733
X6.94 Y5.75
X7.065 Y.8336
X6.94 Y-5.5966
X1.694 Y-1.8795
X1.2259 Y-4.9842
G80
Z1.
(*)
N103(SPOT 14X GUIDE LINE HOLES, CUT#3)
G0 G90 G54 S4500 M3(PROGRAM JUMPS HERE)
X-7.53 Y-5.5966
G43 H1 Z1.(DOC= Z-.0795)
Z.125
(14X SPOTS, .159'CSINK SIZE)======================> Good counts from chain manager
G99 G81 Z-.0795 R.125 F10.
Y0.
Y5.75
X-5.8608 Y7.905
X-.4517
X5.6733
X7.53 Y5.75
X7.655 Y.8336
X7.53 Y-5.5966
X5.6733 Y-7.905
X2.1112 Y-2.2967
X1.8159 Y-4.9842
X-.0767 Y-7.905
X-5.6733
G80
Z1.
(*)
N104(SPOT 11X HOLDING SCRAPS, CUT#4)
G0 G90 G54 S4500 M3(PROGRAM JUMPS HERE)
X-5.2101 Y5.0049
G43 H1 Z1.(DOC= Z-.125)
Z.125
(11X SPOTS, .25'CSINK SIZE)======================> Good counts from chain manager
G99 G81 Z-.125 R.125 F10.
X-4.4601 Y4.5049
X-2.5158 Y5.1573
X-1.2658 Y4.1348
X-1.7189 Y1.6946
X-2.2274 Y-.6674
X3.3314 Y.0514
X4.9274 Y.8336
X3.3314 Y1.6158
X3.3616 Y4.0896
X2.3616 Y5.0896
G80
Z1.
(*)
N105(SPOT 4X PART LOCATING HOLES, CUT#5)
G0 G90 G54 S4500 M3(PROGRAM JUMPS HERE)
X6.1136 Y2.7836
G43 H1 Z1.(DOC= Z-.125)
Z.125
(4X SPOTS, .25'CSINK SIZE)======================> Good counts from chain manager
G99 G81 Z-.125 R.125 F10.
X-4.654 Y-5.8466
X-.904
X6.1136 Y-1.1164
G80
Z1.
(*)
N106(SPOT 3X PART LOCATING HOLES, CUT#6)
G0 G90 G54 S4500 M3(PROGRAM JUMPS HERE)
X-3.0458 Y6.1996
G43 H1 Z1.(DOC= Z-.125)
Z.125
(3X SPOTS, .25'CSINK SIZE)
G99 G81 Z-.125 R.125 F10.
X-1.3908
X-2.4508 Y-2.7714
G80
Z1.
M9
G91 G28 Z0.
/G28 Y0. M5
G0 G90 G54 X0.
M1
(*)
N2( .2340, LTR. A STUB DRILL, HSS, 118.DEGS,)
(2FLTS 1.313LOC, 1.56STO)
G0 G17 G40 G49 G80 G90
G91 G28 Z0 M19
/G28 Y0.
T2 M6(ROUGH DRILLING 4X DOWEL PINS FOR STOCK LINE UP, CUT#7)
G90 G54 S7349 M3
X6.75 Y6.625 T3(NEXT TOOL)
G43 H2 Z1.(DOC= Z-.7103)
M8 Z.125
(4X DRILL HOLES)======================> Good counts from chain manager
(10 PECKS, W.0853 THRU, -.7103 PIN DEPTH)
G99 G83 Z-.7103 R.125 Q.075 F50.
Y-6.375
X6.25 Y-7.125
X1.75
G80
Z1.
M9
G91 G28 Z0.
/G28 Y0. M5
G0 G90 G54 X0.
M1
(*)

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