Tonokit G-code reconcile to Slic3r FOR a smaller Teacup, called Teacup-ette author: G. Herzog date: Sat 19 Apr 2014 03:18:01 PM CST //Missing Teacup Codes from Slic3r compiles 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 ======================================================== +++++++++++++++++ Must add for Teacup-ette //G20 ; set units to inches (Tonokit always mm) //G21 ; set units to millimeters (Tonokit always mm) //G28 ; used to home X axis at end of run ++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Optional g-code additions per latest Teacup parser G30 ; go home via way point G161 ; Home negative G162 ; Home positive ======================================================== Must add for Teacup-ette ++++++++++++++++++++++++++++++++++++++++++++++++++++++++ (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 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Optional m-codes per lates Teacup parser M0 M2 M3 M6 M102 ? M110 M111 M115 M119 M130 M132 M133 M134 M140 M240 M241 ======================================================== ======================================================== Must be Included parameter codes //Pxxx ; select device (starts with 0 and goes upwards) Configured in a config.h file //Sxxx ; set temperature or other parameter //Fxxx ; filiment feed ======================================================== ======================================================== Summary of all Implemented Codes in Tonokit //------------------- // 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 ======================================================== ======================================================== ======================================================== Summary of all included codes in current Teacup parser ======================================================== [TOTAL OF 12 G-CODES] G0 G1 G4 G20 G21 G28 G30 G90 G91 G92 G161 G162 ======================================================== [TOTAL OF 27 M-CODES] M0 M2 M3 M6 M82 M83 M84 M101 M102 M103 M104 M105 M106 M110 M111 M112 M114 M115 M116 M119 M130 M131 M132 M133 M140 M240 M241 ========================================================