hello
I found a plugin for inkscape that enables the user from generating a code for laser cutter that can be read by repetier. I drew a square and I generated this simple code:
M452
M3 S255
G90
G21
G0 F1500
G0 X47.5746 Y229.8095
G0 F100.000000
G1 X157.2381 Y229.8095
G1 X157.2381 Y133.0476
G1 X47.5746 Y133.0476
G1 X47.5746 Y229.8095
G0 F1500
G91
G90
M5 S0
G0 X0 Y0
M18
my question is, if I am using marlin with ramps 1.4, how the output will go to laser head to make it on or off ?? if I understand correctly, I will have to deactivate z axis in marlin firmware, but will the on-off signal of the laser head go to the extruder0 output in ramps?
and if this is the case, can I modify in marlin code to make the output is just a pin that goes high for on and low for off? if yes, where I need to modify this into marlin?
many thanks
I found a plugin for inkscape that enables the user from generating a code for laser cutter that can be read by repetier. I drew a square and I generated this simple code:
M452
M3 S255
G90
G21
G0 F1500
G0 X47.5746 Y229.8095
G0 F100.000000
G1 X157.2381 Y229.8095
G1 X157.2381 Y133.0476
G1 X47.5746 Y133.0476
G1 X47.5746 Y229.8095
G0 F1500
G91
G90
M5 S0
G0 X0 Y0
M18
my question is, if I am using marlin with ramps 1.4, how the output will go to laser head to make it on or off ?? if I understand correctly, I will have to deactivate z axis in marlin firmware, but will the on-off signal of the laser head go to the extruder0 output in ramps?
and if this is the case, can I modify in marlin code to make the output is just a pin that goes high for on and low for off? if yes, where I need to modify this into marlin?
many thanks