Hello Guest it is March 29, 2024, 10:21:39 AM

Poll

Who would like te G70/G71/G72 cycles added to mach3 lathe

YES finally!!
39 (92.9%)
NO why bother..I got a cam program
1 (2.4%)
Whats G70 G71 G72??
2 (4.8%)

Total Members Voted: 41

Author Topic: POLL: Mach3 Lathe and G70/G71/G72 roughing, facing, finishing  (Read 63913 times)

0 Members and 1 Guest are viewing this topic.

Offline DAlgie

*
  •  314 314
    • View Profile
    • Algie Composite Aircraft
Re: POLL: Mach3 Lathe and G70/G71/G72 roughing, facing, finishing
« Reply #30 on: January 02, 2009, 01:26:32 PM »
Yes, I typically like to keep my NC files neat and orderly as well for the same reason, N numbers if used in correct order, etc, that Finial file has me about beat though. However, I ran the 71test file this morning, with the multiple steps and it worked great, no problems or errors spat out, apart from when I added a retract line and forgot to change the number of lines called, so the error call there was good. One thing, it seems to double the feedrate in roughing when it comes to the arcs, does that seem possible? I'm pretty sure Mach3 doesen't do that, so wondered if it was in this code.
    DaveA.

Offline Chaoticone

*
  • *
  •  5,624 5,624
  • Precision Chaos
    • View Profile
Re: POLL: Mach3 Lathe and G70/G71/G72 roughing, facing, finishing
« Reply #31 on: January 02, 2009, 06:26:52 PM »
Dave, one thing that has bit me more than once when editing code was the carriage return.  Always make sure you hit enter at the end of a line of code. Don't know if that is your problem or if it helps, but I sure hope it does.

Melee, Thanks for your work.  :)

Brett
;D If you could see the things I have in my head, you would be laughing too. ;D

My guard dog is not what you need to worry about!

Offline DAlgie

*
  •  314 314
    • View Profile
    • Algie Composite Aircraft
Re: POLL: Mach3 Lathe and G70/G71/G72 roughing, facing, finishing
« Reply #32 on: January 03, 2009, 12:39:52 PM »
I ran the M71 code in a program that roughed out and finished a ball die yesterday, so it was mostly arcs. It ran the feedrate as specified, so I think it's good there, and as you say, it's under Mach control at that point anyway. I had no problems like the Finial file did, wondering if it is something to do with being a reentrant profile, I'll try a reentrant one today of some sort and see more. I find I have to run the code in offline mode to see how the first cut will be, which is what I had to do on a Fanuc G73 code as well, you never really knew how the first cut would be in that mode, so it's good like that. I'll email that file to you when I go get it from the lathe later today. Again, thanks for all of this, you've completed what Mach turn needed all along.
   DaveA.

Offline DAlgie

*
  •  314 314
    • View Profile
    • Algie Composite Aircraft
Re: POLL: Mach3 Lathe and G70/G71/G72 roughing, facing, finishing
« Reply #33 on: January 04, 2009, 01:01:46 AM »
Sorry, didn't send the .NC file yet, I'll get it to you shortly. I seemed to have an issue tonight with trying to use a stock diameter smaller than 1, was trying to use 0.5" diameter stock and it would come back with a stock size error. I tried a lot of sizes but it was never happy till I set it at 1. Guessing that because the code is written with metric in mind that it doesen't like a less than 1 input. I know, us oddball people that use imperial dimensions still!
    DaveA.
Oh, this was a reentrant profile, worked perfectly other than the stock size issue.

Offline DAlgie

*
  •  314 314
    • View Profile
    • Algie Composite Aircraft
Re: POLL: Mach3 Lathe and G70/G71/G72 roughing, facing, finishing
« Reply #34 on: January 04, 2009, 02:51:00 PM »
Ahh, perfect, I thought a solution for the less than 1 stock size might not be too much of a problem. Was just running a part with it over 1", just took longer cutting air, but worked flawlessly. OK, on to the 71 finial file, I have attached it here, see what you can find, as I said, I tried every combination of space, tab, enter, etc and never got it right after that. Thanks again, DaveA.

Offline DAlgie

*
  •  314 314
    • View Profile
    • Algie Composite Aircraft
Re: POLL: Mach3 Lathe and G70/G71/G72 roughing, facing, finishing
« Reply #35 on: January 05, 2009, 12:46:25 AM »
I loaded your new M71 macro over the old one and opened the same reentrant part I had ran earlier in the day. It gave a 'Dimension increment not specified (G20/G21)' error. I don't normally use G20 in my code start up line, but edited the file and added it on the first line. This didn't fix it, and I never did get the file to run. Strange.
     DaveA.

Offline DAlgie

*
  •  314 314
    • View Profile
    • Algie Composite Aircraft
Re: POLL: Mach3 Lathe and G70/G71/G72 roughing, facing, finishing
« Reply #36 on: January 05, 2009, 10:06:28 PM »
Thanks melee. I have just now downloaded your new files, and will try them later. As a note, I am still running Mach version 1.84.001, it is a very stable version, and because Mach turn is hardly ever improved, I see no need to update it to a newer one while this one works flawlessly for me. Indeed, the latest version seems to have threading problems that I just never have with this version. So, if any of that makes any difference, there you go. Thanks again,
            DaveA.

Offline DAlgie

*
  •  314 314
    • View Profile
    • Algie Composite Aircraft
Re: POLL: Mach3 Lathe and G70/G71/G72 roughing, facing, finishing
« Reply #37 on: January 07, 2009, 12:35:21 AM »
I loaded the new M71/ M72 files and loaded the same part that gave a units not set G20/G21 error, and it did the same thing. I went to the diagnostic page and checked, there were no lights lit for anything but G95 mode. I cleared out the error line and went back to auto mode and hit cycle start, noting that the part had not really loaded because there wasn't anything in the graphical window. Still, it tried to run but got to the M71 lines and gave the same units error. I didn't attempt the editing hack but can try that next if you draw a blank at your end. I suppose it COULD be the version I am running, but it worked a few days ago without this issue, so I don't think it is, but you would know much more about that. Thanks,
     DaveA.

Offline DAlgie

*
  •  314 314
    • View Profile
    • Algie Composite Aircraft
Re: POLL: Mach3 Lathe and G70/G71/G72 roughing, facing, finishing
« Reply #38 on: January 08, 2009, 01:08:16 AM »
Ahh, Mr Melee, you have gotten it, by jove! sorry.., but yes, it all works as planned at this end. I cut and pasted and hacked a program, which I have included, with multiple M71 calls, and it all works well. Nice job! Even the bothersome Finial file gives no errors whatsoever. Here's the program I messed with tonight:

G18 G40 G95
M6 T0101 (TRIGON ROUGHING)
M3 S325
N1   ;M71 I0.01 K0.005 D0.1 F0.008 B4 L8
N2    M71 P3 Q10
N3 G0 X4.1 Z0.1 M8
N4 G0 X2.8
N5 G1 Z-0.4742 F0.003
N6 G1 X3.968
N7 G2 X3.996 Z-.4824 K-.016
N8 G1 Z-.55
N9 G1 X4.1
N10 G0 Z0.1   
N20   ;M71 I0.01 K0.005 D0.1 F0.008 B2.75 L8
N30    M71 P40 Q120
N40 G0 X2.75 Z0.1 M8
N50 X2.018
N60 G1 X1.918 F0.003
N70 G1 Z0
N80 G2 X2.75 Z-.416 K-.416
N90 G1 Z-.4742
N100 G1 X2.8
N120 G0 Z0.1
Z2 M9
M5
M6 T0707 (1" BORING BAR)
M3 S325
G0 X2 Z.1 M8
N130   ;M71 I0.01 K0.005 D0.1 F0.008 B2 L6
N140    M71 P150 Q200
N150 G1 X1.95 F0.003
N160 G1 Z0
N170 G3 X1.1773 Z-0.2965 K-.416
N180 G1 X1.149 Z-.3492
N190 G1 X1.1
N200 G0 Z0.1
M5
M30

Actually, there is an error in this program, but it's of my doing. This program machines an air filter base for a motorcycle carb. I used the third M71 call to rough out and finish the inside of it with a boring bar, but I have the toolpath go from outer to inner. Therefore, it roughs from inside the part. I will try the toolpath in reverse to see if it roughs in the correct direction, or maybe mess with the M72 and do it like a face turning program. The first M71 call is to try to make the roughing a little faster by cutting in a linear direction instead of all the way with the arc, but it might not be much better. Still, all this and no errors, very impressive piece of coding you have there.
   DaveA.
« Last Edit: January 08, 2009, 01:17:17 AM by DAlgie »

Offline DAlgie

*
  •  314 314
    • View Profile
    • Algie Composite Aircraft
Re: POLL: Mach3 Lathe and G70/G71/G72 roughing, facing, finishing
« Reply #39 on: January 31, 2009, 09:46:00 PM »
Mr Melee, it's me again...
I just got back to try the code  in my last post, but changed the last M71 into an M72 for face machining. As it was it was using a boring bar and the M71 would try to start roughing on the wrong side of the finish toolpath, i.e, inside the material, which was not the intended method. So, I thought I could just use M72 and it would act like a face machining cycle. Well, I get a Syntax error of some sort when I load the program, and it takes me to the M72 file for editing. Hmm.