Hi all,
I use UCCNC version 1.2115 with an UC400ETH to control a LED laser.
To switch the laser on and off I use the G-codes M3 and M5, the power is controlled with PWM and can be set between 0 and 100% with S0 to S100 . This works also so far quite well.
The real problem is that the laser is switched on at the start, for example of a line, to the specified power value and then the laser head accelerates to the speed defined in the G-code. So the laser already has its preset power at the start, even though the speed only starts moving at the acceleration desired in the axis settings. The same happens at the end of a movement. The laser is only switched off with M5 when the target point is reached.
The result is burned out holes at the beginning and at the end of a movement. The laser power would have to be controlled proportionally with the speed. This means that the power is increased depending on the current speed until the desired maximum value is reached. The same would have to happen during deceleration. Is there a possibility to define this in UCCNC?
I hope I have expressed myself in a reasonably understandable way. Would anyone have a tip for me?
Peter