i want to add spindle speed in my tool list at the begining of my program.any one that can help?
it is my own post that i have modified from the original mpmastersub.pst
post reads:
ptooltable # Write tool table, scans entire file, null tools are negative
#tnote = t
#toffnote = tloffno
#tlngnote = tlngno
spaces=0
if t >= zero & tcr>0, "(", *t, ptspace, " | ", plistcomm, " |",
*tloffno, phspace, " | ", *tldia, 34, " | ", *tcr, " | ", popnote, ")"
if t >= zero & tcr=0, "(", *t, ptspace, " | ", plistcomm, " | ", *tlngno, phspace, " | ", *tloffno, pdspace, " | ", *tldia, 34, " | ", " | ", popnote, ")"
#if t >= zero & tcr>0, "(", *tnote, " ", *toffnote, " ", *tlngnote, " ", *tldia, " ", *tcr, " ", popnote, ")"
#if t >= zero & tcr=0, "(", *tnote, " ", *toffnote, " ", *tlngnote, " ", *tldia, " ", popnote, ")"
if t >= zero, tcnt = tcnt + one
spaces=spaces_sav
out put=
(PROGRAM NAME - POSTTEST.NC) pheader
(DATE - MAR-11-05 TIME - 00:00) pheader
(T1 | .500 ENDMILL | H1 | D21 | D0.5000" | | CONTOUR....) pwrtt
(T2 | #76 DRILL | H2 | D22 | D0.0200" | | DRILL/CBORE) pwrtt
(T3 | 7/8 FLAT ENDMILL | H3 | D23 | D0.8750" | | CONTOUR....) pwrtt |