Le 08/12/2010 18:07, Jon Elson a écrit : > dambacher-retrofit.de wrote: >> Hi Neil >> >> Am 07.12.2010 19:00, schrieb Neil Baylis: >> >>> What's the best strategy for controlling a laser? >>> >>> My machine uses 2 axes to move the laser optic to the right position. I've >>> got this much working satisfactorily. Now I need to control the laser power. >>> I was planning to use a 3rd axis for this, let's call it Z. >>> >>> My plan was to use the sign of the Z position to control the laser-enable >>> signal, and the magnitude of the Z position to control the laser power. But >>> maybe this is a stupid idea... I don't know. >>> >> maybe you shold use the spindle controls for this, e.g. use S for laser power >> and M3/M4/M5 for switching. >> This way you could use normal cam to program your machine. >> > I believe that any change to spindle speed will cause a pause in the > axis motion. I know any > start/stop command (M03 -- M05) will do that. Anyway, I believe that > spindle speed changes are not > synchronized with the motion.
yes, exactly this is why in my gluing machine I use M62->M65 to control the glue valve. I think here the problem is similar when you need to turn on/off the laser while moving. see : http://linuxcnc.org/docs/html/gcode_main.html#sec:M62-to-M65 ------------------------------------------------------------------------------ Oracle to DB2 Conversion Guide: Learn learn about native support for PL/SQL, new data types, scalar functions, improved concurrency, built-in packages, OCI, SQL*Plus, data movement tools, best practices and more. http://p.sf.net/sfu/oracle-sfdev2dev _______________________________________________ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users