Machsupport Forum

Mach Discussion => Mach4 General Discussion => Topic started by: daniba73 on November 12, 2020, 12:14:35 PM

Title: Serious Mach4 Mill problem with the use of cycles with G18 plane
Post by: daniba73 on November 12, 2020, 12:14:35 PM
Good morning.

I have identified big problem in Mach4 mill.
When using the G81 drilling cycle, using the G18 plane, the X and Z axes are inverted !!
I enter gcode test.

%
T1 M06
G97 S1000 M3
G0 G18
G0 X0 Y10 Z100
G0 Z0
G0 X20 (DRILL 1)
G81 Y-20 F100 R1
X50 (DRILL 2)
X100 (DRILL 3)
X150 (DRILL 4)
G80
G0 Y100
Z200
G17
M30
;

instead of moving with the X axis to make other holes, it was the Z axis that moved !!!
Title: Re: Serious Mach4 Mill problem with the use of cycles with G18 plane
Post by: daniba73 on November 18, 2020, 02:01:59 AM
I wonder how it is possible that after at least 5 years that Mach4 is running, no one has ever noticed this Bug in the program !!
Anyone test the functions ?
Or are they simply written in the hope that they are correct?
Title: Re: Serious Mach4 Mill problem with the use of cycles with G18 plane
Post by: thosj on November 21, 2020, 10:35:19 AM
Following:)
Title: Re: Serious Mach4 Mill problem with the use of cycles with G18 plane
Post by: daniba73 on February 18, 2021, 06:05:51 PM
We were hoping that the bug was fixed with Mach4 update ...
unfortunately it is still present! :'(
Title: Re: Serious Mach4 Mill problem with the use of cycles with G18 plane
Post by: thosj on February 18, 2021, 06:43:58 PM
I'm not an expert on G18/G18 but I don't believe they're intended to be used with drilling cycles. A vertical spindle mill and a horizontal spindle mill both use G17 for normal moving around/milling/drilling. I've only seen G18/G19 used to circle interp in a plane other than G17, like with a ball endmill. But like I say, who am I to guess!!
Title: Re: Serious Mach4 Mill problem with the use of cycles with G18 plane
Post by: Brian Barker on February 19, 2021, 03:08:31 AM
Yes I do test but I am not infallible. If you can make a gcode file that can test every posable way anything could be done in every combination I will run it and test it. Gosh, I hope everyone in the world can learn to be a little nicer and a bit more understanding. This stuff is not simple! We have 4 Gcode interpreters I tested G18 drill cycles just last week in turn and the bug was fixed that the person reported from an old version. So hold on, we will look at this and fix it if it is an issue. Sorry for being a little snippy, we will get it. Thanks for I forming us.
Title: Re: Serious Mach4 Mill problem with the use of cycles with G18 plane
Post by: KatzYaakov on February 19, 2021, 04:26:27 AM
we use alot with Horizontal drilling  ,but i think like thsoj,its totally not similar to milling ,first need consider offset and each side its differnt
second all cycle is different ,you must activate at least some m function to go down with Horizontal head...calculate the security...
i cant see any way to do it but only in pp ,the point that you focus that 4 years and no one see this problem ,confirm that mine thinking its corect
Title: Re: Serious Mach4 Mill problem with the use of cycles with G18 plane
Post by: Brian Barker on February 19, 2021, 09:49:22 AM
I had some Xbox code I was working on... Now I can have a look at this. I am going to test it and see what happens. I should be be done testing this in about 20-30 min... I will tell you my findings!
Title: Re: Serious Mach4 Mill problem with the use of cycles with G18 plane
Post by: thosj on February 19, 2021, 09:53:16 AM
https://www.cnczone.com/forums/g-code-programing/82663-g17-g18-g19-explanation-please.html

Title: Re: Serious Mach4 Mill problem with the use of cycles with G18 plane
Post by: daniba73 on February 19, 2021, 11:14:55 AM

upload this gcode in Mach4 mill.
you will see that the next holes will not be the X axis to move to the next position, but it will be the Z axis.
and it's wrong.
if you try it on Mach3 it is correct.

%
T1 M06
G97 S1000 M3
G0 G18
G0 X0 Y10 Z100
G0 Z0
G0 X20 (DRILL 1)
G81 Y-20 F100 R1
X50 (DRILL 2)
X100 (DRILL 3)
X150 (DRILL 4)
G80
G0 Y100
Z200
G17
M30
;
Title: Re: Serious Mach4 Mill problem with the use of cycles with G18 plane
Post by: Brian Barker on February 19, 2021, 11:42:34 AM
I had to convert your file to inch to test it (I was getting really confused looking at MM file and the machine moving in Inch in the background). But the good news is I think I got it! I am going to make a build for you to test so you can see if it works for you.
Title: Re: Serious Mach4 Mill problem with the use of cycles with G18 plane
Post by: daniba73 on February 19, 2021, 11:56:15 AM
Ok thanks!
Title: Re: Serious Mach4 Mill problem with the use of cycles with G18 plane
Post by: Brian Barker on February 19, 2021, 01:27:18 PM
4.2.0.4629 is on the server... Now this version is the first one I have done with this PC so, I hope it is working as it should :)  FTP Dev versions

Thanks
Brian
Title: Re: Serious Mach4 Mill problem with the use of cycles with G18 plane
Post by: daniba73 on February 19, 2021, 01:36:41 PM
Thank you very much! I'll try tomorrow!
Title: Re: Serious Mach4 Mill problem with the use of cycles with G18 plane
Post by: daniba73 on February 19, 2021, 03:15:08 PM
this address no longer works?
ftp://ftp.machsupport.com/Mach4/DevlopmentVersions/
it takes me nowhere.
Title: Re: Serious Mach4 Mill problem with the use of cycles with G18 plane
Post by: Brian Barker on February 19, 2021, 03:22:42 PM
Use FireFox
Title: Re: Serious Mach4 Mill problem with the use of cycles with G18 plane
Post by: daniba73 on February 19, 2021, 04:07:16 PM
downloaded and tested.
it's perfect!!!
now it works correctly !!!
Many thanks!!!
news:
I announced on the Italian forum the new Mach4 release.
I translate it then I paste here what I wrote !!
Title: Re: Serious Mach4 Mill problem with the use of cycles with G18 plane
Post by: Brian Barker on February 19, 2021, 04:10:57 PM
Okay I will commit it to the source so it will be fixed forever !
Title: Re: Serious Mach4 Mill problem with the use of cycles with G18 plane
Post by: daniba73 on February 19, 2021, 04:20:07 PM
I had just over 1 hour of time and I wanted to try / see this new version of Mach4 !!
I installed Smooth Stepper Ethernet V270 on the Pantograph with hardware plug-in
What can I say .....
VERY GOOOOOOOD!!!
I couldn't break away !! I was fascinated !!!
I enclose some screens ... !! of which I immediately proceeded to make the first changes, first of all I prefer high contrast colors, and removed the one that did not interest me.
Regular behavior has improved exponentially !! I tried to stress him while he was working by moving the Feed slide up and down, going from 0% to 250% he didn't beat the cycle !! while in the previous version of both Mach4 and the plugin, the too violent passages of the slide caused unpleasant blows.
Compared to mach3 the response speed is at least 3 times higher. On this point CsLab is even better, the response is almost immediate, while with the Smooth it is fast, but there is a slight softness ... perhaps better this way .. otherwise the difference in price between the two hardware would not make sense !! I remember that I paid for the Smooth about 200 euros or a little more with the additional cards, and yet it never missed a beat !!
Surely now the plugins will also be updated, both of CSMIO and SSE.
It usually takes a few months for plugins to stabilize, which will definitely need some tweaking.
CSMIO in addition to being much more performing has functions not supported by the SSE (still here the price difference is justified).
If my friend wants to try it on his 40 quintal chisel, even if he is neither the forum nor the video type .. he doesn't care much ... he had posted a post about his lathe here on the forum, but it didn't arouse interest , so he's not that enthusiastic already, plus the lack of incentives has reduced him even further.
When asked if it's worth it ...
It's worth it! is an evolution !!!!
GOOOOOOOOO Mach4 !! GOOOOOOOOO !!!!