Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
laser [2021/06/19 14:25]
arthur [Supported G-codes]
laser [2021/06/19 15:04] (current)
wolfmanjm [Supported G-codes]
Line 176: Line 176:
 * <kbd>G1</kbd>/<kbd>G2</kbd>/<kbd>G3</kbd> : Move with the laser activated * <kbd>G1</kbd>/<kbd>G2</kbd>/<kbd>G3</kbd> : Move with the laser activated
 * <kbd>S</kbd> : The S parameter sets the current power of the laser, when it is activated, from 0 ( 0% ) to 1 ( 100% ). * <kbd>S</kbd> : The S parameter sets the current power of the laser, when it is activated, from 0 ( 0% ) to 1 ( 100% ).
-* <kbd>M221 Snnn</kbd> globally scales the laser power provided by G0/G1 by nnn percent. So M221 S75 will scale the laser power to 75%.+* <kbd>M221 Snnn</kbd> globally scales the laser power provided by G1 by nnn percent. So M221 S75 will scale the laser power to 75%.
 * <kbd>M221 Rxxx</kbd> : Set the PWM frequency to xxx Hz (Hertz). This specifies frequency, and **not** period, be aware and careful. * <kbd>M221 Rxxx</kbd> : Set the PWM frequency to xxx Hz (Hertz). This specifies frequency, and **not** period, be aware and careful.
 * <kbd>M221 P1 </kbd> : Temporarily disable proportional laser power (as per the <kbd>laser_module_proportional_power</kbd> configuration option, see its description for more details). This is **not** saved by the M500 command. * <kbd>M221 P1 </kbd> : Temporarily disable proportional laser power (as per the <kbd>laser_module_proportional_power</kbd> configuration option, see its description for more details). This is **not** saved by the M500 command.