Sebastian,
It is a problem for down the road, not on my current project. I am not
currently trying to do laser writing / engraving but would like to do that
in the not too distant future.
The fist approach I took was to use the spindle, but I ran into a number of
problems there, particularly that the other axes would "stutter" when trying
to fairly rapidly change the spindle speed. It has been a while since trying
it that way, so maybe I should re-examine that approach.
The other thing I like in using Z is that it gives a good 3D rendition when
used for a back plot / live plot. Not that it would be a problem to
interpret the S parameter the same way Z is interpreted in the UI.
Regards,
Eric
So there are two problems we're dealing with there, right? One is the
mysterious following errors, and the other is how best to drive the lazzzor.
I think I agree with Jim Coleman - using an axis position to give the laser
its power seems a bit strange. You want it accessible to the g-code, Jim
suggested spindle speed, but (if i understood you correctly) you said you
didn't like the abrupt changes in duty cycle that come from using
motion.spindle-speed-out directly.
Maybe you could use spindle-speed-out as an input to a properly tuned
limit3 component, and use the limit3 output as the laser power?
That would give you full control over both "rate of change" (the "velocity"
at which the pwm duty cycle changes) and "rate of change of rate of change"
("acceleration" at which the duty cycle changes), independent of kinematics.
Seems simpler.
<http://www.linuxcnc.org/docs/2.2/html/man/man9/limit3.9.html>
But, that said, let's debug one thing at a time. ;-)
------------------------------------------------------------------------------
SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada.
The future of the web can't happen without you. Join us at MIX09 to help
pave the way to the Next Web now. Learn more and register at
http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/
_______________________________________________
Emc-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/emc-users