Tonokit G-code reconcile to Slic3r Teacup author: G. Herzog date: Tue 15 Apr 2014 02:09:37 PM CST //Missing Teacup Codes compared against ported Tonokit G-code set // These need to be adapted for Slic3r Teacup g-code to work. // To be considered... Teacup has accelleration code that may or may not work well // To be considered... Create a Teacup_Config.h file for Tonokit wherein new parameters are included //+++++++++++++++++ //G20 ; set units to inches //G21 ; set units to millimeters (Tonokit always mm) //G28 ; used to home X axis at end of run (M42 not used, general purpose devices use M104 or M106 with P codes) //M101 ; Turn extuder on (forward motion) and/or Forward/undo extruder retraction (M102 not used in Teacup) //M103 : Reverse extract of extruder and/or turn extruder off (stop motion) //M104 ; Accepts P code any heater device //M106 ; Accepts P code any no heater device (M109 not usually used in Teacup -- use M104 M116 instead) //M112 ; Emergency Stop (a possilbe added feature.. useful,but loss of product run>) //M116 ; Wait for temperature to be reached .. Wait for a ready of all slow rising variables //M119 ; Get Endstop Status //M140 ; Possibly heater bed control //Pxxx ; select device (starts with 0 and goes upwards) Configured in a config.h file //Sxxx ; set temperature or other parameter //Fxxx ; filiment feed //+++++++++++++++++ //Implemented Codes //------------------- // G0 -> G1 // G1 - Coordinated Movement X Y Z E // G4 - Dwell S or P // G90 - Use Absolute Coordinates // G91 - Use Relative Coordinates // G92 - Set current position to cordinates give //RepRap M Codes // M104 - Set target temp (in Teacup, this parses P codes to target heating device) // M105 - Read current temp (output to serial port?) (unsure if Teacup supports0 // M109 - Set and Wait for current temp to reach target temp. (redundant in Teacup) //Custom M Codes // M80 - Turn on Power Supply // M81 - Turn off Power Supply // M82 - Set E codes absolute (default) // M83 - Set E codes relative while in Absolute Coordinates (G90) mode // M84 - Disable steppers until next move // M85 - Set inactivity shutdown timer with parameter ////??S. To disable set zero (default) // M86 - If Endstop is Not Activated then Abort Print. Specify X and/or Y // M92 - Set axis_steps_per_unit - same syntax as G92