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:
Hey friends,
I looked around and didn't see a thread that addressed this problem, feel free to direct me if this is a duplicate.
I am trying to clean up our lathe post processor and one of the annoying things it does is that sometimes, not always, it duplicates the last tool entry in my tool table. I can't find what controls this process or why some programs have the problem and some don't.
My code for the tool table is:
ptooltable # Write tool table, scans entire file, null tools are negative
tnote = t$
toffnote = tloffno$
tlngnote = tlngno$
spaces$=0
if t$ >= zero,
[
"(", *t$, " | ", plistcomm, ")"
]
spaces$=sav_spc
Which produces the following tool table in my program:
(T1 | R .032 OD ROUGH RIGHT)
(T2 | R .016 OD FINISH RIGHT)
(T5 | OD THREAD RIGHT)
(T12 | .118 PART OFF BLADE)
(T12 | .118 PART OFF BLADE)
Any suggestions on how to stop it from duplicating the last tool?
Many Thanks!
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.