--
You received this message because you are subscribed to the Google Groups "Smoothieware Support" group.
To unsubscribe from this group and stop receiving emails from it, send an email to smoothieware-sup...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups "Smoothieware Support" group.
To unsubscribe from this group and stop receiving emails from it, send an email to smoothieware-sup...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
G21 ; All units in mm
; Cut Feedrate 400; Move Feedrate 400; Laser Intensity 70 G28 ; home all
M5
G00 X2.762953 Y240.677863 F400M3 S70G01 X132.762873 Y240.677863 F400G01 X132.762873 Y1.678163 F400G01 X2.762953 Y1.678163 F400G01 X2.762953 Y240.677863 F400G01 X2.762953 Y240.677863 F400M5
G00 X67.763619 Y71.178072 F400M3 S70G02 X32.407879 Y85.822898 I0.000000 J50.000566 F400G02 X17.763053 Y121.178638 I35.355739 J35.355739 F400G02 X32.407510 Y156.533259 I49.998760 J0.000000 F400G02 X67.763619 Y171.178146 I35.356109 J-35.356428 F400G02 X103.118876 Y156.533113 I-0.000000 J-49.998906 F400G02 X117.762774 Y121.178638 I-35.355859 J-35.354475 F400G02 X103.118507 Y85.823044 I-50.001564 J-0.000000 F400G02 X67.763619 Y71.178072 I-35.354888 J35.353184 F400G01 X67.763619 Y71.178072 F400M5
G28G00 X0 Y0 F4000 ; home all# Laser module configurationlaser_module_enable true # Whether to activate the laser module at all. All configuration is ignored if false.laser_module_pin 0.25 # this pin will be PWMed to control the laserlaser_module_max_power 0.8 # this is the maximum duty cycle that will be applied to the laserlaser_module_tickle_power 0.0 # this duty cycle will be used for travel moves to keep the laser active without actually burning
switch.laserfire.enable true #switch.laserfire.output_pin 0.25^ # connect to laser PSU fire (^ = active HIGH, v active LOW)switch.laserfire.output_type digital #switch.laserfire.input_on_command M3 # fire laserswitch.laserfire.input_off_command M5 # laser offI don't know about an Azteeg X5, but with a Smoothieboard you just use one of the Mosfets to control it, it will do on/off and pwm control ( G0 is off, G1 is on, S parameter is power control ).Hello.If you use a K40, you should have a single PWM control pin on the laser PSU.We really need a tutorial for the K40.Cheers.
2014-10-28 9:20 GMT+01:00 ajf <ajf...@gmail.com>:Hi All,I'm trying to convert a cheap-o Chinese K40 laser cutter to run Smoothieware on an Azteeg X5. Motion works well. But looking at the sample config for laser there is only the PWM intensity pin. My PSU also requires laser fire to be triggered (choice of active LOW or HIGH), at least that's how I was running it with Marlin on RAMPS. Marlin would use M3/M5 to turn the laser on/off and set the intensity on G1/G2/G3 moves depending on S value. I know I can config a pin to fire the laser via the switch module, but am I missing something in how Smoothie deals with lasers?Regards,aj
--
Courage et bonne humeur.