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:
Thanks Guys I'll give that a try this morning. I wasn't sure how for ahead these Machines look so I didnt know if it was that line or something further down.
Thanks again for the help!!!
Here is the code I have but befroe it finishes I get an alarm (Illegal Variable) and stops at N10
%
O9817(REN 5TH AXIS X MEASURE)
G65P9724
#149=170(* X INPUT MISSING)
IF[#24EQ#0]GOTO99
#149=190(* Z INPUT MISSING)
IF[#26EQ#0]GOTO99
#149=270(* X0 INPUT NOT ALLOWED)
IF[#24EQ0]GOTO99
#5=135
WHILE[#5LE149]DO1
#[#5]=#0
#5=#5+1
END1
#3=4(* 5TH AXIS NUMBER)
#4=-1(* 1=CW -1=CCW CORRECTION)
IF[#17NE#0]GOTO4
#17=10*#129
N4
#31=#5041(* X)
#32=#5043-#116(* Z)
G31X[#31+[#24/2]]F#119
#149=1
IF[ABS[#5061-[#31+[#24/2]]]GE#123]GOTO99
G65P9726Z#26Q#17
IF[#149NE0]GOTO99
#30=#5063(* Z1)
G00X#31
G31X[#31-[#24/2]]F#119
#149=1
IF[ABS[#5061-[#31-[#24/2]]]GE#123]GOTO99
G65P9726Z#26Q#17
IF[#149NE0]GOTO99
#10=#5063(* Z2)
G00X#31
#29=[#10-#30]*#4
G65P9731Y[#29]X[#24](* ATAN)
#16=#118
N5
#139=#16+#[5040+#3]
#143=#29
#144=#16(* ANG ERR)
IF[#23EQ#0]GOTO6
G65P9730A[#139-#16]Q#2W#23
N6
IF[#2EQ#0]GOTO8
IF[ABS[#144]LT#2]GOTO7
#148=4
N7
IF[#120AND4EQ4]GOTO8
IF[ABS[#144]LT#2]GOTO8
#149=520(* ANGLE OUT OF TOL)
G65P9700
N8
IF[#19EQ#0]GOTO14
IF[#19EQ0]GOTO11
#12=0
IF[#120AND8EQ8]GOTO10
IF[#19LT100]GOTO9
#19=#19-100
#12=1780
IF[#19LE48]GOTO9
#32=8780
N9
#[5200+#3+[#19*20]+#12]=#[5020+#3]-#[5040+#3]+#16-#[5200+#3]
GOTO14
N10
#[2400+[#3*100]+#19]=#[5020+#3]-#[5040+#3]+#16-#[2400+[#3*100]]
GOTO14
N11
IF[#120AND8EQ8]GOTO12
#[5200+#3]=#[5200+#3]+#16
GOTO14
N12
#[2400+[#3*100]]=#[2400+[#3*100]]+#16
GOTO14
N99
G01Z#32F#119
G01X#31
G65P9700
N14
M99
%
Any help would be appreciated
Also this is a Tilt rotary (Table-Table) and I'm trying to align the 5th Axis tilt in the "X" direction.
I don't know if anybody else has come across this but when I save my previous operation stl and then use it for another Machine Group the RED Arrow needs to be in the previous Machine Group for it to be in the right location to run the next operation correctly.
A bug possible?
Hey Dan,
Been looking for that same thing as Bill I'm trying to implement a schedule at the shop but difficult with different Machines. If you have something you don’t mind sharing that would be great or if you have some ideas I would appreciate them to get me going in the right direction.
WOW Thanks Robert
This will help me get going big time.
Now if I remember you interfaced Crib Master with Mastercam is that also with X+ or is that with something else for your Tool Sheets.
Thanks guys I didn't save I only renamed it.
Now for my next question how do I edit it so it doesn’t keep repeating a tool over and over?
I have a tool doing multiple steps but I only need it to come up once on the tool sheet.
I put mine into the route directory were the logo was that came with X+ I can't get the new logo to come up I even moved the other one out of the directory. tried .gif and .png
California Dream in
Sounds great but tied down here in Chicago area coming in on 28 years at the same place.
Looked at buying one of those Machines would love to work on one.
TOP DOG WOOF!!!
ShefferCNC
I just looked into P9843 I need to be able to Measure at 2 different "Z" heights along "Y" but thanks for letting me know about that one I'm sure I'll be using it.
After each rotine I force the #135 out to #106 from the Web and #107 from the 3 Point Bore.
I have a set "Y.13" distance and I'm looking for the Angle as the "X" changes for my G68.
I hope I can explain this well enough.
I'm running a probing routine to align a milled slot in the "Y" axis. First I'm going to do a 3 Point Bore for the Datum and then a Web Measure in the slot I need to have it to calculate a G68 Rotate of the program I was going to do an ATAN but I'm not sure if that is what I should be using to produce the correct G68 Rotate.
Any help would be appreciated I get buy with Probe Programming but I’m not that strong in it.
Why have 2
Just activate the nethasp when you need it, then re-activate the other hasp when you need to go back.
I do this on one of the computers here and it works great. We have Wire on the nethasp and Mill & Lathe on the local hasp.
I've had that done to 2 of my Machines and thats how we found out that one of them needed to have the ball screw replaced on a 3 year old Machine!
But with as many Machines as we have that takes a lot of time money with witch the owner is reluctent to spend.
My sugestion was to invest in our own Ball Bar kit and get trained on it to do or own as needed. But how often should it be done or do you only do it when you have a problem with the Machine.
The Main thing is whats going to be the requirement for the future ISO.
Just so you guys know were I'm coimg from. last night we had our managers meeting and when I suggested the purchase of the kit the responce was just put an indicator in the machine that should be good enough?
The requirements state that you start with the originals that the machine came with then compare it to what it is now because if a machine was crashed or just from settling it can be out on geometry or motors aren’t tuned just right their is a lot that can go into this and be vary costly we would like to find out a good standard that works for us and our customers and be affordable.
Curious on what everyone does in their shops for Machine Validation.
This is becoming more required from our customers and I here this is going to become part of ISO soon.
I have roughly 47 CNC Machines all different Makes at 2 Facility's
18 VMC's
16 2 Axis Lathes
6 Multi Lathes
7 WEDM's
Not including all the Manual Machines.
Looking for an inexpensive direction?
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.