Skip to main content

Marlin Configuration

Info
  • This document provides the following materials
  • Marlin Configuration

Pin Configuration​

  • Reference Pin Configuration
  • Please note that the following configuration methods can only be one of the two
#define Z_MIN_PROBE_PIN PC0
  • Add to the bottom of Configuration.h or in a place that does not affect other configurations
  • Can only choose one of the two
Loading...
  • Mainboard Pin Configuration Method
  • Can only choose one of the two
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 Software Endstops​

// #define MIN_SOFTWARE_ENDSTOP_Z

Set Endstop Default Logic Level​

#define Z_MIN_ENDSTOP_HIT_STATE HIGH

Probe 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 for Z Homing​

#define USE_PROBE_FOR_Z_HOMING

Enable Z Safe Homing​

#define Z_SAFE_HOMING

Set Bed Leveling Type (Bilinear)​

#define AUTO_BED_LEVELING_BILINEAR

Enable EEPROM Settings​

#define EEPROM_SETTINGS

Enable Solenoid Probe​

#define SOLENOID_PROBE

Restore Leveling Data After G28​

#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...