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:
code:
# Toolchange / NC output Variable Formats
# --------------------------------------------------------------------------
fmt T 7 toolno #Tool 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
fmt S 4 maxss$ #RPM spindle speed
# --------------------------------------------------------------------------
fmt N 4 n$ #Sequence number
fmt X 12 xabs #X position output #drr was 2
fmt Y 2 yabs #Y position output
fmt Z 12 zabs #Z position output #drr was 2
fmt U 3 xinc #X position output
fmt V 3 yinc #Y position output
fmt W 3 zinc #Z position output
fmt I 3 iout #Arc center description in X
fmt J 3 jout #Arc center description in Y
fmt K 3 kout #Arc center description in Z
fmt R 2 arcrad$ #Arc Radius
fmt R 12 css_r #css start position #lmr added line test
fmt F 18 feed #Feedrate
fmt P 11 dwell$ #Dwell
fmt M 5 cantext$ #Default cantext
.
.
.
.
.
pcss #Output Constant surface speed
speed = g_speed
if css_actv$, pbld, n$, *sg9697, *speed, spindle_l, pfcss_r, pfxout, !css_actv$ e$ #lmr pfxout is added just for reference
!speed
.
.
.
.
pfcss_r #css start position #lmr added block
*css_r
gives me
code:
N10 G20 G90 G08
N20 G0 X20. Z20.
N30 G97 S100 M03 M62
N40 G0 X7.6372 Z10. M8
N50 G92 S320
N60 G96 S200 R0. X7.6372 #<<<<<<<need this line to read G96 S200 R7.6372
How do I get the current x position to post with an R.
Thank you in advance for your help.
Matt
How small of a cut? You need to take a bite and take the heat out with the chip. small bites puts the heat in the tool and kills the tool. what coolant are you using?
quote:
What you have to do is run a Horizontal toolpath after the Area Clearance toolpath.This is what I have been doing. I know chris's frustration though. It be much easier and cleaner in one toolpath. Plus the process time would be less for those of us without the latest puters.
quote:
roll tapping is your best bet, but many aerospace companies will not allow it
We can't use them at all. roll forming basically leaves 2 burrs on the top of the thread.
create your circle and square at proper z depths.
looking in top view plane, break the right side line in half.
use ruled surface and chain the circle first, seeing which direction the arrow is pointing.
select the square so that the arrows are pointing in the same direction and are on top of each other. this will sync the geo together as well.
if the arrows are pointing in different directions it will be a total mess. if not synced it will looked twisted.
hth
Welcom to the forum!
Thx for the reply Bryan.
I tried using pfxout but it only works if it is currently and on the plus side. I need to have it spit out the next x position. It also needs to be absolute since we do alot of work on the neg side.
I assume I need an if statement in the pcss for this so it doesn't spit out the R when running straight rpm.
code:
pcss #Output Constant surface speed
speed = g_speed
if css_actv$, pbld, n$, *sg9697, *speed, spindle_l, !css_actv$, e$ #lmr
!speed
n$, pbld, "/GOTO ",e$ #drr added line #lmr added "/"
.
.
.
.
pspindle #Spindle speed calculations for RPM
if maxss$ = zero | maxss$ > max_speed, maxss$ = max_speed
if css_actv$,
[
#Spindle speed calculations for strt_spd w/CSS
speedx = abs(xa)
if opcode$ = 104, speedx = abs(c1_x_min)
if opcode$ = 105, speedx = abs(tcr$)
if speedx < 0.001,speedx = 0.001
speedrpm = (conversion * g_speed) / (pi$ * speedx * two)
]
else, speedrpm = g_speed
#zero indicates spindle off (not a mistake)
if speedrpm,
[
if speedrpm > maxss$, speedrpm = maxss$
if speedrpm < min_speed, speedrpm = min_speed
]
Thanks again,
200 nickel moves around a lot. I had some plates about 5in square .050 and .036 thick. Tried some different milling techniques and they all curled. Even tried grinding it. I finally got it by roll milling it to thickness and then wiring it out. It had a mirror finish and was easy to drill and tap then.
The customer was using it because of the magnetic properties so the work hardening from the roll mill was fine and made it easier to deal with.
You probably try a combo of lathe and wire in your case.
HTH
Matt
Hey guys,
Need help on a post tweek. Need to add R to my G96 line. The R value is the x position at the first G95.
Ex:
N10 G20 G90 G08 M61
N20 G0 G94 X-10. Z10.
N30 G97 S382 M03
N40 G0 X-2. Z.1 M9
N50 G92 S400
N60 G96 S200 <<<<<<<<< Add R value
N70 /GOTO
N80 G95 G1 Z0. F.01
N90 X0.
N100 Z.1
This is a Fanuc 2 axis post updated from v9.1.
Thanks for any help.
Very sweet demo Greg.
What kind of rpm can you get on that rotary? Would you mind sharing a little code using the turning tool?
Thanks for sharing. Great video!!!
quote:
carbide circuit board drill. cant stress how important it is this tool have as close to zero run out as possable.
this is going to take patients.
We use these all the time, down to Ø.004".
HST Core Roughing will do this but it won't use a stock model. Using a containment boundary I can usually get what I want.
It would be REALLY nice to be able to pick a solid for rest mill instead of having to use an STL.
I am on a c600u right now and we have 2 new c40u's waiting to be released. I do love this machine for all the reasons mentioned. I am using the ihs 5 axis post. The plane spatial with datum shifts is posting out nicely right now. The prob is with the 5-axis paths 9m128 & tcpm). Does anyone use vectoring? If so, how?
Thanks,
Matt
Who all uses Heidenhain controls?
As we are replacing our mills we are buying all Hermles. I am cutting my teeth on a c600u right now. It is a great machine and control from what I have done so far, pretty much all 2+3 work. Now I am trying some swarfing using IHS defs & post with mixed results.
I have no formal training with this control (old fanuc guy) and really trying to use the *.H now. The docs on some stuff is not very informative.
Anyone on here I can bend an ear and ask some questions?
Thanks,
Matt
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.