1
Mach4 General Discussion / Re: Mach 4 and ESS latest update issues
« on: August 12, 2016, 08:27:28 PM »
Hi sorry for the late reply!
We control the intensity of the laser through the g code and PWM chip we set up with the ESS.
ie; spindle speed in g code of 10,000 gives us a certain output on the laser. We measure it via an analog meter we put inline to the laser power source that's measured in mA. And we know that our high peak on this particular tube shouldn't go above 20-25mA (30mA is our upper MAX we should not hit before it hurts the life of the laser)
We went through a couple hours of troubleshooting, and we believe that we narrowed the cause down, is in the New ESS plugin there are more options relating to PWM and the spindle controls.
We initially set these up to the mode as PWM, and the frequency for 25kHz, as the C02 laser we bought suggest that it should be at 20kHz or higher.
After some testing, and experimenting with the settings at different "spindle speeds" and max spindle speeds, and frequencies. We had a pretty consistent result to what is failing on and when, but we don't know how or why it is failing. Feels like something is maybe getting feedback somehow and causing mach to not continue with the program.
The biggest culprit seemed to have to do with the PWM frequency, and the Spindle speed % of max Spindle speed set in the plugin. It would not work with frequencies set much lower than 20kHz, like 1kHz for example, and too far about 20 didn't have much success either.
The testing at the 25kHz setting and a max spindle speed of 125,000 we found that at about roughly 42,500 for spindle speed set in g-code is where we found issues with consistency, running maybe 1/8 fulls paths. This gave us outputs of around 10mA at 100% speed, and 18mA at 150% At this point it would lock up on the program side.
We stopped testing and stuck with 20kHz for now, and a max spindle speed of 60,000.
Our max spindle speed is roughly 25,000 give us an output of 7.5mA at 50%, 13mA at 100%, 21.5mA at 150% of the spindle speed (this was where it "failed") This was the biggest range we found that could be successful consistently, without further testing.
We experimented with different spindle speeds, and the scale seemed pretty much the same no matter what "max" we set, a little after 1/3rd of max spindle speed it would fail program side.
I say fail, but there isn't any alarms tripped, and no error codes presented, just stops running the lines of code.
We are thinking it's either stalling out as some signal that the boards don't like, and it just stops it going any further, or some hidden thing in the mach/ess software that we can't see or aren't aware of forbidding certain combinations of settings. As we don't don't have signal coming back from the laser to the PWM chip or ESS.
I will be at the shop again sunday and can provide the files from Mach then(Gcode, ini, etc) or screens of our settings or notes if needed, but just updating this from home right now.
We control the intensity of the laser through the g code and PWM chip we set up with the ESS.
ie; spindle speed in g code of 10,000 gives us a certain output on the laser. We measure it via an analog meter we put inline to the laser power source that's measured in mA. And we know that our high peak on this particular tube shouldn't go above 20-25mA (30mA is our upper MAX we should not hit before it hurts the life of the laser)
We went through a couple hours of troubleshooting, and we believe that we narrowed the cause down, is in the New ESS plugin there are more options relating to PWM and the spindle controls.
We initially set these up to the mode as PWM, and the frequency for 25kHz, as the C02 laser we bought suggest that it should be at 20kHz or higher.
After some testing, and experimenting with the settings at different "spindle speeds" and max spindle speeds, and frequencies. We had a pretty consistent result to what is failing on and when, but we don't know how or why it is failing. Feels like something is maybe getting feedback somehow and causing mach to not continue with the program.
The biggest culprit seemed to have to do with the PWM frequency, and the Spindle speed % of max Spindle speed set in the plugin. It would not work with frequencies set much lower than 20kHz, like 1kHz for example, and too far about 20 didn't have much success either.
The testing at the 25kHz setting and a max spindle speed of 125,000 we found that at about roughly 42,500 for spindle speed set in g-code is where we found issues with consistency, running maybe 1/8 fulls paths. This gave us outputs of around 10mA at 100% speed, and 18mA at 150% At this point it would lock up on the program side.
We stopped testing and stuck with 20kHz for now, and a max spindle speed of 60,000.
Our max spindle speed is roughly 25,000 give us an output of 7.5mA at 50%, 13mA at 100%, 21.5mA at 150% of the spindle speed (this was where it "failed") This was the biggest range we found that could be successful consistently, without further testing.
We experimented with different spindle speeds, and the scale seemed pretty much the same no matter what "max" we set, a little after 1/3rd of max spindle speed it would fail program side.
I say fail, but there isn't any alarms tripped, and no error codes presented, just stops running the lines of code.
We are thinking it's either stalling out as some signal that the boards don't like, and it just stops it going any further, or some hidden thing in the mach/ess software that we can't see or aren't aware of forbidding certain combinations of settings. As we don't don't have signal coming back from the laser to the PWM chip or ESS.
I will be at the shop again sunday and can provide the files from Mach then(Gcode, ini, etc) or screens of our settings or notes if needed, but just updating this from home right now.