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:
V8.1
no upgrade in site for awhile though.
i dont understand how to use the tool_op = 64.
what i was hoping to be able to do was something like this.
pcdrl # center drill
"(T0111 NO. CENTER DRL)", e
"M13S1500", e
"M98P1", e
"T0111", e
"X0Z.1", e
"G99Z-.25F.002", e
"M98P2", e
lsof #Start of file for non-zero tool number, lathe
pgetshifts # Retrieve G10 work shifts for MAIN & SUB spindles (4/11/01)
if mi7=1, pbstop #this works
if tool_op = 64, pcdrl #im guessing
ltlchg
if i have a drill cycle called anywhere
else in the program i want the center drill op posted after the pbstop only, and a misc integer to turn this on or off also.
i need to post my hard code elsewhere in the program based on if a drill cycle or custom drill cycle has been called.
If i pick a drill operation i want to automatically post out a center drill op ahead of it.
and i will turn it on with a Misc int
can i find out in my post when a drill op has been called?
I am looking to find out if any drilling is being done on a part and then if it is i want to post out some hard code.
V8.1 lathe
thanks
Chris you were absolutly right
I didnt reselect the post after i changed that spindle_m, "P3", e
thanks for your help.
im a 2nd shifter with no internet access at work. that is why the delay with my responses.
thanks.
Chris it worked very perfectly thank you.
Its a live tool lathe and the P1 needs to be there for the main spindle. I need a P3 at the end of a live tool spindle callout though.
M53S1500P3
i tried doing the samething with spindle_m just assuming that meant mill spindle. It did'nt post it out
thanks Dave
i am closer now to what i need.
i added fmt B 12 stck_ht
fmt Z- 12 stck_thck
but now the stck_thck will only post out one time in my part program.
Can I save the value for use later?
Also what is the 12 for? i just put that in because alot of other format assignments had it.
ok, i found that stck_thck and stck_ht variables can give me good numbers but when i post it out i get.
G65P9222Z-stck_thck 2.0 B stck_ht 1.0
the "Z-" and "B" are hard coded in i just need the numbers.
hi all
using V8.1
in our post i set a misc interger switch to output some text.
The text output is this: G65P9222B?Z?
the B is for bar diameter
the Z is for the part OAL
what i am wondering is can i get my post to fill in the Dia and Oal from the job setup stock definition page? lower left corner for Z value and upper right corner for Diameter.
I figure this is always done anyway and maybe the post can get this for us, eliminating a few steps.
thanks
When using G80 series canned cycles i would like to restate my first hole location in the G8? call line.
Im using V8, mpfadal2.pst
ex. of what im looking for.
T2M6
X1.0Y2.0M3S2000
H2Z1.0
G81G98Z-.3R.1F10.X1.0Y2.0
X1.0Y3.0
etc.
If anyone would help thanks..
pete
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.