Augustin,

There may be other and better ways of addressing this, but here is what I
have done.

I presume you are using the spindle (S parameter) to control the laser.
Changing the S parameter will cause the system to stutter. One way of
dealing with this is to connect the laser to the Z value rather than the
spindle. This presumes that you do not need a physical Z axis or at least
that they do not need to be used simultaneously. In the latter case you can
select between a physical Z axis and the laser with either the tool number
or an M code. Note also that because you are using the Z axis, problems can
arise from tool offset and part coordinate vs machine coordinate commands
like G92.

The kinematics will still kick in based on the size of the Z moves, so to
allow rapid changes in the laser power, you will want to use very small Z
value changes and then use the scale parameter of the PWM to scale it up
into the necessary range (0.0-1.0 or 0.0 to 10.0).

If you are going to try to do very rapid changes in laser power over very
short distances, then you need to understand section 2.1.4 "Planning Moves"
of the user's guide. One way to deal with short vectors and the possibility
that the speed will be reduced, is to adjust the laser power proportionate
to the instantaneous velocity.

There are a number of other complexities which will or may be encountered,
but hopefully that will give you a start.

BTW, the emc-users list is probably the more appropriate list for this
thread.

Regards,
Eric



I'm trying to do rastering with a laser.
But each time the pwm changes, the movement stops for a few milliseconds.
If in the next pixel changes the pwm, then there is a slight pause.
Is there any way to make rastering at a constant speed, with no pauses to
change the pwm?.

Many thanks


------------------------------------------------------------------------------

_______________________________________________
Emc-developers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/emc-developers

Reply via email to