Differences

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

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
supported-g-codes [2019/08/07 00:57]
98.191.200.92 [G codes] Corrected M305
supported-g-codes [2020/04/23 23:16] (current)
wolfmanjm [G codes]
Line 36: Line 36:
 | [[G30]] | Simple Z probe at current XY, reports distance moved down until probe triggers. optional F parameter defines the speed of probing, zprobe.slow_feedrate is used when not supplied | <​kbd>​G30</​kbd>​ <​kbd>​G30 F100</​kbd>​ | | [[G30]] | Simple Z probe at current XY, reports distance moved down until probe triggers. optional F parameter defines the speed of probing, zprobe.slow_feedrate is used when not supplied | <​kbd>​G30</​kbd>​ <​kbd>​G30 F100</​kbd>​ |
 | G31 | Depends on levelling strategy selected, see [[ZProbe]] ​ | <​kbd>​G31</​kbd>​ | | G31 | Depends on levelling strategy selected, see [[ZProbe]] ​ | <​kbd>​G31</​kbd>​ |
-| G32 | Uses Z probe to calibrate delta endstops and arm radius, use R parameter to select only arm radius calibration and E to select only endstop calibration. I to set target precision, J to set probe_radius,​ K to keep current endstop trim settings. ​ In Zgrid module, it starts the grid probing | <​kbd>​G32</​kbd>​ <​kbd>​G32 R</​kbd>​ <​kbd>​G32 E</​kbd>​ <​kbd>​G32 EK</​kbd>​ <​kbd>​G32 I0.02</​kbd>​ |+| G32 | Depends on levelling strategy selected, see [[ZProbe]]. For calibration on delta, uses Z probe to calibrate delta endstops and arm radius, use R parameter to select only arm radius calibration and E to select only endstop calibration. I to set target precision, J to set probe_radius,​ K to keep current endstop trim settings. ​ In Zgrid module, it starts the grid probing | <​kbd>​G32</​kbd>​ <​kbd>​G32 R</​kbd>​ <​kbd>​G32 E</​kbd>​ <​kbd>​G32 EK</​kbd>​ <​kbd>​G32 I0.02</​kbd>​ |
 | G38.2 G38.3 | Standard probe commands implemented as documented [[http://​linuxcnc.org/​docs/​2.6/​html/​gcode/​gcode.html#​sec:​G38-probe|here]] | <​kbd>'​G38.2 Z-10'</​kbd>​| | G38.2 G38.3 | Standard probe commands implemented as documented [[http://​linuxcnc.org/​docs/​2.6/​html/​gcode/​gcode.html#​sec:​G38-probe|here]] | <​kbd>'​G38.2 Z-10'</​kbd>​|
 | G53 | Must be on a line by itself OR the first G code on a line, the directly following G0/G1 will be executed in MCS coordinates | <​kbd>​G53 G0 X0 Y0</​kbd>​ | | G53 | Must be on a line by itself OR the first G code on a line, the directly following G0/G1 will be executed in MCS coordinates | <​kbd>​G53 G0 X0 Y0</​kbd>​ |
Line 55: Line 55:
 | M20 | List SD card files | <​kbd>​M20</​kbd>​ | | M20 | List SD card files | <​kbd>​M20</​kbd>​ |
 | M21 | Initialize the SD card. This does nothing in Smoothie but is kept for compatibility | <​kbd>​M21</​kbd>​ | | M21 | Initialize the SD card. This does nothing in Smoothie but is kept for compatibility | <​kbd>​M21</​kbd>​ |
-| M23 | Select a file | <​kbd>​M23 file.gcode</​kbd>​ |+| M23 | Select a file **NOTE** filename **MUST** be lowercase ​| <​kbd>​M23 file.gcode</​kbd>​|
 | M24 | Start or resume SD card print | <​kbd>​M24</​kbd>​ | | M24 | Start or resume SD card print | <​kbd>​M24</​kbd>​ |
 | M25 | Pause SD card print | <​kbd>​M25</​kbd>​ | | M25 | Pause SD card print | <​kbd>​M25</​kbd>​ |
Line 102: Line 102:
 | M303 | Begin PID auto-tune cycle  E<​hotendid>​ S<​temperature> ​ | <​kbd>​M303 E0 S185</​kbd>​ - Tune extruder - <​kbd>​M303 E1 S100</​kbd>​ - Tune printbed - | | M303 | Begin PID auto-tune cycle  E<​hotendid>​ S<​temperature> ​ | <​kbd>​M303 E0 S185</​kbd>​ - Tune extruder - <​kbd>​M303 E1 S100</​kbd>​ - Tune printbed - |
 | M304 | Abort PID auto-tuning | <​kbd>​M304</​kbd>​ | | M304 | Abort PID auto-tuning | <​kbd>​M304</​kbd>​ |
-| M305 | Set or get parameters for the thermistor. With no optionsprints the raw analgo values and parameters for each thermistor. Give S (thermistor number) to set parameters ​where <​kbd>​B</​kbd>​ is beta, <​kbd>​R</​kbd>​ is r0 and <​kbd>​X</​kbd>​ is t0; <​kbd>​P</​kbd>​ is the ID from the thermistors list (use console command <​kbd>​thermistors</​kbd>​ to get a list). | <​kbd>​M305 ​S0 B4066</​kbd>​ |+| M305 | Set parameters for the thermistor, where <​kbd>​B</​kbd>​ is beta, <​kbd>​R</​kbd>​ is r0 and <​kbd>​X</​kbd>​ is t0; <​kbd>​P</​kbd>​ is the ID from the thermistors list (use console command <​kbd>​thermistors</​kbd>​ to get a list). | <​kbd>​M305 B4066</​kbd>​ |
 | M306 | Set homing offsets based on current position, subtracts current position from homing offset for specified axis | <​kbd>​M306 Z0</​kbd>​ | | M306 | Set homing offsets based on current position, subtracts current position from homing offset for specified axis | <​kbd>​M306 Z0</​kbd>​ |
 | M360 | Scara Morgan: Move to Theta 0 degree position. Adding P0 will save the current arm position as the Theta 0 degree position | <​kbd>​M360</​kbd>​ <​kbd>​M360 P0</​kbd>​ | | M360 | Scara Morgan: Move to Theta 0 degree position. Adding P0 will save the current arm position as the Theta 0 degree position | <​kbd>​M360</​kbd>​ <​kbd>​M360 P0</​kbd>​ |