Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision Next revision Both sides next revision | ||
equipment:buildlog_laser_cutter [2014/12/15 23:26] tim |
equipment:buildlog_laser_cutter [2014/12/15 23:36] tim |
||
---|---|---|---|
Line 39: | Line 39: | ||
The laser is controlled by sending commands ("g codes") to it via USB->serial connection. Additionally, the laser control electronics can read files containing these commands from an inserted SD card without the aid of an attached computer. | The laser is controlled by sending commands ("g codes") to it via USB->serial connection. Additionally, the laser control electronics can read files containing these commands from an inserted SD card without the aid of an attached computer. | ||
- | There are several ways to command the laser to fire: | + | There are several ways to command the laser to fire, each is enabled or disabled at compile time, according to the following option in Configuration.h: |
- | - G0 / G1 (default: **on**): enabled by the LASER_FIRE_G1 option in Configuration.h, G0 moves the laser to a specified set of coordinates **without** firing, a G1 command moves the laser to the specified coordinates **while** firing. | + | * LASER_FIRE_G1 (**default: on**): G0 moves the laser to a specified set of coordinates __without__ firing, a G1 command moves the laser to the specified coordinates __while__ firing. |
- | - M3 / M5 (default: **on**): enabled by the LASER_FIRE_SPINDLE option in Configuration.h, M3 turns the laser on in place, without requiring it to move. M5 turns the laser off in place. | + | |
- | - E movements (default: **off**): enabled by the LASER_FIRE_E option in Configuration.h, any movement in the E axis (which represents the extruder when controlling a 3D printer) fires the laser. In this way, the laser can make use of unmodified g code generated for 3D printers. | + | * LASER_FIRE_SPINDLE (**default: on**): M3 turns the laser on in place, without requiring it to move. M5 turns the laser off in place. |
+ | |||
+ | * LASER_FIRE_E (**default: off**): Any movement in the E axis (which represents the extruder when controlling a 3D printer) fires the laser. In this way, the laser can make use of unmodified g code generated for 3D printers. | ||
Each of these firing controls accepts the following parameters, which can also be manipulated without firing or moving the laser by using them with the M649 command: | Each of these firing controls accepts the following parameters, which can also be manipulated without firing or moving the laser by using them with the M649 command: |