Hello Guest it is March 28, 2024, 03:47:23 PM

Author Topic: Code Whoe's Lathe  (Read 8763 times)

0 Members and 1 Guest are viewing this topic.

Offline Katoh

*
  •  287 287
    • View Profile
Re: Code Whoe's Lathe
« Reply #10 on: January 20, 2014, 06:36:35 PM »
Is the code double the dia of what it should be?
If so then its a MasterCAM issue, you could use a G51X0.5 before the code that is doubled and g50 after but its not ideal.
Hood


Hood how can I put it? what it is posting is the diameter, so in a way Mach is reading it as the radius, if that makes sense, so yes its twice what it should be. Question for you in your youtube vid on tool positioning/offset how did you electrically isolate the bar in the chuck?

Again don't know squat about MasterCam, but, it is wise to create the part in CAM, pp out of CAM, and bring into Mach
all based on the same units / mode. Mix and match on modes can be bad.

FWIW,
RICH

i still totally agree, but until I can get the Mach pp to make more sense its just an accident waiting to happen.

Cheers
Cheers
Katoh

Offline Hood

*
  •  25,835 25,835
  • Carnoustie, Scotland
    • View Profile
Re: Code Whoe's Lathe
« Reply #11 on: January 20, 2014, 07:15:36 PM »
If the code is in Dia mode, ie it is correct dimension in code then sounds like Mach is in Rad mode, check to see by going to MDI and commanding a X move.
Call a G50 from MDI just in case there are any scales active, G50 will reset to 1.
If it is still wrong then as I mentioned previously 066 has issues, especially with lathes. one is that wear offsets on X are in Rad no matter whether you are in Dia  mode, so maybe it is also acting on normal X values as well.

Part in chuck was three parts, basically a part with a hole, a delrin sleeve and then the inserted part, so delrin is insulating the part in the chuck from the part the tool is touching.

Hood

Offline Katoh

*
  •  287 287
    • View Profile
Re: Code Whoe's Lathe
« Reply #12 on: January 21, 2014, 08:26:03 AM »
Gentlemen
Many many thanks for your help, I have tried and tried and found as Rich has said you must use the mach post, I got the fanuc post to work but the code was all over the place not just double size movements but in places they halved. Simply the best and easiest way is to alter the mach code to work as it should, I just hope I can remember what I have done to it as to do the same in the future. I will add the altered code for those that are interested.


Part in chuck was three parts, basically a part with a hole, a delrin sleeve and then the inserted part, so delrin is insulating the part in the chuck from the part the tool is touching.

Hood



Excellent Hood that was what I was basically thinking. I am going to make something up around the same lines as what you have done, brilliant!

I do apologise for my late response, another member and myself have been moving my Bridgeport mill into my garage ready for retrofitting, I really should have taken a photo as how not to move a Bridgeport, added some excitement to the day but we still got it moved only using my little 453 bobcat with home grown tynes and max lift of 300kg. Put it this way a 100m move was done on the two front tyres with a one person counterweight off the back of the bobcat, down one steep driveway up the street and up another steep driveway into my garage.
Good fun was had by all, and nobody lost an eye! LOL.
Cheers
Katoh

Offline RICH

*
  • *
  •  7,427 7,427
    • View Profile
Re: Code Whoe's Lathe
« Reply #13 on: January 21, 2014, 08:38:38 AM »
How about just attaching your xml and also post the unaltered code from the Mach pp?

RICH

Offline Katoh

*
  •  287 287
    • View Profile
Re: Code Whoe's Lathe
« Reply #14 on: January 21, 2014, 07:01:36 PM »
Hi Rich
Here is my xml and the unaltered post from MC.
Cheers
Katoh
Cheers
Katoh

Offline Hood

*
  •  25,835 25,835
  • Carnoustie, Scotland
    • View Profile
Re: Code Whoe's Lathe
« Reply #15 on: January 21, 2014, 07:11:28 PM »
You have a Mill screenset loaded, cant have that for a Lathe.
If you are prefer to use the Mill style screen then go to your Mach3 folder, copy the 1024.set then paste it on your desktop, right click and rename to maybe Katoh.lset then put back into the Mach3 folder and then load that screenset. Notice the file extension, it is lset rather than just set, that makes a big difference as it either sets a profile up as a lathe or a mill.
Hood

Offline Katoh

*
  •  287 287
    • View Profile
Re: Code Whoe's Lathe
« Reply #16 on: January 21, 2014, 08:46:39 PM »
Hood, Rich
My apologies I posted the wrong XML the one I posted was from the router, got them mixed up when I renamed them.
"SORRY"
here is the proper one.
Cheers
Katoh

Offline Hood

*
  •  25,835 25,835
  • Carnoustie, Scotland
    • View Profile
Re: Code Whoe's Lathe
« Reply #17 on: January 22, 2014, 03:03:00 AM »
Ok the code seems to load fine and looks reasonable. What are the problems with it?
Hood

Offline Katoh

*
  •  287 287
    • View Profile
Re: Code Whoe's Lathe
« Reply #18 on: January 22, 2014, 05:42:22 AM »
Hood
maybe I'm being a bit pedantic but the way I see it when you program a cam to do  is what you should expect to be done. I use sheetcam quite a lot and it never misses a beat, I programmed Mc to do this little job and just small things like not turning on the coolant and not switching off the spindle and not going back to home for a tool change can create a world of hurt, small errors create super large oopsy's and some very expensive ones. Compare the altered post to the unaltered plug3 as opposed to plugmachpp, you must agree things don't seem correct.
I'm no expert and quite the opposite, an absolute newby to lathe Nc work but I have run the router long enough to gather the basics or attain a small knowledge of what looks right and what doesn't. For some reason even though its wrong the Fanuc code still looks so much better.
Cheers
Katoh
Cheers
Katoh

Offline Hood

*
  •  25,835 25,835
  • Carnoustie, Scotland
    • View Profile
Re: Code Whoe's Lathe
« Reply #19 on: January 22, 2014, 06:26:36 AM »
No, it should do exactly as you want/tell it to. The problem itself however is not the CAM but the Post Processing, in other words your Post Processor isnt correct if it is missing things out or doing things wrong.
I dont know our situation regards MasterCAM but often when you buy CAM you get one post processor free to suit your machine, if that is the case then they should be working with you to get it correct.
 I have used a few CAM's over the last while and post processors werent quite right for my machines however I chose to modify them myself to save back and forth hassles between myself and CAM people. This was with both Dolphin and BobCAD and both of them have a lot of tools and good documentation so that you can do that, I dont know what MasterCAM is like as some are relatively easy to modify yourself, others you need a degree in computer language and others just dont allow you access.
 So really it all depends, if the PP is easily modified and documentation is good I would do it myself, if not then you will have to contact MasterCAM and get them to work with you to get it right.

Hood