Ce site contient essentiellement des notes de travail. Le contenu est en constante évolution, et loin d'être achevé. (+ d'infos)
La plupart des documentations informatiques sont orientées Debian / Ubuntu.

Modélisme/Imprimantes 3D/Firmwares/Marlin/Auto probe/Sécurités

De Ordinoscope.net
Sauter à la navigation Sauter à la recherche

Température

Thermal protection

/**
   Thermal Protection provides additional protection to your printer from damage
   and fire. Marlin always includes safe min and max temperature ranges which
   protect against a broken or disconnected thermistor wire.

   The issue: If a thermistor falls out, it will report the much lower
   temperature of the air in the room, and the the firmware will keep
   the heater on.
   If you get "Thermal Runaway" or "Heating failed" errors the
   details can be tuned in Configuration_adv.h
*/

#define THERMAL_PROTECTION_HOTENDS // Enable thermal protection for all extruders
#define THERMAL_PROTECTION_BED     // Enable thermal protection for the heated bed

Min/max temp

// The minimal temperature defines the temperature below which the heater will not be enabled It is used
// to check that the wiring to the thermistor is not broken.
// Otherwise this would lead to the heater being powered on all the time.
#define HEATER_0_MINTEMP 5
#define HEATER_1_MINTEMP 5
#define HEATER_2_MINTEMP 5
#define HEATER_3_MINTEMP 5
#define HEATER_4_MINTEMP 5
#define BED_MINTEMP 5

// 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!
// You should use MINTEMP for thermistor short/failure protection.
#define HEATER_0_MAXTEMP 275
#define HEATER_1_MAXTEMP 275
#define HEATER_2_MAXTEMP 275
#define HEATER_3_MAXTEMP 275
#define HEATER_4_MAXTEMP 275
#define BED_MAXTEMP 130

PID functional range

#define PID_FUNCTIONAL_RANGE 10 // If the temperature difference between the target temperature and the actual temperature
// is more than PID_FUNCTIONAL_RANGE then the PID will be shut off and the heater will be set to min/max.

Cold extrusion

/**
   Prevent extrusion if the temperature is below EXTRUDE_MINTEMP.
   Add M302 to set the minimum extrusion temperature and/or turn
   cold extrusion prevention on and off.

 * *** IT IS HIGHLY RECOMMENDED TO LEAVE THIS OPTION ENABLED! ***
*/
#define PREVENT_COLD_EXTRUSION
#define EXTRUDE_MINTEMP 170

Maximum extrusion

/**
   Prevent a single extrusion longer than EXTRUDE_MAXLENGTH.
   Note: For Bowden Extruders make this large enough to allow load/unload.
*/
#define PREVENT_LENGTHY_EXTRUDE
#define EXTRUDE_MAXLENGTH 200

Emergency

Break and continue (M108 [1])

EMERGENCY_PARSER

HOST_KEEPALIVE_FEATURE

Emergency stop (M112 [2])

EMERGENCY_PARSER

Déplacements

Software endstops (M211 [3])

Par défaut, le firmware interdit de dépasser les limites de déplacement définies. Ceci implique toutefois qu'il est impossible de régler l'offset du Z en-dessous du 0.

Il est possible désactiver temporairement ces limites:

  • M211 S0: désactive les limites
  • M211 S1: active les limites

N.B. Le baby stepping ne respecte pas ces limites

/**
   Software Endstops

   - Prevent moves outside the set machine bounds.
   - Individual axes can be disabled, if desired.
   - X and Y only apply to Cartesian robots.
   - Use 'M211' to set software endstops on/off or report current state
*/

// Min software endstops constrain movement within minimum coordinate bounds
#define MIN_SOFTWARE_ENDSTOPS
#if ENABLED(MIN_SOFTWARE_ENDSTOPS)
#define MIN_SOFTWARE_ENDSTOP_X
#define MIN_SOFTWARE_ENDSTOP_Y
#define MIN_SOFTWARE_ENDSTOP_Z
#endif

// Max software endstops constrain movement within maximum coordinate bounds
#define MAX_SOFTWARE_ENDSTOPS
#if ENABLED(MAX_SOFTWARE_ENDSTOPS)
#define MAX_SOFTWARE_ENDSTOP_X
#define MAX_SOFTWARE_ENDSTOP_Y
#define MAX_SOFTWARE_ENDSTOP_Z
#endif

Références