User Tools

Site Tools


extended_g-code_table

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
extended_g-code_table [2017/11/09 19:38]
Matthew Upp
extended_g-code_table [2020/06/07 04:44]
Matthew Upp [Table]
Line 1: Line 1:
 ~~NOTOC~~ ~~NOTOC~~
-====== Custom G-code Table ======+====== Custom G-code Commands Table ======
 <wrap lo>//Standard Marlin compatible G-codes can be found at the [[http://reprap.org/wiki/G-code|RepRap wiki: G-code]]. \\ <wrap lo>//Standard Marlin compatible G-codes can be found at the [[http://reprap.org/wiki/G-code|RepRap wiki: G-code]]. \\
 Not all standard G-code are supported by the MP Select Mini.//</wrap> \\ Not all standard G-code are supported by the MP Select Mini.//</wrap> \\
 See [[g-code#sending_g-code|Sending G-code]] for more information on how to send the commands below. See [[g-code#sending_g-code|Sending G-code]] for more information on how to send the commands below.
- +{{tablelayout?rowsHeaderSource=Auto}}
- +
 ^ Command                                                                 ^ Description                                          ^ ^ Command                                                                 ^ Description                                          ^
 | [[extended_g-code_table#m550_m551_-_connect_to_wifi|M550]]              | Get/Set SSID                                         | | [[extended_g-code_table#m550_m551_-_connect_to_wifi|M550]]              | Get/Set SSID                                         |
 | [[extended_g-code_table#m550_m551_-_connect_to_wifi|M551]]              | Get/Set Password                                     | | [[extended_g-code_table#m550_m551_-_connect_to_wifi|M551]]              | Get/Set Password                                     |
-| M552                                                                    | Display IP address                                   |+| M552                                                                    | Get/Set IP address                                   
 +| M553                                                                    | Get/Set Netmask                                      | 
 +| M554                                                                    | Get/Set Gateway                                      | 
 +| M555                                                                    | Network control                                      |
 | M555 P1                                                                 | Reset WiFi interface (reboots WiFi module)           | | M555 P1                                                                 | Reset WiFi interface (reboots WiFi module)           |
-| M556                                                                    Display network status                               |+| M556 (maybe M556 P1)                                                    Network status                                       | 
 +| M557                                                                    | Get MacAddress                                       |
 | [[firmware:motion_controller#g-code_-_m560|M560]]                       | Update firmware using update.bin in microSD card     | | [[firmware:motion_controller#g-code_-_m560|M560]]                       | Update firmware using update.bin in microSD card     |
 | [[extended_g-code_table#m561_-_change_thermistor_type|M561]]            | Change thermistor type (Hotend and/or Heat bed)      | | [[extended_g-code_table#m561_-_change_thermistor_type|M561]]            | Change thermistor type (Hotend and/or Heat bed)      |
Line 49: Line 51:
  
 ==== M561 - Change Hotend Thermistor Type ==== ==== M561 - Change Hotend Thermistor Type ====
-<code+=== Default === 
-M561 P0         ;Change to Default or EPCOS 100K +<file gcode change_hotend_thermistor_type_default.gcode> 
-M500            ;Save EEPROM +; G-Code generated by Matthew Upp 
-Reboot printer to complete the process +; Change thermistor type to Default or EPCOS 100K and saves to EEPROM 
-             Or +; Please add a blank line to the end of the file while editing. DokuWiki Code Blocks deletes blank lines at the end of the block but g-code files should end with a single blank line at the end. 
-M561 P1         ;Change to 104GT-2 or 104NT-4-R025H42G (may report as 104GT) +; 
-M500            ;Save EEPROM +M561 P0 ; Change to Default or EPCOS 100K 
-Reboot printer to complete the process +M500 ; Save to EEPROM 
-</code>+Reboot the printer to complete the process 
 +</file> 
 + 
 +=== 104GT-2 === 
 +<file gcode change_hotend_thermistor_type_104gt-2.gcode> 
 +; G-Code generated by Matthew Upp 
 +; Change thermistor type to 104GT-2 or 104NT-4-R025H42G (may report as 104GT) and saves to EEPROM 
 +; Please add a blank line to the end of the file while editing. DokuWiki Code Blocks deletes blank lines at the end of the block but g-code files should end with a single blank line at the end. 
 +;               
 +M561 P1 ;Change to 104GT-2 or 104NT-4-R025H42G (may report as 104GT) 
 +M500 ; Save to EEPROM 
 +
 +Reboot the printer to complete the process 
 +</file>
  
 ==== M561 B - Change Heat Bed Thermistor Type ==== ==== M561 B - Change Heat Bed Thermistor Type ====
Line 82: Line 97:
  
 ===== M562 - Invert Stepper Motor Direction ===== ===== M562 - Invert Stepper Motor Direction =====
 +[[invert_motor_direction|M562 - Invert Stepper Motor Direction]]
 <code> <code>
 M562 E          ;Inverts Extruder motor direction M562 E          ;Inverts Extruder motor direction
Line 90: Line 106:
 Reboot printer to complete the process Reboot printer to complete the process
 </code> </code>
 +
 +
 +==== M562 X ====
 +<file gcode invert_X-axis.gcode>
 +; G-Code generated by Matthew Upp
 +; Invert X-Axis 
 +; for Malyan M200 & MP Select Mini
 +
 +; Lines with only a semicolon are for making line separations only
 +; Please add a blank line to the end of the file while editing. DokuWiki Code Blocks deletes blank lines at the end of the block but g-code files should end with a single blank line at the end.
 +
 +
 +M107 ; turn fan off in case it was already on
 +M106 S245 ; turn fan on to signify start
 +;
 +;
 +M562 X ; invert X-Axis
 +M500 ; save currently loaded settings to EEPROM
 +;
 +;
 +G28 X ; home X to verify the X-axis is inverted
 +G1 X60 F1000 ; Move X-Axis to center of the bed to signify completion
 +M400 ; Wait for current moves to finish
 +M107 ; turn fan off to signify completion
 +M84 ; disable motors
 +</file>
 +
 +
 +==== M562 Y ====
 +<file gcode invert_y-axis.gcode>
 +; G-Code generated by Matthew Upp
 +; Invert Y-Axis 
 +; for Malyan M200 & MP Select Mini
 +
 +; Lines with only a semicolon are for making line separations only
 +; Please add a blank line to the end of the file while editing. DokuWiki Code Blocks deletes blank lines at the end of the block but g-code files should end with a single blank line at the end.
 +
 +
 +M107 ; turn fan off in case it was already on
 +M106 S245 ; turn fan on to signify start
 +
 +;  
 +M562 Y ; Invert Y-Axis
 +M500 ; Save currently loaded settings to EEPROM
 +
 +;
 +G28 Y ; home Y to verify the Y-axis is inverted
 +G1 Y60 F1000 ; Move Y-Axis to center of the bed to signify completion
 +M400 ; Wait for current moves to finish
 +M107 ; turn fan off to signify completion
 +M84 ; disable motors
 +</file>
 +
 +
 +==== M562 Z ====
 +<file gcode invert_z-axis.gcode>
 +; G-Code generated by Matthew Upp
 +; Invert Z-Axis
 +; Possibly helpful if you need to invert the Z-axis after switching to a NEMA 17 motor and lead screw
 +; for Malyan M200 & MP Select Mini
 +
 +; Lines with only a semicolon are for making line separations only
 +; Please add a blank line to the end of the file while editing. DokuWiki Code Blocks deletes blank lines at the end of the block but g-code files should end with a single blank line at the end.
 +
 +
 +M107 ; turn fan off in case it was already on
 +M106 S245 ; turn fan on to signify start
 +
 +;  
 +M562 Z ; Invert Z-Axis
 +M500 ; Save currently loaded settings to EEPROM
 +
 +;
 +G28 Z ; home Z to verify the Z-axis is inverted
 +G1 Z10 F1000 ; Move Z-Axis up 10mm to signify completion
 +M400 ; Wait for current moves to finish
 +M107 ; turn fan off to signify completion
 +M84 ; disable motors
 +</file>
  
 ---- ----
extended_g-code_table.txt · Last modified: 2020/06/07 04:44 by Matthew Upp