Hi Balazs,
this would be a great practical feature for plasma cutting. Refer this thread: posting.php?mode=edit&f=16&p=897
To switch a plasma torch on or off synchronously with motion we need to use M10/11 but that is the laser output configured to it's own output pin.
Normal operation of the plasma torch uses M3/5 which operates the output pin configured as the spindle on/off.
Could we have a "synchronous plasma fire mode" where M3/5 and M10/11 are both using the SAME OUTPUT PIN. With default cutting "mode" M3/5 operates the output, but if the user manually (or via gcode command) puts UCCNC in this "synchronous plasma fire mode", then M3 does NOT turn the output on. Only when M10 arrives then the output is switched synchronously and likewise M11 will synchronously switch it off. Of course M5 will turn of the output in any mode.
There is another situation where the user wants a normal M3 start but needs a synchronous torch off with motion (M11). Therefore this "synchronous plasma fire mode" could be enabled in the middle of a cut when the torch is already lit, then a preparatory M10 could be issued (which does nothing because the torch is already lit), but when M11 arrives the torch turns of synchronously.
However, I don't know if UCCNC can use the same output pin designated to both M3/5 and M10/11.
Keith.