Implementing laser marking properly (consistent, uniform marks, quickly) is far more difficult that it might seem. It
might be possible to do with EMC, as long as the path vectors are preprocessed properly, but it will not be easy. The fundamental problem is that you need to ensure that amount of energy delivered by the laser is uniform across each line. Sounds simple, right? Not in the slightest.
The difficulty arises because the gantry (or more commonly, galvonometers with mirrors attached) has mass, and cannot be instantaneously switched from one velocity to another; it has to be accelerated/decelerated. This means that it will start off slowly, with its velocity changing incrementally until it reaches the desired velocity. Imagine the laser spot on the material to be marked/etched. The laser will deliver a constant amount of heat into the material under the spot. When the spot is moving slowly, during acceleration or deceleration, more heat is put into the material, usually causing deeper/wider/melt marks at the beginning and end of an etched line.
The solution to this is, in retrospect, obvious, but very few people ever figure it out: The laser can only be on (marking/etching) when the spot is moving at a constant velocity. To achieve this, you need to get a "running start", that is, you begin your acceleration with the laser off/shuttered, well before the spot reaches the beginning of the line it is to mark. When the spot is moving at constant velocity, turn on/unshutter the laser when it reaches the beginning of the line to be marked/etched. As you near the end of the line, most people's instinct is to decelerate, to get ready for the next vector. Don't!! The spot must be moving at a constant velocity across the entire line. When the end of the line is reached, then turn off/shutter the laser.
At this point, the spot has overshot the beginning of the next vector. There are some rather sophisticated tricks on how to most efficiently control the spot path - at the fastest possible speed - to line up for the next vector. Also if you want
really high quality marks that are uniform across the entire line and you're using a pulsed laser, you'll want to implement first pulse suppression, because the first pulse usually has more energy than subsequent pulses, causing deeper/wider marks at the beginning of a line. We spent years figuring out how to create fast, high-quality laser marking systems using an infrared Q-switched YAG laser (
http://en.wikipedia.org/wiki/Nd-YAG_laser), which will mark on just about anything.
If anyone is interested, I'll explain more in another post.
-Brian