Skip to main content

Marlin Configuration

Info
  • This document provides the following
  • Marlin Configuration

Pin Configuration​

  • Reference pin configuration
  • Please note that the following configuration methods can only choose one
#define Z_MIN_PROBE_PIN PC0
  • Add to the bottom of Configuration.h or in a place that does not interfere with other settings
  • Can only choose one
Loading...
  • Mainboard pin configuration method
  • Can only choose one
Loading...

Set Probe Pin​

#define SOL1_PIN PA5

Probe Offset​

  • Set probe offset
#define NOZZLE_TO_PROBE_OFFSET { 0, 0, 0 }

Probing Margin​

#define PROBING_MARGIN 10

Disable Soft Endstops​

// #define MIN_SOFTWARE_ENDSTOP_Z

Set Endstop Default Logic Level​

#define Z_MIN_ENDSTOP_HIT_STATE HIGH

Probing Grid Points​

  • Set probing grid points
#define GRID_MAX_POINTS_X 3
#define GRID_MAX_POINTS_Y 3

Use Z_MIN Endstop for Probe Signal​

#define Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN

Use Probe Data for Z Homing​

#define USE_PROBE_FOR_Z_HOMING

Enable Center Z Homing​

#define Z_SAFE_HOMING

Set Bed Leveling Type (Grid)​

#define AUTO_BED_LEVELING_BILINEAR

Enable EEPROM Settings​

#define EEPROM_SETTINGS

Enable Solenoid Probe​

#define SOLENOID_PROBE

Automatically Enable Leveling After Homing​

#define RESTORE_LEVELING_AFTER_G28

Slicer Settings​

  • If re-leveling is required before each print job, add the following commands to the start G-code in the slicer:
G28;
G29;
Loading...