Keyboard Shortcuts
Likes
Search
Mach4 Comp new mode
Hello buys,
I have added a new comp mode that is doing the set over like a Fanuc. Before I used the method that Yaskawa used (put an arc around the end of moves that needed to be joined) . There is a problem with this method and that is that it will make a gouge on some very small moves. The Fanuc method will prevent this but at the same time I don't think it is as smooth or as fast cutting. So what I have done is added 2 comp modes and you can pick how you would like the moves to link. The Gcodes are G40.1 and G40.2 I sort of picked them out of thin air for testing at this time. My hope is to get this out for testing next week and later have it out for the rest of you to test. to say that this is complex is a bit of an understatement. It took me weeks just looking at the problem to find an elegant solution but I really am pleased with how I was able to get it working in the end. This should clear up the small errors a few of you had and at the same time give you some options if you are seeing issues. Thanks Brian |
As you can see I missed the G key and hit the B... So Hello GUYS ! LOL... I need to slow the heck down!
toggle quoted message
Show quoted text
Thanks Brian On 3/6/2015 8:26 AM, Brian Barker brianb@... [mach1mach2cnc] wrote:
Hello buys, |
开云体育Galil is working and I will be installing one here at the shop later this month :)So it better be a good plugin LOL Thanks Brian On 3/6/2015 12:21 PM,
brendon@... [mach1mach2cnc] wrote:
yeeeeeeha. sounds great brian. |
开云体育Excuse my ignorance but how do you USE two comp modes. You say one mode will be best for one circumstance and the other mode for a different circumstance. What if both those conditions occur in the same job. ?? Fine I guess if you are writing your own code. You can switch in the middle of the program. But if you have a CAM program you're going to have to decide on one or the other and change the post configuration before you generate the code. Then your out of luck for one or the other mode - NO? ? I feel sorry for the poor people that own Fanuc machines with lousy compensation - oh no - I feel sorry for the other guys that own the Yaskawa machines with lousy compensation. Are either of them really hurting so bad?? J J ? Sage ? |
How do you offset left or right with G40.1 or G40.2? Both appear to offset to the right.
toggle quoted message
Show quoted text
Also, when using either one of these, the Status bar shows G40, not G40.1 or G40.2. The toolpath display shows two toolpaths, one on the opposite side. And running in Sim mode, if you use 250% FRO, I see a LOT of rounding on some corners, but none on others. Try this code: M3 G0 Z0.1250 G0 X3.6570 Y3.1528 Z0.1250 G1 X3.6570 Y3.1528 Z0.0000 F50 G40.1P0.5 G1 X4.1931 Y3.5309 Z-0.2500 F150 G1 X4.1931 Y5.9673 Z-0.2500 G2 X7.1931 Y8.9673 Z-0.2500 I3.0000 J0.0000 G1 X9.6933 Y8.9673 Z-0.2500 G3 X10.1933 Y9.4673 Z-0.2500 I0.0000 J0.5000 G1 X10.1933 Y11.5629 Z-0.2500 G2 X11.6933 Y13.0629 Z-0.2500 I1.5000 J0.0000 G1 X14.2300 Y13.0629 Z-0.2500 G2 X14.7300 Y12.5629 Z-0.2500 I0.0000 J-0.5000 G1 X14.7300 Y10.0586 Z-0.2500 G3 X15.4800 Y9.3086 Z-0.2500 I0.7500 J0.0000 G1 X19.7343 Y9.3086 Z-0.2500 G2 X20.4827 Y8.5095 Z-0.2500 I0.0000 J-0.7500 G1 X20.2590 Y5.1012 Z-0.2500 G1 X25.8524 Y5.1012 Z-0.2500 G1 X25.8524 Y3.6901 Z-0.2500 G2 X24.3524 Y2.1901 Z-0.2500 I-1.5000 J0.0000 G1 X18.6326 Y2.1901 Z-0.2500 G1 X17.5130 Y4.4477 Z-0.2500 G3 X16.8411 Y4.8644 Z-0.2500 I-0.6719 J-0.3332 G1 X14.3763 Y4.8644 Z-0.2500 G3 X12.8763 Y3.3644 Z-0.2500 I0.0000 J-1.5000 G1 X12.8763 Y1.2336 Z-0.2500 G3 X13.6263 Y0.4836 Z-0.2500 I0.7500 J0.0000 G1 X21.3462 Y0.4836 Z-0.2500 G2 X22.0962 Y-0.2664 Z-0.2500 I0.0000 J-0.7500 G1 X22.0962 Y-0.4137 Z-0.2500 G2 X21.3358 Y-1.1636 Z-0.2500 I-0.7500 J0.0000 G1 X11.8654 Y-1.0321 Z-0.2500 G2 X11.1258 Y-0.2822 Z-0.2500 I0.0104 J0.7499 G1 X11.1258 Y2.1040 Z-0.2500 G3 X9.6258 Y3.6040 Z-0.2500 I-1.5000 J0.0000 G1 X7.3822 Y3.6040 Z-0.2500 G3 X6.6322 Y2.8540 Z-0.2500 I0.0000 J-0.7500 G1 X6.6322 Y-2.6286 Z-0.2500 G2 X6.3548 Y-2.8130 Z-0.2500 I-0.2000 J0.0000 G1 X5.2142 Y-2.3342 Z-0.2500 G2 X4.1931 Y-0.7981 Z-0.2500 I0.6448 J1.5361 G1 X4.1931 Y3.9540 Z-0.2500 G40 G1 X3.6570 Y4.5703 Z-0.2500 G0 X3.6570 Y4.5703 Z0.1250 M5 M30 Gerry On 3/6/2015 8:26 AM, Brian Barker brianb@... [mach1mach2cnc] wrote:
Hello buys, |
开云体育Hello Sage,I don't think that is ignorance at all! This is a little not standard and I had to find a way to make comp work 2 ways and not break the old files that where out there. So here is what I did : G40.1 is the Old Arc type G40.2 is the new linear type Yes you can swap the comp type on the fly! I am getting good at this sort of thing LOL.. .Here is an Example file that shows a swap mid program: G90 G0 X0.0 Y-1 Z0 G40.1 (Arc Cap) G01 G90 G41 P0.25 Y0.0F60 Z-.1( .5 for the tool DIA) X-1 G40.2 (Linear Cap) Y2 X0 G40.1 (Back to Arc) Y0 X1 X0 G40 Y-1 G0 Z.5 G90 M30 The issue with the Yasnac type of cap is that it will make a gouge on very small comp moves.. I wish I could show it here for you.. But you have the power to pick the way you like best now and I think that is going to be the best for everyone! Thanks Brian On 3/7/2015 7:39 AM, 'Dave Sage'
davesage12@... [mach1mach2cnc] wrote:
|
Hi Gerry,
toggle quoted message
Show quoted text
This is not out in the current version... G40 is to cancel comp not pick the side.. G40.1 / G40.2 are to change the type of cap that is done. I posted an example of how to use it. Please tell me if that clears this up for you. Thanks Brian On 3/7/2015 8:56 AM, Ger CNCWoodworker@... [mach1mach2cnc] wrote:
How do you offset left or right with G40.1 or G40.2? Both appear to |
OK, now I see. Thanks. Gerry From: "Brian Barker brianb@... [mach1mach2cnc]" To: mach1mach2cnc@... Sent: Monday, March 9, 2015 9:48:36 AM Subject: Re: [mach1mach2cnc] Mach4 Comp new mode This is not out in the current version... ?G40 is to cancel comp not pick the side.. G40.1 / G40.2 are to change the type of cap that is done. I posted an example of how to use it. Please tell me if that clears this up for you. Brian On 3/7/2015 8:56 AM, Ger CNCWoodworker@... [mach1mach2cnc] wrote: > How do you offset left or right with G40.1 or G40.2? Both appear to > offset to the right. > Also, when using either one of these, the Status bar shows G40, not > G40.1 or G40.2. > The toolpath display shows two toolpaths, one on the opposite side. > And running in Sim mode, if you use 250% FRO, I see a LOT of rounding on > some corners, but none on others. > Try this code: > M3 > G0 Z0.1250 > G0 X3.6570 Y3.1528 Z0.1250 > G1 X3.6570 Y3.1528 Z0.0000 F50 > G40.1P0.5 > G1 X4.1931 Y3.5309 Z-0.2500 F150 > G1 X4.1931 Y5.9673 Z-0.2500 > G2 X7.1931 Y8.9673 Z-0.2500 I3.0000 J0.0000 > G1 X9.6933 Y8.9673 Z-0.2500 > G3 X10.1933 Y9.4673 Z-0.2500 I0.0000 J0.5000 > G1 X10.1933 Y11.5629 Z-0.2500 > G2 X11.6933 Y13.0629 Z-0.2500 I1.5000 J0.0000 > G1 X14.2300 Y13.0629 Z-0.2500 > G2 X14.7300 Y12.5629 Z-0.2500 I0.0000 J-0.5000 > G1 X14.7300 Y10.0586 Z-0.2500 > G3 X15.4800 Y9.3086 Z-0.2500 I0.7500 J0.0000 > G1 X19.7343 Y9.3086 Z-0.2500 > G2 X20.4827 Y8.5095 Z-0.2500 I0.0000 J-0.7500 > G1 X20.2590 Y5.1012 Z-0.2500 > G1 X25.8524 Y5.1012 Z-0.2500 > G1 X25.8524 Y3.6901 Z-0.2500 > G2 X24.3524 Y2.1901 Z-0.2500 I-1.5000 J0.0000 > G1 X18.6326 Y2.1901 Z-0.2500 > G1 X17.5130 Y4.4477 Z-0.2500 > G3 X16.8411 Y4.8644 Z-0.2500 I-0.6719 J-0.3332 > G1 X14.3763 Y4.8644 Z-0.2500 > G3 X12.8763 Y3.3644 Z-0.2500 I0.0000 J-1.5000 > G1 X12.8763 Y1.2336 Z-0.2500 > G3 X13.6263 Y0.4836 Z-0.2500 I0.7500 J0.0000 > G1 X21.3462 Y0.4836 Z-0.2500 > G2 X22.0962 Y-0.2664 Z-0.2500 I0.0000 J-0.7500 > G1 X22.0962 Y-0.4137 Z-0.2500 > G2 X21.3358 Y-1.1636 Z-0.2500 I-0.7500 J0.0000 > G1 X11.8654 Y-1.0321 Z-0.2500 > G2 X11.1258 Y-0.2822 Z-0.2500 I0.0104 J0.7499 > G1 X11.1258 Y2.1040 Z-0.2500 > G3 X9.6258 Y3.6040 Z-0.2500 I-1.5000 J0.0000 > G1 X7.3822 Y3.6040 Z-0.2500 > G3 X6.6322 Y2.8540 Z-0.2500 I0.0000 J-0.7500 > G1 X6.6322 Y-2.6286 Z-0.2500 > G2 X6.3548 Y-2.8130 Z-0.2500 I-0.2000 J0.0000 > G1 X5.2142 Y-2.3342 Z-0.2500 > G2 X4.1931 Y-0.7981 Z-0.2500 I0.6448 J1.5361 > G1 X4.1931 Y3.9540 Z-0.2500 > G40 > G1 X3.6570 Y4.5703 Z-0.2500 > G0 X3.6570 Y4.5703 Z0.1250 > M5 > M30 > > > Gerry > > On 3/6/2015 8:26 AM, Brian Barker brianb@... [mach1mach2cnc] > wrote: >> Hello buys, >> I have added a new comp mode that is doing the set over like a Fanuc. >> Before I used the method that Yaskawa used (put an arc around the end of >> moves that needed to be joined) . There is a problem with this method >> and that is that it will make a gouge on some very small moves. The >> Fanuc method will prevent this but at the same time I don't think it is >> as smooth or as fast cutting. So what I have done is added 2 comp modes >> and you can pick how you would like the moves to link. The Gcodes are >> G40.1 and G40.2 I sort of picked them out of thin air for testing at >> this time. My hope is to get this out for testing next week and later >> have it out for the rest of you to test. to say that this is complex is >> a bit of an understatement. It took me weeks just looking at the problem >> to find an elegant ?solution but I really am pleased with how I was able >> to get it working in the end. This should clear up the small errors a >> few of you had and at the same time give you some options if you are >> seeing issues. >> >> Thanks >> Brian >> >> >> >> ------------------------------------ >> Posted by: Brian Barker >> ------------------------------------ >> >> www.machsupport.com - Web site Access >> ------------------------------------ >> >> Yahoo Groups Links >> >> >> >> > > > ------------------------------------ > Posted by: Ger > ------------------------------------ > > www.machsupport.com - Web site Access > ------------------------------------ > > Yahoo Groups Links > > > > Posted by: Brian Barker ------------------------------------ ------------------------------------ ?? ?http://groups.yahoo.com/group/mach1mach2cnc/ ?? ?Individual Email | Traditional ?? ?http://groups.yahoo.com/group/mach1mach2cnc/join ?? ?(Yahoo! ID required) ?? ?mach1mach2cnc-digest@... ?? ?mach1mach2cnc-fullfeatured@... ?? ?mach1mach2cnc-unsubscribe@... ?? ?https://info.yahoo.com/legal/us/yahoo/utos/terms/ |
开云体育I see what your talking about and understand the concept of why having more than one comp could be necessary. But that only applies to Gcode you write manually where YOU can predict that one type of Comp might be better than another in a particular situation - NO? Most people use CAM programs. You would have to select a particular post to generate the G-code output. Then it would only have one type of Comp applied in the code. Possibly not the one that's suitable. Also, the part to be machined might have a situation requiring both types of comp. What then? ? Sage ? |
开云体育I think most will never need to change the type of Comp.. It is simply an option that you can use if you need it.. You can forget it is there and if you have an issue I can tell you if it should fix it..Thanks Brian On 3/9/2015 5:34 PM, 'Dave Sage'
davesage12@... [mach1mach2cnc] wrote:
|