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:
Hi kyle,
In your post look for these formats.
fmt X 2 xabs #X position output
fmt Y 2 yabs #Y position output
fmt Z 2 zabs #Z position output
change the 2 to a 13 that should change the output to 5 places.
HTH
Scott
It wasn't fun at all. I don't remember how many drills I went thought. At .015 in dia I didn't even try resharping them just throw it away and grap a new one.
Hi Randle
On the last line Dave has
ssubchar = ucase(ssubshar) #for uppercase
Try this ssubshar = ucase(ssubchar) #for uppercase
Dave just had the two strings reversed.
HTH
Scott
Brent add this two lines in were the general output settings are. That should let you run it then.
spaces : 1 #No. of spaces to add between fields
save_spc : 0 #save spaces
Hi Brent,
This is what you want.
# --------------------------------------------------------------------------
# NCI file pre-read look ahead routines
# Build the toolchange buffer, sets cycle and turret flags
# --------------------------------------------------------------------------
pwrttparam #Information from parameters
if opcode = 104, result = fprm (opcode)
pwrtt #Buffer toolchange information, tooltable = 3 calls on 1003
save_spc = spaces
spaces = 0
if t>0, "(", *t, " ", strtool, ")", e
spaces = save_spc
if gcode = 1001, psetup
pcut_cctyp
if opcode=104 | opcode=105 | opcode=three | opcode=16, cc_pos = zero
if gcode <> 1001, plast_recd
pcur_recd
if gcode <> 1003, cc_pos = zero
!opcode, !tool_op
if gcode = 1003,
[
size1 = rbuf (one, zero)
rc1 = one
if rc1 < size1, preadcur_nxt
if cc_1013 = zero, cc_pos = zero
]
This will build the tool list for you.
Hi Brent,
Try this line
ptoolcomment #Comment for tool
tnote = abs(t)
toffnote = tloffno
strtool = ucase(strtool)
stoper = ucase(stoper)
stinsert2 = ucase(stinsert2)
"(", *tnote, *toffnote, ")", e
if posttype = two,
"(", *stoper, " ", *strtool, ")", e *stinsert, *stinsert2, ")", e
else,
"(", *stoper, " ", *strtool, ")", e
Then in ltlchg type in ptoolcomment
Hope this helps you.
Were I worked before had HAAS and service was great. Were I work now we run Okuma's I have never see the service dept here for a repair only for PM's. You do get what you pay for.
Bosto's in there var page don't display a decimal point at all. You have to know were the decimal point should be. For inch it 4 places and mm it's 3 places. If in the variable page there is a 1 at v1 that in mm is .001 and in inch .0001. You can also program with out a decimal point.
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.