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:
I'm using a HAAS_VF.PST
Here is one block of of the .PST code
# --------------------------------------------------------------------------
# Toolchange / NC output Variable Formats
# --------------------------------------------------------------------------
fmt T 4 t #Tool Number
fmt T 4 first_tool #First Tool Used
fmt T 4 next_tool #Next Tool Used
fmt D 4 tloffno #Diameter Offset Number
fmt H 4 tlngno #Length Offset Number
fmt G 4 g_wcs #WCS G address
fmt P 4 p_wcs #WCS P address
fmt S 4 speed #Spindle Speed
fmt M 4 gear #Gear range
I don't know if I should change any of this???
****************************************************************************************************
And here is another one that catch my attention
# --------------------------------------------------------------------------
fmt "TOOL - " 4 tnote # Note format
fmt " DIA. OFF. - " 4 toffnote # Note format
fmt " LEN. - " 4 tlngnote # Note format
fmt " DIA. - " 1 tldia # Note format
# --------------------------------------------------------------------------
# Tool Comment / Manual Entry Section
# --------------------------------------------------------------------------
ptoolcomment #Comment for tool
tnote = t
toffnote = tloffno
tlngnote = tlngno
"(", pstrtool,")", e
pstrtool #Comment for tool
if strtool <> sblank,
[
strtool = ucase(strtool)
*strtool, " "
]
shoul I change
toffnote = tloffno to toffnote = tloffno+30
JL
Sounds like someone may have hardcoded the post to always be equal.
Need to check and see if pccdia is set = to T
Probably something like
tloffno$ = t$
*******************************************
Would you please be more specific on how to edit my post, I would thank you very much.
Should I lood for pccdia and set it to "T" or look for tloffno$ = t$ and then do what on thisone???
JL
How can I make each tool on the g-code to be tool number plus 30. // Example T1 offset D31, T2 offset D32, T9 offset D39 and so on.
On MC9 I try under Job setup, tool offset registers then add 30 on diameter box. Then I post a test and it didn't work. Also I tryed on MCX and didn't work either.
I have a group of operation that I need to run in multiple vises. How can I transelate these operations and get a program with multiple WC offsets (first vise G54, 2nd vise G55 and so on).
I have been trying and all I got is one G54 and a bunch of coordinates in the g-code.
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.