Hi Stewart
I got a little diode laser for my birthday Now I’m trying to set it up in Kiri.
At the moment the power is always set to “S255” (S{power}). What do I have to change to get it right?
LaserTest_Block.kmz (149.5 KB)
Hi Stewart
I got a little diode laser for my birthday Now I’m trying to set it up in Kiri.
At the moment the power is always set to “S255” (S{power}). What do I have to change to get it right?
LaserTest_Block.kmz (149.5 KB)
it really depends on how what your laser controller expects from the gcode. what is the power setting? is there a manual?
No, there is no manual. But I’ve got a working nc-file (its a GRBL controller).
G90
M8
; MaxPower 20
M4 S0
F1200
G0 X124.89 Y175.56 S0
G1 X137.78 S200
G1 Y188.44 S200
G1 X137.78 Y188.44 S200
G1 X124.89 S200
G1 Y175.56 S200
G1 X124.89 Y175.56 S200
M9
M5
M2
here is an annotated version of the code
G90 ; Set absolute positioning
M8 ; Turn on air assist (coolant)
; MaxPower 20 ; Comment. Unclear if this is operational
M4 S0 ; Enable laser (dynamic mode), power off
F1200 ; Set feed rate to 1200 units/min
G0 X124.89 Y175.56 S0 ; Rapid move to starting position, laser off
G1 X137.78 S200 ; Cut to X137.78, laser power 200
G1 Y188.44 S200 ; Cut up to Y188.44, laser power 200
G1 X124.89 S200 ; Cut back to X124.89, laser power 200
G1 Y175.56 S200 ; Cut down to Y175.56, laser power 200
M9 ; Turn off air assist (coolant)
M5 ; Turn off laser
M2 ; End program
Given this, I think you can replace the gcode laser on macro with
S{power}
and the off macro with
S0
M5
and add to the header
M8
M4 S0
and add to the footer
S0
M5
M9
In playing with the laser mode now, it appears to be ignoring the power setting in the output profile, so you may want to hard code that to S200
until I post a fix.