Hello,
Here is a post processor for mach3 and laser.
This PP uses the
start cut and
end cut properties to generate the start and stop commands for the laser.
The commands used are M11P1 to replace the M3 (start) and M10P1 to replace the M5 (stop)
Those commands are specific for the laser because they starts/stops the laser at the same time that the axis movement (X Y)
A M11P1 is generated in the Gcode when the Z axis goes bellow Z = 0, but this M11P1 don't start the laser, it only say that the laser must be started when X or Y axis start to move .
A M10P1 is generated when the Z axis go above Z=0
example:
( Made using CamBam -
http://www.cambam.co.uk )
( Sans titre 4/21/2013 3:05:19 PM )
G21 G90 G91.1 G64 G40
G0 Z5.0
( Gravure1 )
G17
S12500
G0 X20.0 Y0.0
G1 F600.0 Z-1.0
M11P1G3 F800.0 X-10.0 Y17.3205 I-20.0 J0.0
(the laser start only when this line is executed)G3 Y-17.3205 I10.0 J-17.3205
G3 X20.0 Y0.0 I10.0 J17.3205
M10P1
G0 Z5.0
M30
To use it in Cambam, you must use a Z move to start/stop the laser
Example:
Clearance plane = 0.01
Stock surface = 0
Target depth = -0.01
Note, for use with holding tabs, use the
Skip Tab style.
++
David