¿ªÔÆÌåÓý

ctrl + shift + ? for shortcuts
© 2025 Groups.io

Re: Mach4 Comp new mode


 

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 <brianb@...>
------------------------------------

www.machsupport.com - Web site Access
------------------------------------

Yahoo Groups Links



Join [email protected] to automatically receive all group messages.