Filament runout configuration - makerbase-mks/MKS-H43 GitHub Wiki

Filament runout configuration

If enable filament runout detection, when the filament has runout on printing, MKS H43 will stop the printer nozzle to a fixed position, and there will be a material interruption prompt on the screen.

In fact, filament runout detection function of MKS H43 cannot be enabled at the same time with the marlin origin one, otherwise, it will cause compilation errors, so you cannot enable #define FILAMENT_RUNOUT_SENSOR in the configuration file, please config Marlin as following:

Config the common options on Marlin firmware source, find the DGUSDisplayDef.h file:

  • Enable the material break detection:

#define DGUS_MKS_RUNOUT_SENSOR

  • Set the filament runout detection pin in the configuration item (Note: the filament runout detection pin depends on The motherboard used is configured), eg:

#define MT_DET_1_PIN P1_23

  • Set the filament runout detection level in the configuration item (false or true), eg:

#define MT_DET_PIN_INVERTING false