Extruder + Heizbett Temperaturanzeige immer 0

Folgendes Problem habe ich seit heute:
In Repetier (Version 2.2.2, vorher 2.1.6) wird keine Temperatur mehr für Heizbett + Extruder. Nur 0. Das Heizbett wird aber aufgeheizt. Ich kann nur die Temperatur nicht kontrollieren. Der Extruder heizt auch eine Weile, dann die Fehlermeldung: Sensor + Heizelement entkoppelt. Im Log steht noch: 12:46:25.902 : fatal:Heizung/Sensorfehler - Drucker gestoppt und Heizungen aufgrund dieses Fehlers deaktiviert. Fehler beheben und mit M999 neu starten.
Die Thermistoren sind in Ordnung. Messung bei Raumtemperatur ca. 100KOhm. Auch die Kabel sind o.k.
Dieses Problem trat plötzlich auf, ohne daß ich irgendeine Änderung vorgenommen habe.
Ich hoffe, daß mir jemand einen Hinweis geben kann, wo der Fehler liegen könnte.
Danke und Gruß
Hans

«1

Comments

  • Erst mal im log nachsehen ob firmware temperaturen meldet. Evtl. in Druckereinstellungen den M105 filter deaktivieren. Kann sein das die Abfrage im Host einfach nur deaktiviert wurde.

    Entkoppelt heist nicht zwangsläufig das was defekt ist. Dazu die genaue Fehlermeldung lesen und die Temperaturkurve ansehen. Kann auch sein das die Schwelle für die Meldung einfach nur zu klein eingestellt ist in der Firmware. Oder es ist ein Fehler evtl wackelkontakt. Aber dann gibt es normalerweise eine andere Meldung.
  • Die Firmware meldet keine Temperaturen. Wo finde ich in den Druckereinstellungen den M105 Filter?
  • Druckeinstellungen->Drucker->Überprüfe Extruder & Bett-Temperatur aktivieren.
    Direkt darunter ist noch der Filter der die Einträge aus dem log versteckt.
  • Einstellungen vorgenommen, leider keine Änderung. Es kommt nach wie vor diese Fehlermeldung:
    Ein fataler Fehler im Drucker veranlasste den Drucker alles zu stoppen bis der Fehler behoben ist. Nachricht des Druckers: fatal: Heater decoupled during rising- Printer stopped and heaters disabled due to this error. Fix error and restart.

    Was kann ich in der Firmware ändern, um diesen Fehler auszuschließen?

    Freundlichen Gruß
    Hans
  • Ja wenn die Firmware stoppt gibt es keine Temperaturen, da kann man einstellen was man will am host. Bis zu dem Fehler sollten sie aber sichtbar sein.

    Das Grundproblem ist aber bei der Firmware und musst da gelöst werden. Teste ob es das Bett oder der Extruder ist indem nur einen von beiden heizt. Checke die Temperaturkurve und vergleiche das verhalten mit den in der Firmware eingestellten timings. Entweder da ist was kaputt und du bekommst daher die Meldung oder die Firmware ist zu kritisch eingestellt was die Zeit bis zur Temperaturerhöhung oder den Zielbereich angeht und muss da nachkorrigiert werden. 


  • Guten Morgen,
    das Bett heizt, aber ohne Temp.kontrolle. Wenn ich den Extruder einschalte, kommt nach ca. 10 sek. diese Fehlermeldung und die Heizungen werden abgeschaltet. Die Log sieht so aus:
    10:40:00.085 : N26 M140 S60*103
    10:40:00.725 : N27 M104 T0 S210*23
    10:40:13.834 : DebugLevel:14
    10:40:13.850 : Error:One heater seems decoupled from thermistor - disabling all for safety!
    10:40:13.850 : Error:Temp. raised to slow. Rise = 0.00 after 13078 ms
    10:40:13.850 : RequestStop:
    10:40:18.959 : fatal:Heater decoupled during rising - Printer stopped and heaters disabled due to this error. Fix error and restart with M999.
    10:40:18.959 : Disabling all heaters due to detected sensor defect.
    10:40:18.959 : DebugLevel:14
    10:40:18.959 : RequestStop:
    10:40:23.943 : fatal:Heater/sensor error - Printer stopped and heaters disabled due to this error. Fix error and restart with M999.
     
     Nach Restart mit M999 hat sich nichts geändert. Wo muß ich Einstellungen ändern, da komm ich nicht weiter.
    Freundlichen Gruß
    Hans

  • Extruder und Bett gleichzeitig zu starten ist jetzt für den Test nicht optimal. Es ist unklar wer von beiden das Problem hat.

    10:40:13.850 : Error:One heater seems decoupled from thermistor - disabling all for safety!
    10:40:13.850 : Error:Temp. raised to slow. Rise = 0.00 after 13078 ms

    Wichtig ist obige aussage. Firmware hat 13 Sekunden lang eins von beiden geheizt und die Temperatur hat sich 0.00 verändert. Das ist also korrekt hier den Fehler zu triggern. Entweder du hast den sensor auf den falschen sensor pin - dann bekommst du schon vorher falsche aktuelle temperaturen (oder er ist defekt, kabel gebrochen, kurzschluß sensor kabel) - oder du hast keinen Strom am Drucker (kann de rKopf sich bewegen?) oder die falsche ausgangsleitung für Heizung oder 2 Funktionen nutzen die Ausgangsleitung. Etwas davon denke ich ist bei dir falsch.
  • ok danke, ich werde diese Punkte nochmal abarbeiten und melde mich wieder.
  • Das Problem ist eindeutig beim Extruder. Das Bett heizt ohne Unterbrechung. Wenn ich den Extruder dann einschalte, ist nach 13 Sek. Ende. Wenn ich nur den Extruder (ohne Bett) einschalte, ist auch nach 13 Sek. Ende. Habe alle Kabel erneuert und auf Durchgang geprüft. Die Thermistoren sind auch i.O., Messung ca. 100kOhm. Die Heizpatrone heizt auch. Kein Kabelbruch, kein Kurzschluß. Der Drucker hat Strom. Kann die Motoren bewegen.
    Gibt es in der Firmware irgendwelche Einstellungen, die ich noch vornehmen kann? Sonst weiß ich auch nicht mehr weiter.
  • Welche Temperatur zeigt er an vor dem heizen? Es kann sein das der Thermistor nicht auf dem Pin ist der Konfiguriert ist oder der pin nicht mehr funktioniert. In beiden Fällen gibt es eine konstant falsche Temperatur was dann auch dazu führt das sie nicht hoch geht. Als ultimativer test kann man das Kabel abziehen worauf sich die Temperatur ändern sollte wenn er sie zuvor wargenommen hat. Wenn nichts passiert einfach auf die anderen Thermistor Sockel aufsetzen und sehen ob eine sinnvolle Temperatur erscheint.
  • Er zeigt immer vor dem Heizen Extruder 0.0°C/Aus, Druckbett 0.0°C/Aus. Nach dem Einschalten Extruder 0.0°C/200°C, Druckbett 0.0°C/60°C. Habe den Extr.Thermistor auf PIN2 gesteckt und in Config.h entsprechend geändert. Trotzdem keine Änderung. Temp.anzeige immer 0.0°C.
  • Interessant wäre was Du für eine Hardware und welche Firmware verwendest.
    Zum thema Heizpatrone : ich mal eine die erst ab ner gewissen temperatur eine Unterbrechung gezeigt hat.
    von raumtemperatur weg hat sie geheizt und dann auf einmal nicht mehr.Hab damals ewig gesucht.
    Dubios ist eigentlich nur , dass du keine Temperaturanzeigen hast.
    Wenn also die thermistoren ok sind sollte (falls deine Hardware ein display hat) zumindest nach dem Einschalten dort Raumtemperatur angezeigt werden.
    Alles andere deutet auf nen defekt am Mainboard hin
  • Also Hardware ist Arduino Mega + Ramps 1.4 + 4 Pololu A4988. Firmware: Repetier 1.04
    Daß nicht mal die Raumtemperatur angezeigt wird, ist schon seltsam. Habe inzwischen auch mal den Ramps ausgetauscht. Keine Änderung.
  • Auf dem Ramps ist ja nichts entscheidendes für die Temperaturauswertung ausser dem 4,7KiloOhm widerstand nach +5V.
    Wenn dann solltest Du mal den Mega tauschen
  • Komisch ist aber auch das das Bett von dem du sagst das es Funktioniert ebenfalls 0 Grad anzeigt. Normal sollten beide vom start weg Raumtemperatur anzeigen. Was hast du denn eingetragen als Pin und Sensortyp?
  • Nachdem das Bett ja ne wesentlich längere decouple Zeit hat als der Extruder ist es vermutlich nur nicht aufgefallen weil der fatale Fehler ja durch den Extruder getriggert wurde.
    Hab leider kein Mega / Ramps mehr liegen zum testen ,das mit 0 Grad Anzeige ist schon merkwürdig.

    kannst Du mal deine Configuration.h posten?
  • Meine config.h Datei:
    #ifndef CONFIGURATION_H
    #define CONFIGURATION_H

    /* Some words on units:

    From 0.80 onwards the units used are unified for easier configuration, watch out when transfering from older configs!

    Speed is in mm/s
    Acceleration in mm/s^2
    Temperature is in degrees celsius


    ##########################################################################################
    ##                                        IMPORTANT                                     ##
    ##########################################################################################

    For easy configuration, the default settings enable parameter storage in EEPROM.
    This means, after the first upload many variables can only be changed using the special
    M commands as described in the documentation. Changing these values in the configuration.h
    file has no effect. Parameters overriden by EEPROM settings are calibartion values, extruder
    values except thermistor tables and some other parameter likely to change during usage
    like advance steps or ops mode.
    To override EEPROM settings with config settings, set EEPROM_MODE 0

    */


    // BASIC SETTINGS: select your board type, thermistor type, axis scaling, and endstop configuration

    /** Number of extruders. Maximum 6 extruders. */
    #define NUM_EXTRUDER 1  // -----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

    //// The following define selects which electronics board you have. Please choose the one that matches your setup
    // Gen3 PLUS for RepRap Motherboard V1.2 = 21
    // MEGA/RAMPS up to 1.2       = 3
    // RAMPS 1.3/RAMPS 1.4        = 33
    // Azteeg X3                  = 34
    // Azteeg X3 Pro              = 35
    // Ultimaker Shield 1.5.7     = 37
    // Gen6                       = 5
    // Gen6 deluxe                = 51
    // Sanguinololu up to 1.1     = 6
    // Sanguinololu 1.2 and above = 62
    // Melzi board                = 63  // Define REPRAPPRO_HUXLEY if you have one for correct HEATER_1_PIN assignment!
    // Azteeg X1                  = 65
    // Gen7 1.1 till 1.3.x        = 7
    // Gen7 1.4.1 and later       = 71
    // Sethi 3D_1                 = 72
    // Teensylu (at90usb)         = 8 // requires Teensyduino
    // Printrboard (at90usb)      = 9 // requires Teensyduino
    // Foltyn 3D Master           = 12
    // MegaTronics 1.0            = 70
    // Megatronics 2.0            = 701
    // Megatronics 3.0            = 703 // Thermistors predefined not thermocouples
    // Minitronics 1.0            = 702
    // RUMBA                      = 80  // Get it from reprapdiscount
    // FELIXprinters              = 101
    // Rambo                      = 301
    // PiBot for Repetier V1.0-1.3= 314
    // PiBot for Repetier V1.4    = 315
    // Sanguish Beta              = 501
    // Unique One rev. A          = 88
    // User layout defined in userpins.h = 999

    #define MOTHERBOARD 33

    #include "pins.h"

    // Override pin definions from pins.h
    //#define FAN_PIN   4  // Extruder 2 uses the default fan output, so move to an other pin
    //#define EXTERNALSERIAL  use Arduino serial library instead of build in. Requires more ram, has only 63 byte input buffer.

    // Uncomment the following line if you are using arduino compatible firmware made for Arduino version earlier then 1.0
    // If it is incompatible you will get compiler errors about write functions not beeing compatible!
    //#define COMPAT_PRE1

    /* Define the type of axis movements needed for your printer. The typical case
    is a full cartesian system where x, y and z moves are handled by separate motors.

    0 = full cartesian system, xyz have seperate motors.
    1 = z axis + xy H-gantry (x_motor = x+y, y_motor = x-y)
    2 = z axis + xy H-gantry (x_motor = x+y, y_motor = y-x)
    3 = Delta printers (Rostock, Kossel, RostockMax, Cerberus, etc)
    4 = Tuga printer (Scott-Russell mechanism)
    5 = Bipod system (not implemented)
    Cases 1 and 2 cover all needed xy H gantry systems. If you get results mirrored etc. you can swap motor connections for x and y.
    If a motor turns in the wrong direction change INVERT_X_DIR or INVERT_Y_DIR.
    */
    #define DRIVE_SYSTEM 0

    // ##########################################################################################
    // ##                               Calibration                                            ##
    // ##########################################################################################

    /** Drive settings for the Delta printers
    */
    #if DRIVE_SYSTEM==3
        // ***************************************************
        // *** These parameter are only for Delta printers ***
        // ***************************************************

    /** \brief Delta drive type: 0 - belts and pulleys, 1 - filament drive */
    #define DELTA_DRIVE_TYPE 0

    #if DELTA_DRIVE_TYPE == 0
    /** \brief Pitch in mm of drive belt. GT2 = 2mm */
    #define BELT_PITCH 2
    /** \brief Number of teeth on X, Y and Z tower pulleys */
    #define PULLEY_TEETH 20
    #define PULLEY_CIRCUMFERENCE (BELT_PITCH * PULLEY_TEETH)
    #elif DELTA_DRIVE_TYPE == 1
    /** \brief Filament pulley diameter in milimeters */
    #define PULLEY_DIAMETER 10
    #define PULLEY_CIRCUMFERENCE (PULLEY_DIAMETER * 3.1415927)

    /** \brief Steps per rotation of stepper motor */
    #define STEPS_PER_ROTATION 200

    /** \brief Micro stepping rate of X, Y and Y tower stepper drivers */
    #define MICRO_STEPS 16

    // Calculations
    #define AXIS_STEPS_PER_MM ((float)(MICRO_STEPS * STEPS_PER_ROTATION) / PULLEY_CIRCUMFERENCE)
    #define XAXIS_STEPS_PER_MM AXIS_STEPS_PER_MM 
    #define YAXIS_STEPS_PER_MM AXIS_STEPS_PER_MM 
    #define ZAXIS_STEPS_PER_MM AXIS_STEPS_PER_MM
    // *******************************************************
    // *** These parameter are for all other printer types ***
    // *******************************************************

    /** Drive settings for printers with cartesian drive systems */
    /** \brief Number of steps for a 1mm move in x direction.
    For xy gantry use 2*belt moved!
    Overridden if EEPROM activated. */
    #define XAXIS_STEPS_PER_MM 25.2
    /** \brief Number of steps for a 1mm move in y direction.
    For xy gantry use 2*belt moved!
    Overridden if EEPROM activated.*/
    #define YAXIS_STEPS_PER_MM 49.2
    /** \brief Number of steps for a 1mm move in z direction  Overridden if EEPROM activated.*/
    #define ZAXIS_STEPS_PER_MM 2000

    // ##########################################################################################
    // ##                           Extruder configuration                                     ##
    // ##########################################################################################

    // for each extruder, fan will stay on until extruder temperature is below this value
    #define EXTRUDER_FAN_COOL_TEMP 50

    #define EXT0_X_OFFSET 0
    #define EXT0_Y_OFFSET 0
    // for skeinforge 40 and later, steps to pull the plasic 1 mm inside the extruder, not out.  Overridden if EEPROM activated.
    #define EXT0_STEPS_PER_MM 130
    // What type of sensor is used?
    // 1 is 100k thermistor (Epcos B57560G0107F000 - RepRap-Fab.org and many other)
    // 2 is 200k thermistor
    // 3 is mendel-parts thermistor (EPCOS G550)
    // 4 is 10k thermistor
    // 5 is userdefined thermistor table 0  //100k Honeywell 135-104LAG-J01
    // 6 is userdefined thermistor table 1  //epcos B57560G104F
    // 7 is userdefined thermistor table 2  //ATC Semitec 104GT-2 100k
    // 8 is ATC Semitec 104GT-2
    // 50 is userdefined thermistor table 0 for PTC thermistors
    // 51 is userdefined thermistor table 0 for PTC thermistors
    // 52 is userdefined thermistor table 0 for PTC thermistors
    // 60 is AD8494, AD8495, AD8496 or AD8497 (5mV/degC and 1/4 the price of AD595 but only MSOT_08 package)
    // 97 Generic thermistor table 1
    // 98 Generic thermistor table 2
    // 99 Generic thermistor table 3
    // 100 is AD595
    // 101 is MAX6675
    // 102 is MAX31855
    #define EXT0_TEMPSENSOR_TYPE 5
    // Analog input pin for reading temperatures or pin enabling SS for MAX6675
    #define EXT0_TEMPSENSOR_PIN TEMP_1_PIN
    // Which pin enables the heater
    #define EXT0_HEATER_PIN HEATER_0_PIN
    #define EXT0_STEP_PIN E0_STEP_PIN
    #define EXT0_DIR_PIN E0_DIR_PIN
    // set to false/true for normal / inverse direction
    #define EXT0_INVERSE true
    #define EXT0_ENABLE_PIN E0_ENABLE_PIN
    // For Inverting Stepper Enable Pins (Active Low) use 0, Non Inverting (Active High) use 1
    #define EXT0_ENABLE_ON false
    // The following speed settings are for skeinforge 40+ where e is the
    // length of filament pulled inside the heater. For repsnap or older
    // skeinforge use higher values.
    //  Overridden if EEPROM activated.
    #define EXT0_MAX_FEEDRATE 12
    // Feedrate from halted extruder in mm/s
    //  Overridden if EEPROM activated.
    #define EXT0_MAX_START_FEEDRATE 10
    // Acceleration in mm/s^2
    //  Overridden if EEPROM activated.
    #define EXT0_MAX_ACCELERATION 1000
    /** Type of heat manager for this extruder.
    - 0 = Simply switch on/off if temperature is reached. Works always.
    - 1 = PID Temperature control. Is better but needs good PID values. Defaults are a good start for most extruder.
    - 3 = Dead-time control. PID_P becomes dead-time in seconds.
     Overridden if EEPROM activated.
    */
    #define EXT0_HEAT_MANAGER 1
    /** Wait x seconds, after reaching target temperature. Only used for M109.  Overridden if EEPROM activated. */
    #define EXT0_WATCHPERIOD 1

    /** \brief The maximum value, I-gain can contribute to the output.

    A good value is slightly higher then the output needed for your temperature.
    Values for starts:
    130 => PLA for temperatures from 170-180 deg C
    180 => ABS for temperatures around 240 deg C

    The precise values may differ for different nozzle/resistor combination.
     Overridden if EEPROM activated.
    */
    #define EXT0_PID_INTEGRAL_DRIVE_MAX 255
    /** \brief lower value for integral part

    The I state should converge to the exact heater output needed for the target temperature.
    To prevent a long deviation from the target zone, this value limits the lower value.
    A good start is 30 lower then the optimal value. You need to leave room for cooling.
     Overridden if EEPROM activated.
    */
    #define EXT0_PID_INTEGRAL_DRIVE_MIN 40
    /** P-gain.  Overridden if EEPROM activated. */
    #define EXT0_PID_P   24
    /** I-gain. Overridden if EEPROM activated.
    */
    #define EXT0_PID_I   0.88
    /** Dgain.  Overridden if EEPROM activated.*/
    #define EXT0_PID_D 80
    // maximum time the heater is can be switched on. Max = 255.  Overridden if EEPROM activated.
    #define EXT0_PID_MAX 255
    /** \brief Faktor for the advance algorithm. 0 disables the algorithm.  Overridden if EEPROM activated.
    K is the factor for the quadratic term, which is normally disabled in newer versions. If you want to use
    the quadratic factor make sure ENABLE_QUADRATIC_ADVANCE is defined.
    L is the linear factor and seems to be working better then the quadratic dependency.
    */
    #define EXT0_ADVANCE_K 0.0f
    #define EXT0_ADVANCE_L 0.0f
    /* Motor steps to remove backlash for advance alorithm. These are the steps
    needed to move the motor cog in reverse direction until it hits the driving
    cog. Direct drive extruder need 0. */
    #define EXT0_ADVANCE_BACKLASH_STEPS 0
    /** \brief Temperature to retract filament when extruder is heating up. Overridden if EEPROM activated.
    */
    #define EXT0_WAIT_RETRACT_TEMP      150
    /** \brief Units (mm/inches) to retract filament when extruder is heating up. Overridden if EEPROM activated. Set
    to 0 to disable.
    */
    #define EXT0_WAIT_RETRACT_UNITS     0

    /** You can run any gcode command on extruder deselect/select. Seperate multiple commands with a new line \n.
    That way you can execute some mechanical components needed for extruder selection or retract filament or whatever you need.
    The codes are only executed for multiple extruder when changing the extruder. */
    #define EXT0_SELECT_COMMANDS "M117 Extruder 1"
    #define EXT0_DESELECT_COMMANDS ""
    /** The extruder cooler is a fan to cool the extruder when it is heating. If you turn the etxruder on, the fan goes on. */
    #define EXT0_EXTRUDER_COOLER_PIN 1
    /** PWM speed for the cooler fan. 0=off 255=full speed */
    #define EXT0_EXTRUDER_COOLER_SPEED 255


    // =========================== Configuration for second extruder ========================
    #define EXT1_X_OFFSET 0
    #define EXT1_Y_OFFSET 0
    // for skeinforge 40 and later, steps to pull the plasic 1 mm inside the extruder, not out.  Overridden if EEPROM activated.
    #define EXT1_STEPS_PER_MM 130
    // What type of sensor is used?
    // 1 is 100k thermistor (Epcos B57560G0107F000 - RepRap-Fab.org and many other)
    // 2 is 200k thermistor
    // 3 is mendel-parts thermistor (EPCOS G550)
    // 4 is 10k thermistor
    // 5 is userdefined thermistor table 0  //100k Honeywell 135-104LAG-J01
    // 6 is userdefined thermistor table 1  //epcos B57560G104F
    // 7 is userdefined thermistor table 2  //ATC Semitec 104GT-2 100k
    // 8 is ATC Semitec 104GT-2
    // 50 is userdefined thermistor table 0 for PTC thermistors
    // 51 is userdefined thermistor table 0 for PTC thermistors
    // 52 is userdefined thermistor table 0 for PTC thermistors
    // 60 is AD8494, AD8495, AD8496 or AD8497 (5mV/degC and 1/4 the price of AD595 but only MSOT_08 package)
    // 97 Generic thermistor table 1
    // 98 Generic thermistor table 2
    // 99 Generic thermistor table 3
    // 100 is AD595
    // 101 is MAX6675
    #define EXT1_TEMPSENSOR_TYPE 5
    // Analog input pin for reading temperatures or pin enabling SS for MAX6675
    #define EXT1_TEMPSENSOR_PIN TEMP_1_PIN
    // Which pin enables the heater
    #define EXT1_HEATER_PIN HEATER_1_PIN
    #define EXT1_STEP_PIN E1_STEP_PIN
    #define EXT1_DIR_PIN E1_DIR_PIN
    // set to false/true for normal/inverse direction
    #define EXT1_INVERSE false
    #define EXT1_ENABLE_PIN E1_ENABLE_PIN
    // For Inverting Stepper Enable Pins (Active Low) use 0, Non Inverting (Active High) use 1
    #define EXT1_ENABLE_ON false
    // The following speed settings are for skeinforge 40+ where e is the
    // length of filament pulled inside the heater. For repsnap or older
    // skeinforge use heigher values.
    //  Overridden if EEPROM activated.
    #define EXT1_MAX_FEEDRATE 12
    // Feedrate from halted extruder in mm/s
    //  Overridden if EEPROM activated.
    #define EXT1_MAX_START_FEEDRATE 10
    // Acceleration in mm/s^2
    //  Overridden if EEPROM activated.
    #define EXT1_MAX_ACCELERATION 1000
    /** Type of heat manager for this extruder.
    - 0 = Simply switch on/off if temperature is reached. Works always.
    - 1 = PID Temperature control. Is better but needs good PID values. Defaults are a good start for most extruder.
     Overridden if EEPROM activated.
    */
    #define EXT1_HEAT_MANAGER 1
    /** Wait x seconds, after reaching target temperature. Only used for M109.  Overridden if EEPROM activated. */
    #define EXT1_WATCHPERIOD 1

    /** \brief The maximum value, I-gain can contribute to the output.

    A good value is slightly higher then the output needed for your temperature.
    Values for starts:
    130 => PLA for temperatures from 170-180 deg C
    180 => ABS for temperatures around 240 deg C

    The precise values may differ for different nozzle/resistor combination.
     Overridden if EEPROM activated.
    */
    #define EXT1_PID_INTEGRAL_DRIVE_MAX 255
    /** \brief lower value for integral part

    The I state should converge to the exact heater output needed for the target temperature.
    To prevent a long deviation from the target zone, this value limits the lower value.
    A good start is 30 lower then the optimal value. You need to leave room for cooling.
     Overridden if EEPROM activated.
    */
    #define EXT1_PID_INTEGRAL_DRIVE_MIN 40
    /** P-gain.  Overridden if EEPROM activated. */
    #define EXT1_PID_P   24
    /** I-gain.  Overridden if EEPROM activated.
    */
    #define EXT1_PID_I   0.88
    /** D-gain.  Overridden if EEPROM activated.*/
    #define EXT1_PID_D 80
    // maximum time the heater is can be switched on. Max = 255.  Overridden if EEPROM activated.
    #define EXT1_PID_MAX 255
    /** \brief Faktor for the advance algorithm. 0 disables the algorithm.  Overridden if EEPROM activated.
    K is the factor for the quadratic term, which is normally disabled in newer versions. If you want to use
    the quadratic factor make sure ENABLE_QUADRATIC_ADVANCE is defined.
    L is the linear factor and seems to be working better then the quadratic dependency.
    */
    #define EXT1_ADVANCE_K 0.0f
    #define EXT1_ADVANCE_L 0.0f
    /* Motor steps to remove backlash for advance alorithm. These are the steps
    needed to move the motor cog in reverse direction until it hits the driving
    cog. Direct drive extruder need 0. */
    #define EXT1_ADVANCE_BACKLASH_STEPS 0

    #define EXT1_WAIT_RETRACT_TEMP  150
    #define EXT1_WAIT_RETRACT_UNITS 0
    #define EXT1_SELECT_COMMANDS "M117 Extruder 2"
    #define EXT1_DESELECT_COMMANDS ""
    /** The extruder cooler is a fan to cool the extruder when it is heating. If you turn the etxruder on, the fan goes on. */
    #define EXT1_EXTRUDER_COOLER_PIN 1
    /** PWM speed for the cooler fan. 0=off 255=full speed */
    #define EXT1_EXTRUDER_COOLER_SPEED 255

    /** If enabled you can select the distance your filament gets retracted during a
    M140 command, after a given temperature is reached. */
    #define RETRACT_DURING_HEATUP true

    /** PID control only works target temperature +/- PID_CONTROL_RANGE.
    If you get much overshoot at the first temperature set, because the heater is going full power too long, you
    need to increase this value. For one 6.8 Ohm heater 10 is ok. With two 6.8 Ohm heater use 15.
    */
    #define PID_CONTROL_RANGE 20

    /** Prevent extrusions longer then x mm for one command. This is especially important if you abort a print. Then the
    extrusion poistion might be at any value like 23344. If you then have an G1 E-2 it will roll back 23 meter! */
    #define EXTRUDE_MAXLENGTH 150
    /** Skip wait, if the extruder temperature is already within x degrees. Only fixed numbers, 0 = off */
    #define SKIP_M109_IF_WITHIN 2

    /** \brief Set PID scaling

    PID values assume a usable range from 0-255. This can be further limited to EXT0_PID_MAX by to methods.
    Set the value to 0: Normal computation, just clip output to EXT0_PID_MAX if computed value is too high.
    Set value to 1: Scale PID by EXT0_PID_MAX/256 and then clip to EXT0_PID_MAX.
    If your EXT0_PID_MAX is low, you should prefer the second method.
    */
    #define SCALE_PID_TO_MAX 0


    #define HEATER_PWM_SPEED 1 // How fast ist pwm signal 0 = 15.25Hz, 1 = 30.51Hz, 2 = 61.03Hz, 3 = 122.06Hz

    /** Temperature range for target temperature to hold in M109 command. 5 means +/-5 degC

    Uncomment define to force the temperature into the range for given watchperiod.
    */
    //#define TEMP_HYSTERESIS 5

    /** Userdefined thermistor table

    There are many different thermistors, which can be combined with different resistors. This result
    in unpredictable number of tables. As a resolution, the user can define one table here, that can
    be used as type 5 for thermister type in extruder/heated bed definition. Make sure, the number of entries
    matches the value in NUM_TEMPS_USERTHERMISTOR0. If you span definition over multiple lines, make sure to end
    each line, except the last, with a backslash. The table format is {{adc1,temp1},{adc2,temp2}...} with
    increasing adc values. For more informations, read

    If you have a sprinter temperature table, you have to multiply the first value with 4 and the second with 8.
    This firmware works with increased precision, so the value reads go from 0 to 4095 and the temperature is
    temperature*8.

    If you have a PTC thermistor instead of a NTC thermistor, keep the adc values increasing and use themistor types 50-52 instead of 5-7!
    */

    //100k Honeywell 135-104LAG-J01
    #define NUM_TEMPS_USERTHERMISTOR0 55
    #define USER_THERMISTORTABLE0  {\
       {46*4, 270*8},{50*4, 265*8},{54*4, 260*8},{58*4, 255*8},{62*4, 250*8},{67*4, 245*8},{72*4, 240*8},{79*4, 235*8},{85*4, 230*8},\
       {91*4, 225*8},{99*4, 220*8},{107*4, 215*8},{116*4, 210*8},{126*4, 205*8},{136*4, 200*8},{149*4, 195*8},{160*4, 190*8},\
       {175*4, 185*8},{191*4, 180*8},{209*4, 175*8},{224*4, 170*8},{246*4, 165*8},{267*4, 160*8},{293*4, 155*8},{316*4, 150*8},\
       {340*4, 145*8},{364*4, 140*8},{396*4, 135*8},{425*4, 130*8},{460*4, 125*8},{489*4, 120*8},{526*4, 115*8},{558*4, 110*8},\
       {591*4, 105*8},{628*4, 100*8},{660*4, 95*8},{696*4, 90*8},{733*4, 85*8},{761*4, 80*8},{794*4, 75*8},{819*4, 70*8},{847*4, 65*8},\
       {870*4, 60*8},{892*4, 55*8},{911*4, 50*8},{929*4, 45*8},{944*4, 40*8},{959*4, 35*8},{971*4, 30*8},{981*4, 25*8},{989*4, 20*8},\
       {994*4, 15*8},{1001*4, 10*8},{1005*4, 5*8},{1021*4, 0*8}     }

    // B57560G104F
    #define NUM_TEMPS_USERTHERMISTOR1 61
    #define USER_THERMISTORTABLE1  {\ 
      {23*4, 300*8},{25*4, 295*8},{27*4, 290*8},{28*4, 285*8},{31*4, 280*8},{33*4, 275*8},{35*4, 270*8},{38*4, 265*8},{41*4, 260*8},{44*4, 255*8},\
      {48*4, 250*8},{52*4, 245*8},{56*4, 240*8},{61*4, 235*8},{66*4, 230*8},{71*4, 225*8},{78*4, 220*8},{84*4, 215*8},{92*4, 210*8},{100*4, 205*8},\
      {109*4, 200*8},{120*4, 195*8},{131*4, 190*8},{143*4, 185*8},{156*4, 180*8},{171*4, 175*8},{187*4, 170*8},{205*4, 165*8},{224*4, 160*8},\
      {245*4, 155*8},{268*4, 150*8},{293*4, 145*8},{320*4, 140*8},{348*4, 135*8},{379*4, 130*8},{411*4, 125*8},{445*4, 120*8},{480*4, 115*8},\
      {516*4, 110*8},{553*4, 105*8},{591*4, 100*8},{628*4, 95*8},{665*4, 90*8},{702*4, 85*8},{737*4, 80*8},{770*4, 75*8},{801*4, 70*8},{830*4, 65*8},\
      {857*4, 60*8},{881*4, 55*8},{903*4, 50*8},{922*4, 45*8},{939*4, 40*8},{954*4, 35*8},{966*4, 30*8},{977*4, 25*8},{985*4, 20*8},{993*4, 15*8},\
      {999*4, 10*8},{1004*4, 5*8},{1008*4, 0*8}     }

    // ATC Semitec 104GT-2
    #define NUM_TEMPS_USERTHERMISTOR2 61
    #define USER_THERMISTORTABLE2  {\ 
      {1*4, 713*8},{18*4, 316*8},{35*4, 266*8},{52*4, 239*8},{69*4, 221*8},{86*4, 208*8},{103*4, 197*8},{120*4, 188*8},{137*4, 181*8},\
      {154*4, 174*8},{171*4, 169*8},{188*4, 163*8},{205*4, 159*8},{222*4, 154*8},{239*4, 150*8},{256*4, 147*8},{273*4, 143*8},{290*4, 140*8},\
      {307*4, 136*8},{324*4, 133*8},{341*4, 130*8},{358*4, 128*8},{375*4, 125*8},{392*4, 122*8},{409*4, 120*8},{426*4, 115*8},{460*4, 112*8},\
      {477*4, 110*8},{494*4, 108*8},{511*4, 106*8},{528*4, 103*8},{545*4, 101*8},{562*4, 99*8},{579*4, 97*8},{596*4, 95*8},{613*4, 92*8},\
      {630*4, 90*8},{647*4, 88*8},{664*4, 86*8},{681*4, 84*8},{698*4, 81*8},{715*4, 79*8},{732*4, 77*8},{749*4, 75*8},{766*4, 72*8},\
      {783*4, 70*8},{800*4, 67*8},{817*4, 64*8},{834*4, 61*8},{851*4, 58*8},{868*4, 55*8},{885*4, 52*8},{902*4, 48*8},{936*4, 40*8},\
      {953*4, 34*8},{970*4, 28*8},{987*4, 20*8},{1004*4, 8*8},{1021*4, 0*8}    }


    /** If defined, creates a thermistor table at startup.

    If you don't feel like computing the table on your own, you can use this generic method. It is
    a simple approximation which may be not as accurate as a good table computed from the reference
    values in the datasheet. You can increase precision if you use a temperature/resistance for
    R0/T0, which is near your operating temperature. This will reduce precision for lower temperatures,
    which are not realy important. The resistors must fit the following schematic:
    VREF ---- R2 ---+--- Termistor ---+-- GND
                    |                 |
                    +------ R1 -------+
                    |                 |
                    +---- Capacitor --+
                    |
                    V measured

    If you don't have R1, set it to 0.
    The capacitor is for reducing noise from long thermistor cable. If you don't have one, it's OK.

    If you need the generic table, uncomment the following define.
    */
    //#define USE_GENERIC_THERMISTORTABLE_1

    /* Some examples for different thermistors:

    EPCOS B57560G104+ : R0 = 100000  T0 = 25  Beta = 4036
    EPCOS 100K Thermistor (B57560G1104F) :  R0 = 100000  T0 = 25  Beta = 4092
    ATC Semitec 104GT-2 : R0 = 100000  T0 = 25  Beta = 4267
    Honeywell 100K Thermistor (135-104LAG-J01)  : R0 = 100000  T0 = 25  Beta = 3974

    */

    /** Reference Temperature */
    #define GENERIC_THERM1_T0 25
    /** Resistance at reference temperature */
    #define GENERIC_THERM1_R0 100000
    /** Beta value of thermistor

    You can use the beta from the datasheet or compute it yourself.
    */
    #define GENERIC_THERM1_BETA 4036
    /** Start temperature for generated thermistor table */
    #define GENERIC_THERM1_MIN_TEMP -20
    /** End Temperature for generated thermistor table */
    #define GENERIC_THERM1_MAX_TEMP 300
    #define GENERIC_THERM1_R1 0
    #define GENERIC_THERM1_R2 4700

    // The same for table 2 and 3 if needed

    //#define USE_GENERIC_THERMISTORTABLE_2
    #define GENERIC_THERM2_T0 170
    #define GENERIC_THERM2_R0 1042.7
    #define GENERIC_THERM2_BETA 4036
    #define GENERIC_THERM2_MIN_TEMP -20
    #define GENERIC_THERM2_MAX_TEMP 300
    #define GENERIC_THERM2_R1 0
    #define GENERIC_THERM2_R2 4700

    //#define USE_GENERIC_THERMISTORTABLE_3
    #define GENERIC_THERM3_T0 170
    #define GENERIC_THERM3_R0 1042.7
    #define GENERIC_THERM3_BETA 4036
    #define GENERIC_THERM3_MIN_TEMP -20
    #define GENERIC_THERM3_MAX_TEMP 300
    #define GENERIC_THERM3_R1 0
    #define GENERIC_THERM3_R2 4700

    /** Supply voltage to ADC, can be changed by setting ANALOG_REF below to different value. */
    #define GENERIC_THERM_VREF 5
    /** Number of entries in generated table. One entry takes 4 bytes. Higher number of entries increase computation time too.
    Value is used for all generic tables created. */
    #define GENERIC_THERM_NUM_ENTRIES 33

    // uncomment the following line for MAX6675 support.
    //#define SUPPORT_MAX6675
    // uncomment the following line for MAX31855 support.
    //#define SUPPORT_MAX31855

    // ############# Heated bed configuration ########################

    /** \brief Set true if you have a heated bed conected to your board, false if not */
    #define HAVE_HEATED_BED true

    #define HEATED_BED_MAX_TEMP 125
    /** Skip M190 wait, if heated bed is already within x degrees. Fixed numbers only, 0 = off. */
    #define SKIP_M190_IF_WITHIN 2

    // Select type of your heated bed. It's the same as for EXT0_TEMPSENSOR_TYPE
    // set to 0 if you don't have a heated bed
    #define HEATED_BED_SENSOR_TYPE 5
    /** Analog pin of analog sensor to read temperature of heated bed.  */
    #define HEATED_BED_SENSOR_PIN TEMP_2_PIN
    /** \brief Pin to enable heater for bed. */
    #define HEATED_BED_HEATER_PIN HEATER_2_PIN
    // How often the temperature of the heated bed is set (msec)
    #define HEATED_BED_SET_INTERVAL 5000

    /**
    Heat manager for heated bed:
    0 = Bang Bang, fast update
    1 = PID controlled
    2 = Bang Bang, limited check every HEATED_BED_SET_INTERVAL. Use this with relay-driven beds to save life time
    3 = dead time control
    */
    #define HEATED_BED_HEAT_MANAGER 1
    /** \brief The maximum value, I-gain can contribute to the output.
    The precise values may differ for different nozzle/resistor combination.
     Overridden if EEPROM activated.
    */
    #define HEATED_BED_PID_INTEGRAL_DRIVE_MAX 255
    /** \brief lower value for integral part

    The I state should converge to the exact heater output needed for the target temperature.
    To prevent a long deviation from the target zone, this value limits the lower value.
    A good start is 30 lower then the optimal value. You need to leave room for cooling.
     Overridden if EEPROM activated.
    */
    #define HEATED_BED_PID_INTEGRAL_DRIVE_MIN 80
    /** P-gain.  Overridden if EEPROM activated. */
    #define HEATED_BED_PID_PGAIN   196
    /** I-gain  Overridden if EEPROM activated.*/
    #define HEATED_BED_PID_IGAIN   33.02
    /** Dgain.  Overridden if EEPROM activated.*/
    #define HEATED_BED_PID_DGAIN 290
    // maximum time the heater can be switched on. Max = 255.  Overridden if EEPROM activated.
    #define HEATED_BED_PID_MAX 255

    // When temperature exceeds max temp, your heater will be switched off.
    // This feature exists to protect your hotend from overheating accidentally, but *NOT* from thermistor short/failure!
    #define MAXTEMP 260

    /** Extreme values to detect defect thermistors. */
    #define MIN_DEFECT_TEMPERATURE -10
    #define MAX_DEFECT_TEMPERATURE 300


    // ##########################################################################################
    // ##                            Endstop configuration                                     ##
    // ##########################################################################################

    /* By default all endstops are pulled up to HIGH. You need a pullup if you
    use a mechanical endstop connected with GND. Set value to false for no pullup
    on this endstop.
    */
    #


    //set to true to invert the logic of the endstops
    #define ENDSTOP_X_MIN_INVERTING false
    #define ENDSTOP_Y_MIN_INVERTING false
    #define ENDSTOP_Z_MIN_INVERTING false
    #define ENDSTOP_X_MAX_INVERTING false
    #define ENDSTOP_Y_MAX_INVERTING false
    #define ENDSTOP_Z_MAX_INVERTING false

    // Set the values true where you have a hardware endstop. The Pin number is taken from pins.h.

    #define MIN_HARDWARE_ENDSTOP_X true
    #define MIN_HARDWARE_ENDSTOP_Y true
    #define MIN_HARDWARE_ENDSTOP_Z true
    #define MAX_HARDWARE_ENDSTOP_X false
    #define MAX_HARDWARE_ENDSTOP_Y false
    #define MAX_HARDWARE_ENDSTOP_Z false

    //If your axes are only moving in one direction, make sure the endstops are connected properly.
    //If your axes move in one direction ONLY when the endstops are triggered, set ENDSTOPS_INVERTING to true here



    //// ADVANCED SETTINGS - to tweak parameters

    // For Inverting Stepper Enable Pins (Active Low) use 0, Non Inverting (Active High) use 1
    #define X_ENABLE_ON 0
    #define Y_ENABLE_ON 0
    #define Z_ENABLE_ON 0

    // Disables axis when it's not being used.
    #define DISABLE_X false
    #define DISABLE_Y false
    #define DISABLE_Z false
    #define DISABLE_E false

    // Inverting axis direction
    #define INVERT_X_DIR false
    #define INVERT_Y_DIR false
    #define INVERT_Z_DIR true

    //// ENDSTOP SETTINGS:
    // Sets direction of endstops when homing; 1=MAX, -1=MIN
    #define X_HOME_DIR -1
    #define Y_HOME_DIR -1
    #define Z_HOME_DIR -1

    // Delta robot radius endstop
    #define max_software_endstop_r false  //true

    //If true, axis won't move to coordinates less than zero. ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
    #define min_software_endstop_x false  //false
    #define min_software_endstop_y false  //false
    #define min_software_endstop_z false

    //If true, axis won't move to coordinates greater than the defined lengths below.
    #define max_software_endstop_x false
    #define max_software_endstop_y false
    #define max_software_endstop_z false

    // If during homing the endstop is reached, ho many mm should the printer move back for the second try
    #define ENDSTOP_X_BACK_MOVE 3
    #define ENDSTOP_Y_BACK_MOVE 3
    #define ENDSTOP_Z_BACK_MOVE 3

    // For higher precision you can reduce the speed for the second test on the endstop
    // during homing operation. The homing speed is divided by the value. 1 = same speed, 2 = half speed
    #define ENDSTOP_X_RETEST_REDUCTION_FACTOR 2
    #define ENDSTOP_Y_RETEST_REDUCTION_FACTOR 2
    #define ENDSTOP_Z_RETEST_REDUCTION_FACTOR 2

    // When you have several endstops in one circuit you need to disable it after homing by moving a
    // small amount back. This is also the case with H-belt systems.
    #define ENDSTOP_X_BACK_ON_HOME 200
    #define ENDSTOP_Y_BACK_ON_HOME 200
    #define ENDSTOP_Z_BACK_ON_HOME 0

    // You can disable endstop checking for print moves. This is needed, if you get sometimes
    // false signals from your endstops. If your endstops don't give false signals, you
    // can set it on for safety.
    #define ALWAYS_CHECK_ENDSTOPS true

    // maximum positions in mm - only fixed numbers!
    // For delta robot Z_MAX_LENGTH is the maximum travel of the towers and should be set to the distance between the hotend
    // and the platform when the printer is at its home position.
    // If EEPROM is enabled these values will be overidden with the values in the EEPROM
    #define X_MAX_LENGTH 200
    #define Y_MAX_LENGTH 200
    #define Z_MAX_LENGTH 150

    // Coordinates for the minimum axis. Can also be negative if you want to have the bed start at 0 and the printer can go to the left side
    // of the bed. Maximum coordinate is given by adding the above X_MAX_LENGTH values.
    #define X_MIN_POS 0
    #define Y_MIN_POS 0
    #define Z_MIN_POS 0

    // ##########################################################################################
    // ##                           Movement settings                                          ##
    // ##########################################################################################

    // Microstep setting (Only functional when stepper driver microstep pins are connected to MCU. Currently only works for RAMBO boards
    #define MICROSTEP_MODES {8,8,8,8,8} // [1,2,4,8,16]

    // Motor Current setting (Only functional when motor driver current ref pins are connected to a digital trimpot on supported boards)
    #if MOTHERBOARD==301
    #define MOTOR_CURRENT {135,135,135,135,135} // Values 0-255 (RAMBO 135 = ~0.75A, 185 = ~1A)
    #elif MOTHERBOARD==12
    #define MOTOR_CURRENT {35713,35713,35713,35713,35713} // Values 0-65535 (3D Master 35713 = ~1A)

    /** \brief Number of segments to generate for delta conversions per second of move
    */
    #define DELTA_SEGMENTS_PER_SECOND_PRINT 180 // Move accurate setting for print moves
    #define DELTA_SEGMENTS_PER_SECOND_MOVE 70 // Less accurate setting for other moves

    // Delta settings
    #if DRIVE_SYSTEM==3
    /** \brief Delta rod length
    */
    #define DELTA_DIAGONAL_ROD 345 // mm


    /*  =========== Parameter essential for delta calibration ===================

                C, Y-Axis
                |                        |___| CARRIAGE_HORIZONTAL_OFFSET
                |                        |   \
                |_________ X-axis        |    \
               / \                       |     \  DELTA_DIAGONAL_ROD
              /   \                             \
             /     \                             \    Carriage is at printer center!
             A      B                             \_____/
                                                  |--| END_EFFECTOR_HORIZONTAL_OFFSET
                                             |----| DELTA_RADIUS
                                         |-----------| PRINTER_RADIUS

        Column angles are measured from X-axis counterclockwise
        "Standard" positions: alpha_A = 210, alpha_B = 330, alpha_C = 90
    */

    /** \brief column positions - change only to correct build imperfections! */
    #define DELTA_ALPHA_A 210
    #define DELTA_ALPHA_B 330
    #define DELTA_ALPHA_C 90

    /** Correct radius by this value for each column. Perfect builds have 0 everywhere. */
    #define DELTA_RADIUS_CORRECTION_A 0
    #define DELTA_RADIUS_CORRECTION_B 0
    #define DELTA_RADIUS_CORRECTION_C 0

    /** Correction of the default diagonal size. Value gets added.*/
    #define DELTA_DIAGONAL_CORRECTION_A 0
    #define DELTA_DIAGONAL_CORRECTION_B 0
    #define DELTA_DIAGONAL_CORRECTION_C 0

    /** Max. radius the printer should be able to reach. */
    #define DELTA_MAX_RADIUS 200


    /** \brief Horizontal offset of the universal joints on the end effector (moving platform).
    */
    #define END_EFFECTOR_HORIZONTAL_OFFSET 33

    /** \brief Horizontal offset of the universal joints on the vertical carriages.
    */
    #define CARRIAGE_HORIZONTAL_OFFSET 18

    /** \brief Printer radius in mm, measured from the center of the print area to the vertical smooth rod.
    */
    #define PRINTER_RADIUS 175

    /** Remove comment for more precise delta moves. Needs a bit more computation time. */
    //#define EXACT_DELTA_MOVES

    /**  \brief Horizontal distance bridged by the diagonal push rod when the end effector is in the center. It is pretty close to 50% of the push rod length (250 mm).
    */
    #define DELTA_RADIUS (PRINTER_RADIUS-END_EFFECTOR_HORIZONTAL_OFFSET-CARRIAGE_HORIZONTAL_OFFSET)
    /* ========== END Delta calibation data ==============*/

    /** When true the delta will home to z max when reset/powered over cord. That way you start with well defined coordinates.
    If you don't do it, make sure to home first before your first move.
    */
    #define DELTA_HOME_ON_POWER false

    /** To allow software correction of misaligned endstops, you can set the correction in steps here. If you have EEPROM enabled
    you can also change the values online and autoleveling will store the results here. */
    #define DELTA_X_ENDSTOP_OFFSET_STEPS 0
    #define DELTA_Y_ENDSTOP_OFFSET_STEPS 0
    #define DELTA_Z_ENDSTOP_OFFSET_STEPS 0


    /** \brief Experimental calibration utility for delta printers
    */
    #define SOFTWARE_LEVELING

    #if DRIVE_SYSTEM == 4 // ========== Tuga special settings =============
    /* Radius of the long arm in mm. */
    #define DELTA_DIAGONAL_ROD 240

    /** \brief Number of delta moves in each line. Moves that exceed this figure will be split into multiple lines.
    Increasing this figure can use a lot of memory since 7 bytes * size of line buffer * MAX_SELTA_SEGMENTS_PER_LINE
    will be allocated for the delta buffer. With defaults 7 * 16 * 22 = 2464 bytes. This leaves ~1K free RAM on an Arduino
    Mega. Used only for nonlinear systems like delta or tuga. */
    #define MAX_DELTA_SEGMENTS_PER_LINE 22

    /** After x seconds of inactivity, the stepper motors are disabled.
        Set to 0 to leave them enabled.
        This helps cooling the Stepper motors between two print jobs.
        Overridden if EEPROM activated.
    */
    #define STEPPER_INACTIVE_TIME 3600
    /** After x seconds of inactivity, the system will go down as far it can.
        It will at least disable all stepper motors and heaters. If the board has
        a power pin, it will be disabled, too.
        Set value to 0 for disabled.
        Overridden if EEPROM activated.
    */
    #define MAX_INACTIVE_TIME 0L
    /** Maximum feedrate, the system allows. Higher feedrates are reduced to these values.
        The axis order in all axis related arrays is X, Y, Z
         Overridden if EEPROM activated.
        */
    #define MAX_FEEDRATE_X 200
    #define MAX_FEEDRATE_Y 200
    #define MAX_FEEDRATE_Z 3

    /** Home position speed in mm/s. Overridden if EEPROM activated. */
    #define HOMING_FEEDRATE_X 80
    #define HOMING_FEEDRATE_Y 80
    #define HOMING_FEEDRATE_Z  3

    /** Set order of axis homing. Use HOME_ORDER_XYZ and replace XYZ with your order. */
    #define HOMING_ORDER HOME_ORDER_YXZ
    /* If you have a backlash in both z-directions, you can use this. For most printer, the bed will be pushed down by it's
    own weight, so this is nearly never needed. */
    #define ENABLE_BACKLASH_COMPENSATION false
    #define Z_BACKLASH 0
    #define X_BACKLASH 0
    #define Y_BACKLASH 0

    /** Comment this to disable ramp acceleration */
    #define RAMP_ACCELERATION 1

    /** If your stepper needs a longer high signal then given, you can add a delay here.
    The delay is realized as a simple loop wasting time, which is not available for other
    computations. So make it as low as possible. For the most common drivers no delay is needed, as the
    included delay is already enough.
    */
    #define STEPPER_HIGH_DELAY 0

    /** The firmware can only handle 16000Hz interrupt frequency cleanly. If you need higher speeds
    a faster solution is needed, and this is to double/quadruple the steps in one interrupt call.
    This is like reducing your 1/16th microstepping to 1/8 or 1/4. It is much cheaper then 1 or 3
    additional stepper interrupts with all it's overhead. As a result you can go as high as
    40000Hz.
    */
    #define STEP_DOUBLER_FREQUENCY 12000
    /** If you need frequencies off more then 30000 you definitely need to enable this. If you have only 1/8 stepping
    enabling this may cause to stall your moves when 20000Hz is reached.
    */
    #define ALLOW_QUADSTEPPING true
    /** If you reach STEP_DOUBLER_FREQUENCY the firmware will do 2 or 4 steps with nearly no delay. That can be too fast
    for some printers causing an early stall.

    */
    #define DOUBLE_STEP_DELAY 1 // time in microseconds

    /** The firmware supports trajectory smoothing. To achieve this, it divides the stepsize by 2, resulting in
    the double computation cost. For slow movements this is not an issue, but for really fast moves this is
    too much. The value specified here is the number of clock cycles between a step on the driving axis.
    If the interval at full speed is below this value, smoothing is disabled for that line.*/
    #define MAX_HALFSTEP_INTERVAL 1999

    //// Acceleration settings

    /** \brief X, Y, Z max acceleration in mm/s^2 for printing moves or retracts. Make sure your printer can go that high!
     Overridden if EEPROM activated.
    */
    #define MAX_ACCELERATION_UNITS_PER_SQ_SECOND_X 900
    #define MAX_ACCELERATION_UNITS_PER_SQ_SECOND_Y 900
    #define MAX_ACCELERATION_UNITS_PER_SQ_SECOND_Z 100

    /** \brief X, Y, Z max acceleration in mm/s^2 for travel moves.  Overridden if EEPROM activated.*/
    #define MAX_TRAVEL_ACCELERATION_UNITS_PER_SQ_SECOND_X 1500
    #define MAX_TRAVEL_ACCELERATION_UNITS_PER_SQ_SECOND_Y 1500
    #define MAX_TRAVEL_ACCELERATION_UNITS_PER_SQ_SECOND_Z 100

    /** \brief Maximum allowable jerk.

    Caution: This is no real jerk in a physical meaning.

    The jerk determines your start speed and the maximum speed at the join of two segments.
    Its unit is mm/s. If the printer is standing still, the start speed is jerk/2. At the
    join of two segments, the speed difference is limited to the jerk value.

    Examples:
    For all examples jerk is assumed as 40.

    Segment 1: vx = 50, vy = 0
    Segment 2: vx = 0, vy = 50
    v_diff = sqrt((50-0)^2+(0-50)^2) = 70.71
    v_diff > jerk => vx_1 = vy_2 = jerk/v_diff*vx_1 = 40/70.71*50 = 28.3 mm/s at the join

    Segment 1: vx = 50, vy = 0
    Segment 2: vx = 35.36, vy = 35.36
    v_diff = sqrt((50-35.36)^2+(0-35.36)^2) = 38.27 < jerk
    Corner can be printed with full speed of 50 mm/s

    Overridden if EEPROM activated.
    */
    #define MAX_JERK 20.0
    #define MAX_ZJERK 0.3

    /** \brief Number of moves we can cache in advance.

    This number of moves can be cached in advance. If you wan't to cache more, increase this. Especially on
    many very short moves the cache may go empty. The minimum value is 5.
    */
    #define MOVE_CACHE_SIZE 16

    /** \brief Low filled cache size.

    If the cache contains less then MOVE_CACHE_LOW segments, the time per segment is limited to LOW_TICKS_PER_MOVE clock cycles.
    If a move would be shorter, the feedrate will be reduced. This should prevent buffer underflows. Set this to 0 if you
    don't care about empty buffers during print.
    */
    #define MOVE_CACHE_LOW 10
    /** \brief Cycles per move, if move cache is low.

    This value must be high enough, that the buffer has time to fill up. The problem only occurs at the beginning of a print or
    if you are printing many very short segments at high speed. Higher delays here allow higher values in PATH_PLANNER_CHECK_SEGMENTS.
    */
    #define LOW_TICKS_PER_MOVE 250000

    // ##########################################################################################
    // ##                           Extruder control                                           ##
    // ##########################################################################################


    /* \brief Minimum temperature for extruder operation

    This is a saftey value. If your extruder temperature is below this temperature, no
    extruder steps are executed. This is to prevent your extruder to move unless the fiament
    is at least molten. After having some complains that the extruder does not work, I leave
    it 0 as default.
    */

    #define MIN_EXTRUDER_TEMP 150

    /** \brief Enable advance algorithm.

    Without a correct adjusted advance algorithm, you get blobs at points, where acceleration changes. The
    effect increases with speed and acceleration difference. Using the advance method decreases this effect.
    For more informations, read the wiki.
    */
    #define USE_ADVANCE

    /** \brief enables quadratic component.

    Uncomment to allow a quadratic advance dependency. Linear is the dominant value, so no real need
    to activate the quadratic term. Only adds lots of computations and storage usage. */
    //#define ENABLE_QUADRATIC_ADVANCE


    // ##########################################################################################
    // ##                           Communication configuration                                ##
    // ##########################################################################################

    //// AD595 THERMOCOUPLE SUPPORT UNTESTED... USE WITH CAUTION!!!!

    /** \brief Communication speed.

    - 250000 : Fastes with errorrate of 0% with 16 or 32 MHz - update wiring_serial.c in your board files. See boards/readme.txt
    - 115200 : Fast, but may produce communication errors on quite regular basis, Error rate -3,5%
    - 76800 : Best setting for Arduino with 16 MHz, Error rate 0,2% page 198 AVR1284 Manual. Result: Faster communication then 115200
    - 57600 : Should produce nearly no errors, on my gen 6 it's faster than 115200 because there are no errors slowing down the connection
    - 38600

     Overridden if EEPROM activated.
    */
    //#define BAUDRATE 76800  //----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
    #define BAUDRATE 115200
    //#define BAUDRATE 250000

    /**
    Some boards like Gen7 have a power on pin, to enable the atx power supply. If this is defined,
    the power will be turned on without the need to call M80 if initially started.
    */
    #define ENABLE_POWER_ON_STARTUP 

    /**
    If you use an ATX power supply you need the power pin to work non inverting. For some special
    boards you might need to make it inverting.
    */
    #define POWER_INVERTING false
    /** What shall the printer do, when it receives an M112 emergency stop signal?
     0 = Disable heaters/motors, wait forever until someone presses reset.
     1 = restart by resetting the AVR controller. The USB connection will not reset if managed by a different chip!
    */
    #define KILL_METHOD 1

    /** \brief Cache size for incoming commands.

    There should be no reason to increase this cache. Commands are nearly immediately sent to
    execution.
    */
    #define GCODE_BUFFER_SIZE 2
    /** Appends the linenumber after every ok send, to acknowledge the received command. Uncomment for plain ok ACK if your host has problems with this */
    #define ACK_WITH_LINENUMBER
    /** Communication errors can swollow part of the ok, which tells the host software to send
    the next command. Not receiving it will cause your printer to stop. Sending this string every
    second, if our queue is empty should prevent this. Comment it, if you don't wan't this feature. */
    #define WAITING_IDENTIFIER "wait"

    /** \brief Sets time for echo debug

    You can set M111 1 which enables ECHO of commands sent. This define specifies the position,
    when it will be executed. In the original FiveD software, echo is done after receiving the
    command. With checksum you know, how it looks from the sending string. With this define
    uncommented, you will see the last command executed. To be more specific: It is written after
    execution. This helps tracking errors, because there may be 8 or more commands in the queue
    and it is elsewise difficult to know, what your reprap is currently doing.
    */
    #define ECHO_ON_EXECUTE

    /** \brief EEPROM storage mode

    Set the EEPROM_MODE to 0 if you always want to use the settings in this configuration file. If not,
    set it to a value not stored in the first EEPROM-byte used. If you later want to overwrite your current
    EEPROM settings with configuration defaults, just select an other value. On the first call to epr_init()
    it will detect a mismatch of the first byte and copy default values into EEPROM. If the first byte
    matches, the stored values are used to overwrite the settings.

    IMPORTANT: With mode <>0 some changes in Configuration.h are not set any more, as they are
               taken from the EEPROM.
    */
    #define EEPROM_MODE 0
  • ich seh da nichts auffälliges. an deiner stelle würde ich mal den mega tauschen.

  • OK danke für Deine Hilfe. Habe einen neuen Mega bestellt. Bin gespannt aufs Ergebnis.
  • Ich sehe du nutzt user defined tables - nimm erst mal eine von uns vordefinierte Temperaturtabelle. 
    Auch sehe ich beide extruder nutzen den gleichen sensor
    #define EXT0_TEMPSENSOR_PIN TEMP_1_PIN
    Normal würde er TEMP_0_PIN nutzen, TEMP_1_PIN ist der fürs heizbett geplante, der aber hier anders lautet. Also bei korrekter verkabelung eigentlich kein Problem.


    Das ist ganz außen denke ich - normal ist der fürs Bett gedacht aber da nimmst du ja einen andere.
  • Meine config.h sieht jetzt so aus (Extruder + Heizbett):
     BLUETOOTH_SERIAL  -1
    #define BLUETOOTH_BAUD  115200
    #define MIXING_EXTRUDER 0

    #define DRIVE_SYSTEM 0
    #define XAXIS_STEPS_PER_MM 80
    #define YAXIS_STEPS_PER_MM 80
    #define ZAXIS_STEPS_PER_MM 2000
    #define EXTRUDER_FAN_COOL_TEMP 50
    #define PDM_FOR_EXTRUDER 0
    #define PDM_FOR_COOLER 0
    #define DECOUPLING_TEST_MAX_HOLD_VARIANCE 20
    #define DECOUPLING_TEST_MIN_TEMP_RISE 1
    #define KILL_IF_SENSOR_DEFECT 0
    #define RETRACT_ON_PAUSE 2
    #define PAUSE_START_COMMANDS ""
    #define PAUSE_END_COMMANDS ""
    #define SHARED_EXTRUDER_HEATER 0
    #define EXT0_X_OFFSET 0
    #define EXT0_Y_OFFSET 0
    #define EXT0_Z_OFFSET 0
    #define EXT0_STEPS_PER_MM 130
    #define EXT0_TEMPSENSOR_TYPE 5
    #define EXT0_TEMPSENSOR_PIN TEMP_0_PIN
    #define EXT0_HEATER_PIN HEATER_0_PIN
    #define EXT0_STEP_PIN ORIG_E0_STEP_PIN
    #define EXT0_DIR_PIN ORIG_E0_DIR_PIN
    #define EXT0_INVERSE 0
    #define EXT0_ENABLE_PIN ORIG_E0_ENABLE_PIN
    #define EXT0_ENABLE_ON 0
    #define EXT0_MIRROR_STEPPER 0
    #define EXT0_STEP2_PIN ORIG_E0_STEP_PIN
    #define EXT0_DIR2_PIN ORIG_E0_DIR_PIN
    #define EXT0_INVERSE2 0
    #define EXT0_ENABLE2_PIN ORIG_E0_ENABLE_PIN
    #define EXT0_MAX_FEEDRATE 50
    #define EXT0_MAX_START_FEEDRATE 20
    #define EXT0_MAX_ACCELERATION 5000
    #define EXT0_HEAT_MANAGER 3
    #define EXT0_PREHEAT_TEMP 190
    #define EXT0_WATCHPERIOD 1
    #define EXT0_PID_INTEGRAL_DRIVE_MAX 230
    #define EXT0_PID_INTEGRAL_DRIVE_MIN 40
    #define EXT0_PID_PGAIN_OR_DEAD_TIME 7
    #define EXT0_PID_I 2
    #define EXT0_PID_D 40
    #define EXT0_PID_MAX 255
    #define EXT0_ADVANCE_K 0
    #define EXT0_ADVANCE_L 0
    #define EXT0_ADVANCE_BACKLASH_STEPS 0
    #define EXT0_WAIT_RETRACT_TEMP 150
    #define EXT0_WAIT_RETRACT_UNITS 0
    #define EXT0_SELECT_COMMANDS ""
    #define EXT0_DESELECT_COMMANDS ""
    #define EXT0_EXTRUDER_COOLER_PIN -1
    #define EXT0_EXTRUDER_COOLER_SPEED 255
    #define EXT0_DECOUPLE_TEST_PERIOD 12000
    #define EXT0_JAM_PIN -1
    #define EXT0_JAM_PULLUP 0

    #define FEATURE_RETRACTION 1
    #define AUTORETRACT_ENABLED 0
    #define RETRACTION_LENGTH 3
    #define RETRACTION_LONG_LENGTH 13
    #define RETRACTION_SPEED 40
    #define RETRACTION_Z_LIFT 0
    #define RETRACTION_UNDO_EXTRA_LENGTH 0
    #define RETRACTION_UNDO_EXTRA_LONG_LENGTH 0
    #define RETRACTION_UNDO_SPEED 20
    #define FILAMENTCHANGE_X_POS 0
    #define FILAMENTCHANGE_Y_POS 0
    #define FILAMENTCHANGE_Z_ADD  2
    #define FILAMENTCHANGE_REHOME 1
    #define FILAMENTCHANGE_SHORTRETRACT 5
    #define FILAMENTCHANGE_LONGRETRACT 50
    #define JAM_METHOD 1
    #define JAM_STEPS 220
    #define JAM_SLOWDOWN_STEPS 320
    #define JAM_SLOWDOWN_TO 70
    #define JAM_ERROR_STEPS 500
    #define JAM_MIN_STEPS 10
    #define JAM_ACTION 1

    #define RETRACT_DURING_HEATUP true
    #define PID_CONTROL_RANGE 20
    #define SKIP_M109_IF_WITHIN 2
    #define SCALE_PID_TO_MAX 0
    #define TEMP_HYSTERESIS 0
    #define EXTRUDE_MAXLENGTH 160
    #define NUM_TEMPS_USERTHERMISTOR0 0
    #define USER_THERMISTORTABLE0 {}
    #define NUM_TEMPS_USERTHERMISTOR1 0
    #define USER_THERMISTORTABLE1 {}
    #define NUM_TEMPS_USERTHERMISTOR2 0
    #define USER_THERMISTORTABLE2 {}
    #define GENERIC_THERM_VREF 5
    #define GENERIC_THERM_NUM_ENTRIES 33
    #define TEMP_GAIN 1
    #define HEATER_PWM_SPEED 0
    #define COOLER_PWM_SPEED 0

    // ############# Heated bed configuration ########################

    #define HAVE_HEATED_BED 1
    #define HEATED_BED_PREHEAT_TEMP 55
    #define HEATED_BED_MAX_TEMP 120
    #define SKIP_M190_IF_WITHIN 3
    #define HEATED_BED_SENSOR_TYPE 5
    #define HEATED_BED_SENSOR_PIN TEMP_1_PIN
    #define HEATED_BED_HEATER_PIN HEATER_1_PIN
    #define HEATED_BED_SET_INTERVAL 5000
    #define HEATED_BED_HEAT_MANAGER 3
    #define HEATED_BED_PID_INTEGRAL_DRIVE_MAX 255
    #define HEATED_BED_PID_INTEGRAL_DRIVE_MIN 80
    #define HEATED_BED_PID_PGAIN_OR_DEAD_TIME   196
    #define HEATED_BED_PID_IGAIN   33
    #define HEATED_BED_PID_DGAIN 290
    #define HEATED_BED_PID_MAX 255
    #define HEATED_BED_DECOUPLE_TEST_PERIOD 300000
    #define MIN_EXTRUDER_TEMP 150
    #define MAXTEMP 275
    #define MIN_DEFECT_TEMPERATURE -10
    #define MAX_DEFECT_TEMPERATURE 290
    #define MILLISECONDS_PREHEAT_TIME 30000

    Kann ich hier noch was optimieren?
    Ich habe nur 1 Extruder und der hat Pin 0, Heizbett Pin 1.
    Wie kann ich die von Dir genannte Temperaturtabelle einfügen bzw. aktivieren. Da bin ich etwas überfordert.
    Habe den Rat von RAyWB befolgt und den Mega getauscht. Hat aber nichts gebracht. Keine Änderung. 
  • Ich habe eben nochmal getestet. Bett heizt bis 60° und hält die Temp. ohne Fehler.
    Der Extruder schaltet nach ca. 10 sek. aus mit fatal-Fehler. In der Log steht folgendes:
    12:27:06.014 : N16 M104 T0 S210*21
    12:27:19.111 : DebugLevel:14
    12:27:19.115 : Error:One heater seems decoupled from thermistor - disabling all for safety!
    12:27:19.124 : Error:Temp. raised to slow. Rise = 0.00 after 13079 ms
    12:27:19.127 : RequestStop:
    12:27:23.663 : N17 M104 T0 S0*23
    12:27:23.664 : N18 M140 S0*92
    12:27:32.065 : Printer reset detected - initializing
    12:27:32.075 : ix error and restart with M999.
    12:27:32.122 : ix error and restart with M999.
    12:27:32.285 : N1 M110*34
    12:27:32.285 : N2 M115*36
    12:27:32.285 : N4 M114*35
    12:27:32.317 : N5 M111 S6*98
    12:27:32.318 : N6 T0*60
    12:27:32.318 : N7 M80*28
    12:27:41.188 : Printer reset detected - initializing
    12:27:41.188 : start
    12:27:41.188 : Free RAM:4641
    12:27:41.194 : SelectExtruder:0
    12:27:41.354 : N1 M110*34
    12:27:41.354 : N2 M115*36
    12:27:41.354 : N4 M114*35
    12:27:41.377 : FIRMWARE_NAME:Repetier_1.0.4 COMPILED:Jul 29 2021 FIRMWARE_URL:https://github.com/repetier/Repetier-Firmware/ PROTOCOL_VERSION:1.0 MACHINE_TYPE:Mendel EXTRUDER_COUNT:1 REPETIER_PROTOCOL:3
    12:27:41.377 : Cap:PROGRESS:0
    12:27:41.377 : N5 M111 S6*98
    12:27:41.377 : Cap:AUTOREPORT_TEMP:1
    12:27:41.378 : N6 T0*60
    12:27:41.379 : N7 M80*28
    12:27:41.379 : N8 M220 S100*105
    12:27:41.379 : N9 M221 S100*105
    12:27:41.379 : N10 M111 S6*86
    12:27:41.380 : Cap:HOST_RESCUE:0
    12:27:41.380 : N11 T0*10
    12:27:41.380 : N12 M155 S1*83
    12:27:41.387 : Cap:EEPROM:0
    12:27:41.387 : Cap:AUTOLEVEL:0
    12:27:41.388 : Cap:Z_PROBE:0
    12:27:41.388 : Cap:SOFTWARE_POWER:0
    12:27:41.389 : Cap:TOGGLE_LIGHTS:0
    12:27:41.389 : Cap:PAUSESTOP:1
    12:27:41.389 : Cap:PREHEAT:1
    12:27:41.392 : Cap:EMERGENCY_PARSER:1
    12:27:41.392 : PrinterMode:FFF
    12:27:41.434 : X:0.00 Y:0.00 Z:0.000 E:0.0000
    12:27:41.434 : DebugLevel:6
    12:27:41.435 : SelectExtruder:0
    12:27:41.437 : DebugLevel:6
    12:27:41.438 : SelectExtruder:0
    12:28:18.483 : Warning: Seems like we missed a ok, got a wait - continue sending.
    12:28:18.483 : N13 G1 Z50*101
    12:28:21.042 : N14 M112*20
    12:28:21.248 : Resed:14
    12:28:21.452 : Resend:14
    12:28:21.460 : Resend: N14 M112*20
    12:28:21.460 : Error:Wrong checksum
    12:28:21.465 : Printer reset detected - initializing
    12:28:21.465 : start
    12:28:21.470 : Free RAM:4641
    12:28:21.470 : SelectExtruder:0
    12:28:21.652 : N1 M110*34
    12:28:21.652 : N2 M115*36
    12:28:21.652 : N4 M114*35
    12:28:21.652 : N5 M111 S6*98
    12:28:21.653 : N6 T0*60
    12:28:21.659 : N7 M80*28
    12:28:21.679 : FIRMWARE_NAME:Repetier_1.0.4 COMPILED:Jul 29 2021 FIRMWARE_URL:https://github.com/repetier/Repetier-Firmware/ PROTOCOL_VERSION:1.0 MACHINE_TYPE:Mendel EXTRUDER_COUNT:1 REPETIER_PROTOCOL:3
    12:28:21.679 : N8 M220 S100*105
    12:28:21.679 : N9 M221 S100*105
    12:28:21.679 : N10 M111 S6*86
    12:28:21.679 : N11 T0*10
    12:28:21.682 : Cap:PROGRESS:0
    12:28:21.682 : Cap:AUTOREPORT_TEMP:1
    12:28:21.682 : N12 M155 S1*83
    12:28:21.686 : Cap:HOST_RESCUE:0
    12:28:21.686 : Cap:EEPROM:0
    12:28:21.686 : Cap:AUTOLEVEL:0
    12:28:21.691 : Cap:Z_PROBE:0
    12:28:21.691 : Cap:SOFTWARE_POWER:0
    12:28:21.691 : Cap:TOGGLE_LIGHTS:0
    12:28:21.695 : Cap:PAUSESTOP:1
    12:28:21.695 : Cap:PREHEAT:1
    12:28:21.699 : Cap:EMERGENCY_PARSER:1
    12:28:21.699 : PrinterMode:FFF
    12:28:21.736 : X:0.00 Y:0.00 Z:0.000 E:0.0000
    12:28:21.737 : DebugLevel:6
    12:28:21.737 : SelectExtruder:0
    12:28:21.738 : DebugLevel:6
    12:28:21.738 : SelectExtruder:0
    12:28:21.831 : N13 M112*19
    12:28:31.053 : Printer reset detected - initializing
    12:28:31.053 : start
    12:28:31.053 : Free RAM:4641
    12:28:31.058 : SelectExtruder:0
    12:28:31.270 : N1 M110*34
    12:28:31.270 : N2 M115*36
    12:28:31.270 : N4 M114*35
    12:28:31.270 : N5 M111 S6*98
    12:28:31.271 : N6 T0*60
    12:28:31.278 : N7 M80*28
    12:28:31.300 : FIRMWARE_NAME:Repetier_1.0.4 COMPILED:Jul 29 2021 FIRMWARE_URL:https://github.com/repetier/Repetier-Firmware/ PROTOCOL_VERSION:1.0 MACHINE_TYPE:Mendel EXTRUDER_COUNT:1 REPETIER_PROTOCOL:3
    12:28:31.300 : Cap:PROGRESS:0
    12:28:31.300 : N8 M220 S100*105
    12:28:31.300 : N9 M221 S100*105
    12:28:31.300 : N10 M111 S6*86
    12:28:31.300 : N11 T0*10
    12:28:31.303 : Cap:AUTOREPORT_TEMP:1
    12:28:31.303 : Cap:HOST_RESCUE:0
    12:28:31.304 : N12 M155 S1*83
    12:28:31.304 : Cap:EEPROM:0
    12:28:31.308 : Cap:AUTOLEVEL:0
    12:28:31.308 : Cap:Z_PROBE:0
    12:28:31.308 : Cap:SOFTWARE_POWER:0
    12:28:31.312 : Cap:TOGGLE_LIGHTS:0
    12:28:31.312 : Cap:PAUSESTOP:1
    12:28:31.316 : Cap:PREHEAT:1
    12:28:31.316 : Cap:EMERGENCY_PARSER:1
    12:28:31.316 : PrinterMode:FFF
    12:28:31.356 : X:0.00 Y:0.00 Z:0.000 E:0.0000
    12:28:31.356 : DebugLevel:6
    12:28:31.356 : SelectExtruder:0
    12:28:31.357 : DebugLevel:6
    12:28:31.357 : SelectExtruder:0
    12:28:31.713 : N13 G1 Z-10 F100*27
    12:28:31.721 : X:0.00 Y:0.00 Z:0.000 E:0.0000
    12:28:32.869 : N14 G1 Z-10 F100*28
    12:28:32.876 : X:0.00 Y:0.00 Z:0.000 E:0.0000
    12:28:34.831 : N15 G1 Z0.1 F100*30
    12:28:36.038 : N16 G1 Z-9.9 F100*49
    12:28:36.046 : X:0.00 Y:0.00 Z:0.100 E:0.0000
    12:28:36.885 : N17 G1 Z-9.9 F100*48
    12:28:36.894 : X:0.00 Y:0.00 Z:0.100 E:0.0000
    12:28:37.208 : N18 G1 Z-9.9 F100*63
    12:28:37.217 : X:0.00 Y:0.00 Z:0.100 E:0.0000
    12:28:37.561 : N19 G1 Z-9.9 F100*62
    12:28:37.569 : X:0.00 Y:0.00 Z:0.100 E:0.0000
    12:28:37.886 : N20 G1 Z-9.9 F100*52
    12:28:37.893 : X:0.00 Y:0.00 Z:0.100 E:0.0000
    12:28:38.194 : N21 G1 Z-9.9 F100*53
    12:28:38.200 : X:0.00 Y:0.00 Z:0.100 E:0.0000
    12:28:53.000 : N22 G28 Z50*92
    12:29:58.059 : X:0.00 Y:0.00 Z:0.000 E:0.0000

    Vielleicht lässt sich daraus etwas schließen. Ich finde nichts.
  • Das einzig interessant, die Temperaturmeldungen hast du im log gefiltert:-( Interessant wäre was das Bett als temperatur anzeigt da beide ja deine selbst erzeugte Temperaturtabelle nutzen, die evtl. falsch ist.

    Interessant aber das Bett jetzt den sensor vom extruder vorher nutzt und damit klappt. Sicher das der extruder sensor 100K bei Raumtemperatur am Board anschluss hat? Jetzt wo es beim Bett offenbar klappt.
  • In der Ansicht "Temperaturkurven" wird die Bett-Temp angezeigt, nur in der manuellen Kontrolle wird nur die Max-Temp angezeigt, nicht die momentane, da steht immer nur 0.
    Die Sensormessung ergibt bei Raumtemp. ca. 100k sowohl beim Bett und beim Extruder. Das sind beides die gleichen Sensor-Typen.
  • Wie sieht denn im log die Ausgabe aus? Im host kannst du bei den Druckereinstellung M105 Filter ausschalten damit sie erscheinen.

    Bei 100K sollte normal immer etwa sum 25°C erscheinen außer falscher pin oder adc wandler hat ein defekt oder ein board hat eine Leitung nicht bis zur cpu durchverbinden also unterbrechung/kurzschluss/kalte Lötstelle.

    Da temp_1 ja beim bett klappt wäre der nächste einfache test den sensor pin vom bett beim extruder anzugeben. Ist zwar die falsche tempertur (weil from bett) aber dann wissen wir das die abfrage etc korrekt ist und nur die gemessenen adc Werte am angegebenen anschluss zur 0 führen.
  • Start Heizbett gut, nach Extruder einschalten ca. 13 sek. die Log-Ausgabe:
    13:27:24.870 : N22 M104 T0 S210*18
    13:27:37.966 : DebugLevel:14
    13:27:38.011 : Error:One heater seems decoupled from thermistor - disabling all for safety!
    13:27:38.011 : Error:Temp. raised to slow. Rise = 0.00 after 13079 ms
    13:27:38.015 : RequestStop:
    13:27:43.111 : fatal:Heater decoupled during rising - Printer stopped and heaters disabled due to this error. Fix error and restart with M999.
    13:27:43.111 : Disabling all heaters due to detected sensor defect.
    13:27:43.112 : DebugLevel:14
    13:27:43.115 : RequestStop:

    Jetzt habe ich temp_1 beim Extruder angegeben. Log-Ausgabe hier:
    13:42:53.336 : OpenGL version:2.1.2
    13:42:53.337 : OpenGL extensions:GL_ARB_color_buffer_float GL_ARB_compressed_texture_pixel_storage GL_ARB_conservative_depth GL_ARB_copy_buffer GL_ARB_depth_clamp GL_ARB_depth_texture GL_ARB_draw_buffers GL_ARB_ES2_compatibility GL_ARB_explicit_attrib_location GL_ARB_fragment_program GL_ARB_fragment_program_shadow GL_ARB_fragment_shader GL_ARB_framebuffer_object GL_ARB_get_program_binary GL_ARB_half_float_pixel GL_ARB_half_float_vertex GL_ARB_imaging GL_ARB_internalformat_query GL_ARB_map_buffer_alignment GL_ARB_map_buffer_range GL_ARB_multisample GL_ARB_multitexture GL_ARB_occlusion_query GL_ARB_occlusion_query2 GL_ARB_pixel_buffer_object GL_ARB_point_parameters GL_ARB_point_sprite GL_ARB_provoking_vertex GL_ARB_robustness GL_ARB_sampler_objects GL_ARB_separate_shader_objects GL_ARB_shader_objects GL_ARB_shading_language_100 GL_ARB_shading_language_420pack GL_ARB_shading_language_include GL_ARB_shadow GL_ARB_sync GL_ARB_texture_border_clamp GL_ARB_texture_compression GL_ARB_texture_cube_map GL_ARB_texture_env_add GL_ARB_texture_env_combine GL_ARB_texture_env_crossbar GL_ARB_texture_env_dot3 GL_ARB_texture_float GL_ARB_texture_mirrored_repeat GL_ARB_texture_non_power_of_two GL_ARB_texture_rectangle GL_ARB_texture_rg GL_ARB_texture_storage GL_ARB_texture_swizzle GL_ARB_timer_query GL_ARB_transpose_matrix GL_ARB_vertex_array_bgra GL_ARB_vertex_array_object GL_ARB_vertex_buffer_object GL_ARB_vertex_program GL_ARB_vertex_shader GL_ARB_window_pos GL_ATI_draw_buffers GL_ATI_texture_float GL_ATI_texture_mirror_once GL_S3_s3tc GL_EXT_texture_env_add GL_EXT_abgr GL_EXT_bgra GL_EXT_blend_color GL_EXT_blend_equation_separate GL_EXT_blend_func_separate GL_EXT_blend_minmax GL_EXT_blend_subtract GL_EXT_compiled_vertex_array GL_EXT_Cg_shader GL_EXT_depth_bounds_test GL_EXT_direct_state_access GL_EXT_draw_range_elements GL_EXT_fog_coord GL_EXT_framebuffer_blit GL_EXT_framebuffer_multisample GL_EXT_framebuffer_object GL_EXT_gpu_program_parameters GL_EXT_multi_draw_arrays GL_EXT_packed_depth_stencil GL_EXT_packed_pixels GL_EXT_pixel_buffer_object GL_EXT_point_parameters GL_EXT_provoking_vertex GL_EXT_rescale_normal GL_EXT_secondary_color GL_EXT_separate_shader_objects GL_EXT_separate_specular_color GL_EXT_shadow_funcs GL_EXT_stencil_two_side GL_EXT_stencil_wrap GL_EXT_texture3D GL_EXT_texture_compression_dxt1 GL_EXT_texture_compression_s3tc GL_EXT_texture_cube_map GL_EXT_texture_edge_clamp GL_EXT_texture_env_combine GL_EXT_texture_env_dot3 GL_EXT_texture_filter_anisotropic GL_EXT_texture_format_BGRA8888 GL_EXT_texture_lod GL_EXT_texture_lod_bias GL_EXT_texture_mirror_clamp GL_EXT_texture_object GL_EXT_texture_sRGB GL_EXT_texture_sRGB_decode GL_EXT_texture_storage GL_EXT_texture_swizzle GL_EXT_timer_query GL_EXT_vertex_array GL_EXT_vertex_array_bgra GL_EXT_import_sync_object GL_IBM_rasterpos_clip GL_IBM_texture_mirrored_repeat GL_KTX_buffer_region GL_NV_alpha_test GL_NV_blend_minmax GL_NV_blend_square GL_NV_complex_primitives GL_NV_copy_depth_to_color GL_NV_depth_clamp GL_NV_ES1_1_compatibility GL_NV_fbo_color_attachments GL_NV_fence GL_NV_float_buffer GL_NV_fog_distance GL_NV_fragdepth GL_NV_fragment_program GL_NV_fragment_program_option GL_NV_fragment_program2 GL_NV_framebuffer_multisample_coverage GL_NV_half_float GL_NV_light_max_exponent GL_NV_multisample_filter_hint GL_NV_occlusion_query GL_NV_packed_depth_stencil GL_NV_pixel_data_range GL_NV_point_sprite GL_NV_primitive_restart GL_NV_register_combiners GL_NV_register_combiners2 GL_NV_texgen_reflection GL_NV_texture_barrier GL_NV_texture_compression_vtc GL_NV_texture_env_combine4 GL_NV_texture_expand_normal GL_NV_texture_lod_clamp GL_NV_texture_rectangle GL_NV_texture_shader GL_NV_texture_shader2 GL_NV_texture_shader3 GL_NV_vertex_array_range GL_NV_vertex_array_range2 GL_NV_vertex_program GL_NV_vertex_program1_1 GL_NV_vertex_program2 GL_NV_vertex_program2_option GL_NV_vertex_program3 GL_NVX_conditional_render GL_OES_compressed_paletted_texture GL_OES_depth24 GL_OES_depth32 GL_OES_depth_texture GL_OES_element_index_uint GL_OES_fbo_render_mipmap GL_OES_get_program_binary GL_OES_mapbuffer GL_OES_packed_depth_stencil GL_OES_point_size_array GL_OES_point_sprite GL_OES_rgb8_rgba8 GL_OES_read_format GL_OES_standard_derivatives GL_OES_texture_3D GL_OES_texture_float GL_OES_texture_float_linear GL_OES_texture_half_float GL_OES_texture_half_float_linear GL_OES_texture_npot GL_OES_vertex_array_object GL_OES_vertex_half_float GL_SGIS_generate_mipmap GL_SGIS_texture_lod GL_SGIX_depth_texture GL_SGIX_shadow GL_SUN_slice_accum GL_WIN_swap_hint WGL_EXT_swap_control 
    13:42:53.337 : OpenGL renderer:GeForce 6200 TurboCache(TM)/PCIe/SSE2
    13:42:53.337 : Using fast VBOs for rendering is possible
    13:43:01.416 : Printer reset detected - initializing
    13:43:01.439 : start
    13:43:01.439 : Free RAM:4641
    13:43:01.439 : Error:Wrong checksum
    13:43:01.439 : Error:Wrong checksum
    13:43:02.362 : Printer reset detected - initializing
    13:43:02.362 : start
    13:43:02.367 : Free RAM:4641
    13:43:02.401 : SelectExtruder:0
    13:43:02.513 : N1 M110*34
    13:43:02.513 : N2 M115*36
    13:43:02.513 : N3 M105*36
    13:43:02.513 : N4 M114*35
    13:43:02.513 : N5 M111 S6*98
    13:43:02.513 : N6 T0*60
    13:43:02.513 : N7 M80*28
    13:43:02.536 : FIRMWARE_NAME:Repetier_1.0.4 COMPILED:Jul 30 2021 FIRMWARE_URL:https://github.com/repetier/Repetier-Firmware/ PROTOCOL_VERSION:1.0 MACHINE_TYPE:Mendel EXTRUDER_COUNT:1 REPETIER_PROTOCOL:3
    13:43:02.536 : Cap:PROGRESS:0
    13:43:02.536 : N8 M220 S100*105
    13:43:02.536 : N9 M221 S100*105
    13:43:02.536 : N10 M111 S6*86
    13:43:02.537 : N11 T0*10
    13:43:02.539 : Cap:AUTOREPORT_TEMP:1
    13:43:02.539 : Cap:HOST_RESCUE:0
    13:43:02.539 : N12 M155 S1*83
    13:43:02.539 : Cap:EEPROM:0
    13:43:02.543 : Cap:AUTOLEVEL:0
    13:43:02.543 : Cap:Z_PROBE:0
    13:43:02.547 : Cap:SOFTWARE_POWER:0
    13:43:02.547 : Cap:TOGGLE_LIGHTS:0
    13:43:02.547 : Cap:PAUSESTOP:1
    13:43:02.555 : Cap:PREHEAT:1
    13:43:02.555 : Cap:EMERGENCY_PARSER:1
    13:43:02.556 : PrinterMode:FFF
    13:43:02.593 : X:0.00 Y:0.00 Z:0.000 E:0.0000
    13:43:02.593 : DebugLevel:6
    13:43:02.593 : SelectExtruder:0
    13:43:02.593 : DebugLevel:6
    13:43:02.594 : SelectExtruder:0
    13:43:19.219 : N13 M104 T0 S210*16
    13:43:29.733 : N14 M104 T0 S0*20
    13:43:33.036 : N15 M140 S60*103
    13:43:34.308 : N16 M104 T0 S210*21
    13:43:47.436 : DebugLevel:14
    13:43:47.444 : Error:One heater seems decoupled from thermistor - disabling all for safety!
    13:43:47.448 : Error:Temp. raised to slow. Rise = 0.00 after 13079 ms
    13:43:47.480 : RequestStop:
    13:43:52.546 : fatal:Heater decoupled during rising - Printer stopped and heaters disabled due to this error. Fix error and restart with M999.
    13:43:52.546 : Disabling all heaters due to detected sensor defect.
    13:43:52.546 : DebugLevel:14
    13:43:52.549 : RequestStop:
    13:43:57.549 : fatal:Heater/sensor error - Printer stopped and heaters disabled due to this error. Fix error and restart with M999.

    Ich werde jetzt noch auf Unterbrechung/kalte Lötstelle etc. untersuchen, obwohl ich mir nicht vorstellen kann, daß so was auch bei der 2. Variante (neuer Mega+neuer Ramps) der Fall ist.
  • kannst du mal die stromaufnahme der Heizpatrone im betrieb messen ?
  • Die Stromaufnahme der Extruderheizung im Betrieb beträgt ca. 2.7A.
  • edited July 2021
    und die fällt auch nicht ab wenn die Fehlermeldung kommt , bzw kurz davor?

    kannst du auch mal messen ob du ne elektrische verbindung zwischen fühler und hotend hast?
    Ich hatte da mal nen ähnlichen effekt mit ner schraube (die , mit der der sensor am hotend fixiert ist),die ab und an mal durch das teflon des fühlers gedrückt hat.
    Hab mir damals nen wolf gesucht
  • Die Stromaufnahme geht mit der Fehlermeldung sofort auf 0. 
    Ich hab mal probeweise in der config.h DECOUPLING_TEST_MIN_TEMP_RISE 1 auf -10 gesetzt, dann kommt kein Abbruch mehr. Aber die Temp.anzeige ist nach wie vor auf 0. Habe diese Änderung wieder rückgängig gemacht. Das hatte einer im Forum so geschrieben, daß sein Entkopplungs-Problem so gelöst wurde.

    Elektrische Verbindung ist keine vorhanden, sauber isoliert.
Sign In or Register to comment.