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 use this one quite alot on smaller holes.
Wrote it a few years back.
Helical motion.
#1=.0(X POSITION OF HOLE)
#2=.0(Y POSITION OF HOLE)
#3=[0.2125-.005](HOLE RAD)
#4=0.39(FINISH DEPTH)
#5=-.02(DEPTH OF CUT PER REV)
#6=.9(START DEPTH)
(HELICAL MILL HOLES)
G0X#1Y#2
Z#6
G41G1X[#1-#3]Y#2
DO1
WHILE[#6GE#4]DO2
G3X[#1-#3]I#3Z#6
IF[#6EQ#4]GOTO3
#6=[#6+#5]
END2
#6=#4
END1
N3
G3X[#1-#3]I#3
G3X[#1-#3]I#3
G1G40X#1Y#2
G0Z3.
M99
I have added this to my post. Read the information on the forum a while ago. Just inserted it where needed. Hope it helps.
if use_clamp & cuttype <> zero, ###added unclamp
[p_lock = zero
s_lock = zero
pbld, n$, s_slock,
pbld, n$, s_plock, e$ ]
I'm altering a 5axis post to use subouts. All was going well until I used multi cuts/depth cuts. Instead of it all being in one sub im outputting one sub for each pass. Could someboby point me in a direction of an If Else to eliminate this.
Thanks Rob
G0 G90 G55 A0. B0.
M10 M70
M92
M98 P2301
M98 P2302
M98 P2303
M98 P2304
M09
G0 G28 G91 Z0.
M80
M01
end of O2301
G0 Z.25 prapid$ prapidout 2106.
G0 X-.7043 Y-1.8656 prapid$ prapidout 2108.
G17 ptlchg0$ ptlchg0$ 2156.
M99 ptlchg0$ ptlchg0$ 2156.
% ptlchg0$ ptlchg0$ 2156.
% ptlchg0$ ptlchg0$ 2156.
O2302 ( TEMP ) ptlchg0$ ptlchg0$ 2156.
G0 Z.1 ptlchg0$ prapidout 2156.
G1 Z0. plin$ plinout 2158.
Y-1.9443 F.01
Post Name : Generic Fanuc 5X Mill
had a *comment$ output 0. my mistake.
Think I have sorted it. I was using numbers in the comment box such as 11111. When using a letter with a number no problems comment comes out where i expected it, and when using just letters no problems. Dont understand why I cant use just numbers though.
Im altering a 5 axis post at the moment, and come across a small problem. I seem to be unable to output any comments other than 0.
Would be greatful for any assistance or ideas on whats going wrong or i've done wrong. comment$ is what im using.
I am unable to turn debug on in in one of my posts. Works fine through the control def for other posts. For some strange reason after saving control def everthing seems ok, but when i look again tick box is not ticked and the post has a red X. Any ideas what ive screwed up.
Thanks
Does anyone use 5-axis with subprograms. More to the point are you able to write a post to do this? The reason for this is to call the subs using M198 from the data server. While running the main programs from the memory.
My preferred chucks are Big Daishowa.
http://www.bigkaiser.com/
http://www.big-daishowa.com/index.html
Have our machines tooled with them and no problems at all. Worth a look.
Im looking for a few opptions/opinions on which way to go about setting the post for our Brother TC32B broken tool probing. When the tool length is below 3.2 inches i neeed to use the touch probe not the whip arm. G65P*** for touch probe. M200 for whip arm.
Thanks Rob
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.