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 modified a post to post out probing and use a manual entry text file. The block numbers are MB1, ECT so Camplete inserts the gcode into the program. So there is no hand editing. It supports 550 lines of code. I usually add more when I'm bored as it's quite laborious.
You can speed up drilling with with peck clearance I think it's around 5200 or 5110 on fanuc. It usually defaults to .5mm.
I've used the g5.1on drilling before. The only time it caused an issue is with the probe.
The danger lies in if you hit reset the program stops where it read ahead to. So if you page up you can potentially start in a spot where your not expecting.
Can't you tell it if wcs changes re issue position command?
I did this with my probe cycle on the 5 axis. Instead of using force tool change of the wcs changes it zeros z and re issues unlock and positioning moves with the new offset
ptlchg0$ #Call from NCI null tool change (tool number repeats)
pcuttype
pcom_moveb
pcheckaxis
c_mmlt$ #Multiple tool subprogram call
comment$
#pcan
result = newfs(15, feed) #Reset the output format for 'feed'
pbld, n$, sgplane, e$
pspindchng
if sopcomm <> sblank,
sopen_prn, sopcomm, sclose_prn, e$
sopcomm = sblank
if prb_flg = 1, #WCS CHANGE FOR PROBE
[if workofs$ <> prv_workofs$,
[
sav_absinc = absinc$
absinc$ = zero
pbld, n$,"(WCS CHANGE RETURN Z TO ZERO)", e$
pbld, n$, *sgabsinc, *sgcode, sg49, "G53","Z0",e$
pbld, n$,"M132",e$
pbld, n$, *sgabsinc, *sgcode, pwcs, pfcout, e$
pbld, n$,"M131",e$
pbld, n$, sg43, *tlngno$, e$
pbld, n$,"(PROTECTED POSITIONING X AND Y)" ,e$
pbld, n$,"G65 P9510",pfxout, pfyout,e$
pbld, n$,"(PROTECTED POSITIONING Z)" ,e$
pbld, n$,"G65 P9510", pfzout,e$
pe_inc_calc
ps_inc_calc
absinc$ = sav_absinc
]
If you can cut a lot of features with 1 tool you can probe the last feature cut. With CMM verification of the first part it should be a reliable fast check that won't eat too much time .
We do it for in process datum pickups a lot.
Some for loading errors. I have it rejecting the pallet if it's mis loaded.
You could use if for inspection and either make a macro to recut it and re inspect or reject the pallet and stop the machine. You have to tell it to ignore the out of tolerance flag and run your macro instead. Maybe a spring pass first then you can give it a ratio to adjust cutter comp. The book should have an example
I don't know if this is all customers but our Camplete help now goes through next-gen solutions. They have some videos on their website for altering output but their ticket response seems faster than Autodesk.
I helped my coworker in the Nakamura lathe. It's m200 on there but during turning he gets a g73 canned cycle alarm but if it's in the cnc memory it doesn't alarm out.
Is it looking for an internal sub program perhaps?
You have to keep it in single block from reset. If you start then go to single block it has already looked ahead. You have to stop on the g43 line.
I do it all the time while twp is active on the gtech 31 on the matsuuras. It works with TCP but can be dangerous depending where it's going.
Unless there is some random parameters that would prevent this.
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.