Problem with laser option
Hi everyone,
I'm having some problems with activation laser. Using 101 firmware, laser is On/Off style, 1W, connected to hotend fan pin (ORIG_FAN_PIN as in Configuration file).
Here's a piece of gcode:
I'm having some problems with activation laser. Using 101 firmware, laser is On/Off style, 1W, connected to hotend fan pin (ORIG_FAN_PIN as in Configuration file).
Here's a piece of gcode:
;start g_code
G28 ; home all axes
M452 ; select laser mode
G21 ; set units to millimeters
G90 ; use absolute coordinates
;general g_code
M106 S0
G0 X0 Y0 Z40 F1000
G0 X-2 Y0 F1000
G0 X0.02 Y0 F1000
M106 S255
G1 X40.01 Y0 F500
M107 S0
I can manually activate laser, but it doesn't activate in print process. What am I doing wrong?
I can manually activate laser, but it doesn't activate in print process. What am I doing wrong?
Comments
Also you need to enable laser with M3 or use the increasing E value solution to activate it on G1 moves.
Another question, about the inkscape plugin. I need to cover big area, not just draw lines with laser. Not sure how to do so with your plugin (well, I'm trying to engrave pcb and need to light big areas).
I think there are some inkscape plugins also creating engraving code. But for that I want to have a more efficient method to send data. Hope to do that in V2 where we also will have hardware PWM for laser.
You can use any pin you want as output, also extruder heaters as long as they are not used by an extruder or you get same problem. If you need PWM you need a pin supporting PWM as well and not conflicting with the timers used internally in firmware.
For inkscape you can use Gcode tools to do that or use laserweb instead inkscape plugin
https://github.com/LaserWeb/LaserWeb4
The laser is on/off and is not working, only starts for a dot at the begining of each gcode. Resulting in a dotted line.
I connected it in heatbed and hotend pin, and it is the same.
I don't know what more to do, really need help.
Measuring with the multimeter, the pin goes for 4v just for one instant on each gcode.