1
Mach SDK plugin questions and answers. / Re: Laser Engraving Plugin Source Code
« on: November 29, 2009, 06:19:23 PM »
Today I learned an interesting tidbit about the Mach 3 laser engraving plugin. I had a 1MHz Celeron machine before and the laser plugin wouldn't work well at all. I kept getting the "Previous Sequence not complete" crashes. I upgraded my PC to a 3.4 GHz Athelon with 1Meg of RAM and I had the plugin working to my complete satisfaction (well almost complete as I will describe after this tidbit). With a 3.4GHz machine I found I could turn up the Mach pulsing engine to 100Khz. Using the plugin I could raster my x stage at 1400 in/min and get up to 1/16" burn depth in black walnut using my 40W CO2 (chinese engraver) with the power set to maximum. This isn't too shabby considering the speed of the raster and microsecond pulses of the laser.
Ready for the interesting part? I was playing (working) with the laser setup to finally adjust the table limits. I crashed my Y stage into the rear wall a few too many times and crushed a wire on my X stage which shorted it to the frame. This burned up my Allegro driver chip. I repaired the wire and replaced the x stage motor driver with another driver I had laying around. My original Allegro driver was set up for half step mode which gave me 500 steps per inch. The new driver had a much finer microstepping setting that required me to set Mach 3 for 2500 steps per inch. After the replacement I confirmed that I could indeed get my X stage to run at 1400"/min. Surely at that point I know that the pulse train coming from Mach 3 for Xstep is screaming. (58.333 KHz to be exact ). I then ran the laser engraver plugin again and it wouldn't work worth a darn. It would lose steps and give me one of those "previous sequence not complete" crash warnings. So I guess the trajectory planner in the raster software can't keep up if the step rate is super high. From now on, I'm going to stick with 1/2 step mode on my drivers since this gives the computer more time to think about the next step. Perhaps high pulse rates have been affecting other users in the past and affected thier results concerning burn depth. Since there was never an official manual for this plugin (that I know of) it could go as an unseen issue.
Now what still bugs me about the engraver plugin? It would be cool if it could analyze the incoming image and automatically skip over the areas the do not need engraving by using a rapid Y move. I am telling the Y to increment in 0.004" steps and it seems ridiculous for it to sit there and raster for two minutes because it hit a a 1/4" area of the image that had nothing to print.
Ready for the interesting part? I was playing (working) with the laser setup to finally adjust the table limits. I crashed my Y stage into the rear wall a few too many times and crushed a wire on my X stage which shorted it to the frame. This burned up my Allegro driver chip. I repaired the wire and replaced the x stage motor driver with another driver I had laying around. My original Allegro driver was set up for half step mode which gave me 500 steps per inch. The new driver had a much finer microstepping setting that required me to set Mach 3 for 2500 steps per inch. After the replacement I confirmed that I could indeed get my X stage to run at 1400"/min. Surely at that point I know that the pulse train coming from Mach 3 for Xstep is screaming. (58.333 KHz to be exact ). I then ran the laser engraver plugin again and it wouldn't work worth a darn. It would lose steps and give me one of those "previous sequence not complete" crash warnings. So I guess the trajectory planner in the raster software can't keep up if the step rate is super high. From now on, I'm going to stick with 1/2 step mode on my drivers since this gives the computer more time to think about the next step. Perhaps high pulse rates have been affecting other users in the past and affected thier results concerning burn depth. Since there was never an official manual for this plugin (that I know of) it could go as an unseen issue.
Now what still bugs me about the engraver plugin? It would be cool if it could analyze the incoming image and automatically skip over the areas the do not need engraving by using a rapid Y move. I am telling the Y to increment in 0.004" steps and it seems ridiculous for it to sit there and raster for two minutes because it hit a a 1/4" area of the image that had nothing to print.