# After beacon calibrate and save config klipper unable to recognise default

**URL:** <https://klipper.discourse.group/t/after-beacon-calibrate-and-save-config-klipper-unable-to-recognise-default/19360>\
**Category:** General Discussion\
**Created:** [October 12, 2024, 9:19pm UTC](https://klipper.discourse.group/t/after-beacon-calibrate-and-save-config-klipper-unable-to-recognise-default/19360 "2024-10-12T21:19:38Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![pete1](https://avatars.discourse-cdn.com/v4/letter/p/67e7ee/32.png) [@pete1](https://klipper.discourse.group/u/pete1)\
**Post date:** [October 12, 2024, 9:19pm UTC](https://klipper.discourse.group/t/after-beacon-calibrate-and-save-config-klipper-unable-to-recognise-default/19360/1 "2024-10-12T21:19:38Z")

</div>

### Basic Information:

Printer Model: Voron 2.4  
 MCU / Printerboard: BTT Octopus V1.1  
 Host / SBC : Raspberry Pi 4b  
 klippy.log

Hi  
I recently installed Beacon H in my voron 2.4  
The issue I have is when I Beacon\_calibrate I am only allowed to use to down arrow for the Z access at 01mm. No finer adjustment is able to be activated. If I press accept the becon calibrated is then accepted. However if I then save\_ config the mainsail posts a message “no beacon type registered” which means Beacon default is not accepted by klipper. I am stuck here and cannot procede.  
…

---

<div class="post-metadata">

**Author:** ![EddyMI3D](https://yyz2.discourse-cdn.com/free1/user_avatar/klipper.discourse.group/eddymi3d/32/1981_2.png) [@EddyMI3D](https://klipper.discourse.group/u/EddyMI3D)\
**Post date:** [October 13, 2024, 3:11am UTC](https://klipper.discourse.group/t/after-beacon-calibrate-and-save-config-klipper-unable-to-recognise-default/19360/2 "2024-10-13T03:11:53Z")

</div>

Please attach as requested the klippy.log.

And in this case also the complete printer.cfg.

Both to your next post.

---

<div class="post-metadata">

**Author:** ![pete1](https://avatars.discourse-cdn.com/v4/letter/p/67e7ee/32.png) [@pete1](https://klipper.discourse.group/u/pete1)\
**Post date:** [October 13, 2024, 8:21pm UTC](https://klipper.discourse.group/t/after-beacon-calibrate-and-save-config-klipper-unable-to-recognise-default/19360/3 "2024-10-13T20:21:06Z")

</div>

Klippy log and printer.config as requested  
[klippy (20).zip](https://klipper.discourse.group/uploads/short-url/uYVJCW7wDQZg40sOZoBxbtx40y0.zip) (9.8 KB)

```auto
# This file contains common pin mappings for the BigTreeTech Octopus V1.
# To use this config, the firmware should be compiled for the STM32F446 with a "32KiB bootloader"
# Enable "extra low-level configuration options" and select the "12MHz crystal" as clock reference

# after running "make", copy the generated "klipper/out/klipper.bin" file to a
# file named "firmware.bin" on an SD card and then restart the OctoPus with that SD card.

# See docs/Config_Reference.md for a description of parameters.

## Voron Design VORON2 250/300/350mm BigTreeTech OctoPus V1 TMC2209 UART config

## ***THINGS TO CHANGE/CHECK:***
## MCU paths [mcu] section
## Thermistor types [extruder] and [heater_bed] sections - See https://www.klipper3d.org/Config_Reference.html#common-thermistors for common thermistor types
## Hotend heater pin [extruder] section
## Z Endstop Switch location [safe_z_home] section
## Homing end position [gcode_macro G32] section
## Z Endstop Switch offset for Z0 [stepper_z] section
## Stepper Z1 enable pin [stepper_z1] section
## Probe points [quad_gantry_level] section
## Min & Max gantry corner postions [quad_gantry_level] section
## PID tune [extruder] and [heater_bed] sections
## Probe pin [probe] section
## Fine tune E steps [extruder] section
[include btt_ebb-sb2240.cfg]
[include mainsail.cfg]
#[exclude_object]
#[include Adaptive_mesh.cfg]
#[include KAMP_Settings.cfg]
#[include voron_purge.cfg]
#[include line_purge.cfg]

[mcu]
## Obtain definition by "ls /dev/serial/by-id/*" then unplug to verify
##--------------------------------------------------------------------
serial: /dev/serial/by-id/usb-Klipper_stm32f446xx_060025000E5053424E363620-if00
restart_method: command
##--------------------------------------------------------------------

[printer]
kinematics: corexy
max_velocity: 300  
max_accel: 3000 #Max 4000
max_z_velocity: 15 #Max 15 for 12V TMC Drivers, can increase for 24V
max_z_accel: 350
square_corner_velocity: 5.0

#####################################################################
# X/Y Stepper Settings
#####################################################################

## B Stepper - Left
## Connected to MOTOR_0
## Endstop connected to DIAG_0
[stepper_x]
step_pin: PF13
dir_pin: PF12
enable_pin: !PF14
rotation_distance: 40
microsteps: 32
full_steps_per_rotation:400 #set to 400 for 0.9 degree stepper
endstop_pin: PG6
position_min: 0
##--------------------------------------------------------------------

## Uncomment below for 250mm build
#position_endstop: 250
#position_max: 250

## Uncomment for 300mm build
#position_endstop: 300
#position_max: 300

## Uncomment for 350mm build
position_endstop: 350
position_max: 350

##--------------------------------------------------------------------
homing_speed: 25 #Max 100
homing_retract_dist: 5
homing_positive_dir: true

## Make sure to update below for your relevant driver (2208 or 2209)
[tmc2209 stepper_x]
uart_pin: PC4
interpolate: false
run_current: 0.8
sense_resistor: 0.110
stealthchop_threshold: 0

## A Stepper - Right
## Connected to MOTOR_1
## Endstop connected to DIAG_1
[stepper_y]
step_pin: PG0
dir_pin: PG1
enable_pin: !PF15
rotation_distance: 40
microsteps: 32
full_steps_per_rotation:400 #set to 400 for 0.9 degree stepper
endstop_pin: PG9
position_min: 0
##--------------------------------------------------------------------

## Uncomment for 250mm build
#position_endstop: 250
#position_max: 250

## Uncomment for 300mm build
#position_endstop: 300
#position_max: 300

## Uncomment for 350mm build
position_endstop: 350
position_max: 350

##--------------------------------------------------------------------
homing_speed: 25 #Max 100
homing_retract_dist: 5
homing_positive_dir: true

## Make sure to update below for your relevant driver (2208 or 2209)
[tmc2209 stepper_y]
uart_pin: PD11
interpolate: false
run_current: 0.8
sense_resistor: 0.110
stealthchop_threshold: 0
 
#####################################################################
# Z Stepper Settings
#####################################################################

## Z0 Stepper - Front Left
## Connected to MOTOR_2
## Endstop connected to DIAG_2
[stepper_z]
step_pin: PF11
dir_pin: PG3
enable_pin: !PG5
rotation_distance: 40
gear_ratio: 80:16
microsteps: 32
endstop_pin: probe: z_virtual_endstop 
## Z-position of nozzle (in mm) to z-endstop trigger point relative to print surface (Z0)
## (+) value = endstop above Z0, (-) value = endstop below
## Increasing position_endstop brings nozzle closer to the bed
## After you run Z_ENDSTOP_CALIBRATE, position_endstop will be stored at the very end of your config
#position_endstop: 0
##--------------------------------------------------------------------

## Uncomment below for 250mm build
#position_max: 210

## Uncomment below for 300mm build
#position_max: 260

## Uncomment below for 350mm build
position_max: 350

##--------------------------------------------------------------------
position_min: -5
homing_speed: 8
second_homing_speed: 3
homing_retract_dist: 0 

## Make sure to update below for your relevant driver (2208 or 2209)
[tmc2209 stepper_z]
uart_pin: PC6
interpolate: false
run_current: 0.8
sense_resistor: 0.110
stealthchop_threshold: 0

## Z1 Stepper - Rear Left
## Connected to MOTOR_3
[stepper_z1]
step_pin: PG4
dir_pin: !PC1
## Octopus 1.0 & 1.1. Octopus PRO 1.0
enable_pin: !PA0
## Octopus PRO 1.1
#enable_pin: !PA2
rotation_distance: 40
gear_ratio: 80:16
microsteps: 32

## Make sure to update below for your relevant driver (2208 or 2209)
[tmc2209 stepper_z1]
uart_pin: PC7
interpolate: false
run_current: 0.8
sense_resistor: 0.110
stealthchop_threshold: 0

## Z2 Stepper - Rear Right
## Connected to MOTOR_4
[stepper_z2]
step_pin: PF9
dir_pin: PF10
enable_pin: !PG2
rotation_distance: 40
gear_ratio: 80:16
microsteps: 32

## Make sure to update below for your relevant driver (2208 or 2209)
[tmc2209 stepper_z2]
uart_pin: PF2
interpolate: false
run_current: 0.8
sense_resistor: 0.110
stealthchop_threshold: 0

## Z3 Stepper - Front Right
## Connected to MOTOR_5
[stepper_z3]
step_pin: PC13
dir_pin: !PF0
enable_pin: !PF1
rotation_distance: 40
gear_ratio: 80:16
microsteps: 32

## Make sure to update below for your relevant driver (2208 or 2209)
[tmc2209 stepper_z3]
uart_pin: PE4
interpolate: false
run_current: 0.8
sense_resistor: 0.110
stealthchop_threshold: 0

#####################################################################
# Extruder
#####################################################################

## Connected to MOTOR_6
## Heater - HE0
## Thermistor - T0
#[extruder]
#step_pin: PE2
#dir_pin: PE3
#enable_pin: !PD4
## Update value below when you perform extruder calibration
## If you ask for 100mm of filament, but in reality it is 98mm:
## rotation_distance = <previous_rotation_distance> * <actual_extrude_distance> / 100
## 22.6789511 is a good starting point
#rotation_distance: 22.6789511 #Bondtech 5mm Drive Gears
## Update Gear Ratio depending on your Extruder Type
## Use 50:10 for Stealthburner/Clockwork 2
## Use 50:17 for Afterburner/Clockwork (BMG Gear Ratio)
## Use 80:20 for M4, M3.1
#gear_ratio: 50:10
#microsteps: 32
#full_steps_per_rotation: 200 #200 for 1.8 degree, 400 for 0.9 degree
#nozzle_diameter: 0.400
#filament_diameter: 1.75
## Octopus 1.0 & 1.1. Octopus PRO 1.0
#heater_pin: PA2
## Octopus PRO 1.1
#heater_pin: PA0
## Check what thermistor type you have. See https://www.klipper3d.org/Config_Reference.html#common-thermistors for common thermistor types.
## Use "Generic 3950" for NTC 100k 3950 thermistors
#sensor_type: Generic 3950
#sensor_pin: PF4
#min_temp: -100
#max_temp: 270
#max_power: 1.0
#min_extrude_temp: 170
#control = pid
#pid_kp = 26.213
#pid_ki = 1.304
#pid_kd = 131.721
## Try to keep pressure_advance below 1.0
#pressure_advance: 0.05
## Default is 0.040, leave stock
#pressure_advance_smooth_time: 0.040

## E0 on MOTOR6
## Make sure to update below for your relevant driver (2208 or 2209)
#[tmc2209 extruder]
#uart_pin: PE1
#interpolate: false
#run_current: 0.5
#sense_resistor: 0.110
#stealthchop_threshold: 0

#####################################################################
# Bed Heater
#####################################################################

## SSR Pin - HE1
## Thermistor - TB
[heater_bed]
## Uncomment the following line if using the default SSR wiring from the docs site
heater_pin: PA3
## Other wiring guides may use BED_OUT to control the SSR. Uncomment the following line for those cases
#heater_pin: PA1
## Check what thermistor type you have. See https://www.klipper3d.org/Config_Reference.html#common-thermistors for common thermistor types.
## Use "Generic 3950" for Keenovo heaters
sensor_type: Generic 3950
sensor_pin: PF3
## Adjust max_power so it doesn't exceed the SSR rating. The Omron G3NA-210B-DC5 SSR is rated at 4 amps without a heatsink.
## The formula is "4 / (Wattage_of_bed_heater / Mains_voltage) = max_power"
## If max_power is greater than 1.0, use 1.0
max_power: 0.6
min_temp: 0
max_temp: 120
control: pid
pid_kp: 58.437
pid_ki: 2.347
pid_kd: 363.769

#####################################################################
# Probe
#####################################################################

[beacon]
serial: /dev/serial/by-id/usb-Beacon_Beacon_RevH_06F0EB985154364134202020FF142909-if00
x_offset: -20 # update with offset from nozzle on your machine
y_offset: 0 # update with offset from nozzle on your machine
mesh_main_direction: x
mesh_runs: 2

[safe_z_home]
home_xy_position: 175, 175 # update for your machine
z_hop: 3

[bed_mesh]
speed: 120
horizontal_move_z: 5
mesh_min: 10, 10
mesh_max: 300, 300
probe_count: 5, 3
mesh_pps: 2, 3
algorithm: bicubic
bicubic_tension: 0.2

## Inductive Probe
## This probe is not used for Z height, only Quad Gantry Leveling
##[probe]

#--------------------------------------------------------------------

## Select the probe port by type:
## For the PROBE port. Will not work with Diode. May need pull-up resistor from signal to 24V.
#pin: ~!PB7
## For the DIAG_7 port. NEEDS BAT85 DIODE! Change to !PG15 if probe is NO.
#pin: PG15
## For Octopus Pro PROBE port; NPN and PNP proximity switch types can be set by jumper
#pin: ~!PC5

#--------------------------------------------------------------------

#x_offset: 0
#y_offset: 25.0
#z_offset: 0
#speed: 10.0
#samples: 3
#samples_result: median
#sample_retract_dist: 3.0
#samples_tolerance: 0.006
#samples_tolerance_retries: 3

#####################################################################
# Fan Control
#####################################################################

## Print Cooling Fan - FAN0
#[fan]
#pin: PA8
#kick_start_time: 0.5
## Depending on your fan, you may need to increase this value
## if your fan will not start. Can change cycle_time (increase)
## if your fan is not able to slow down effectively
#off_below: 0.10

## Hotend Fan - FAN1
#[heater_fan hotend_fan]
#pin: PE5
#max_power: 1.0
#kick_start_time: 0.5
#heater: extruder
#heater_temp: 50.0
## If you are experiencing back flow, you can reduce fan_speed
#fan_speed: 1.0

## Controller fan - FAN2
[controller_fan controller_fan]
pin: PD12
kick_start_time: 0.5
heater: heater_bed

## Exhaust fan - FAN3
#[heater_fan exhaust_fan]
#pin: PD13
#max_power: 1.0
#shutdown_speed: 0.0
#kick_start_time: 5.0
#heater: heater_bed
#heater_temp: 60
#fan_speed: 1.0

#####################################################################
# LED Control
#####################################################################

## Chamber Lighting - HE2 Connector (Optional)
#[output_pin caselight]
##Octopus 1.0 & 1.1, Octopus PRO 1.0
#pin: PB10
##Octopus PRO 1.1
#pin: PB0
#pwm:true
#shutdown_value: 0
#value:1
#cycle_time: 0.01

#####################################################################
# Homing and Gantry Adjustment Routines
#####################################################################

[idle_timeout]
timeout: 1800

## Use QUAD_GANTRY_LEVEL to level a gantry.
## Min & Max gantry corners - measure from nozzle at MIN (0,0) and 
## MAX (250, 250), (300,300), or (350,350) depending on your printer size
## to respective belt positions

#--------------------------------------------------------------------
## Gantry Corners for 250mm Build
## Uncomment for 250mm build
#gantry_corners:
# -60,-10
# 310, 320
## Probe points
#points:
# 50,25
# 50,175
# 200,175
# 200,25
    
## Gantry Corners for 300mm Build
## Uncomment for 300mm build
#gantry_corners:
# -60,-10
# 360,370
## Probe points
#points:
# 50,25
# 50,225
# 250,225
# 250,25

## Gantry Corners for 350mm Build
## Uncomment for 350mm build
#gantry_corners:
  #-60,-10
   #410,420
## Probe points
#points:
  #50,25
  #50,275
  #300,275
  #300,25

#--------------------------------------------------------------------
#speed: 100
#horizontal_move_z: 10
#retries: 5
#retry_tolerance: 0.0075
#max_adjust: 10

########################################
# EXP1 / EXP2 (display) pins
########################################

[board_pins]
aliases:
    # EXP1 header
    EXP1_1=PE8, EXP1_2=PE7,
    EXP1_3=PE9, EXP1_4=PE10,
    EXP1_5=PE12, EXP1_6=PE13, # Slot in the socket on this side
    EXP1_7=PE14, EXP1_8=PE15,
    EXP1_9=<GND>, EXP1_10=<5V>,

    # EXP2 header
    EXP2_1=PA6, EXP2_2=PA5,
    EXP2_3=PB1, EXP2_4=PA4,
    EXP2_5=PB2, EXP2_6=PA7, # Slot in the socket on this side
    EXP2_7=PC15, EXP2_8=<RST>,
    EXP2_9=<GND>, EXP2_10=<5V>

#####################################################################
# Displays
#####################################################################

## Uncomment the display that you have
#--------------------------------------------------------------------

## RepRapDiscount 128x64 Full Graphic Smart Controller
#[display]
#lcd_type: st7920
#cs_pin: EXP1_4
#sclk_pin: EXP1_5
#sid_pin: EXP1_3
#menu_timeout: 40
#encoder_pins: ^EXP2_5, ^EXP2_3
#click_pin: ^!EXP1_2

#[output_pin beeper]
#pin: EXP1_1

#--------------------------------------------------------------------

## mini12864 LCD Display
#[display]
#lcd_type: uc1701
#cs_pin: EXP1_3
#a0_pin: EXP1_4
#rst_pin: EXP1_5
#encoder_pins: ^EXP2_5, ^EXP2_3
#click_pin: ^!EXP1_2
#contrast: 63
#spi_software_miso_pin: EXP2_1
#spi_software_mosi_pin: EXP2_6
#spi_software_sclk_pin: EXP2_2

## To control Neopixel RGB in mini12864 display
#[neopixel btt_mini12864]
#pin: EXP1_6
#chain_count: 3
#initial_RED: 0.1
#initial_GREEN: 0.5
#initial_BLUE: 0.0
#color_order: RGB

## Set RGB values on boot up for each Neopixel. 
## Index 1 = display, Index 2 and 3 = Knob
#[delayed_gcode setdisplayneopixel]
#initial_duration: 1
#gcode:
# SET_LED LED=btt_mini12864 RED=1 GREEN=1 BLUE=1 INDEX=1 TRANSMIT=0
# SET_LED LED=btt_mini12864 RED=1 GREEN=0 BLUE=0 INDEX=2 TRANSMIT=0
# SET_LED LED=btt_mini12864 RED=1 GREEN=0 BLUE=0 INDEX=3 

#--------------------------------------------------------------------

#####################################################################
# Macros
#####################################################################
[gcode_macro PARK]
gcode:
    {% set th = printer.toolhead %}
    G0 X{th.axis_maximum.x//2} Y{th.axis_maximum.y//2} Z30  

[gcode_macro G32]
gcode:
    SAVE_GCODE_STATE NAME=STATE_G32
    G90
    G28
    QUAD_GANTRY_LEVEL
    G28
    PARK
    RESTORE_GCODE_STATE NAME=STATE_G32
   
[gcode_macro PRINT_START]
# Use PRINT_START for the slicer starting script - please customise for your slicer of choice
gcode:
    G32 ; home all axes
    G90 ; absolute positioning
    G1 Z20 F3000 ; move nozzle away from bed
    bed_mesh_clear
    Bed_mesh_calibrate
    voron_purge
    line_purge

[gcode_macro PRINT_END]
# Use PRINT_END for the slicer ending script - please customise for your slicer of choice
gcode:
    # safe anti-stringing move coords
    {% set th = printer.toolhead %}
    {% set x_safe = th.position.x + 20 * (1 if th.axis_maximum.x - th.position.x > 20 else -1) %}
    {% set y_safe = th.position.y + 20 * (1 if th.axis_maximum.y - th.position.y > 20 else -1) %}
    {% set z_safe = [th.position.z + 2, th.axis_maximum.z]|min %}
    
    SAVE_GCODE_STATE NAME=STATE_PRINT_END

    M400 ; wait for buffer to clear
    G92 E0 ; zero the extruder
    G1 E-5.0 F1800 ; retract filament
    
    TURN_OFF_HEATERS

    G90 ; absolute positioning
    G0 X{x_safe} Y{y_safe} Z{z_safe} F20000 ; move nozzle to remove stringing
    G0 X{th.axis_maximum.x//2} Y{th.axis_maximum.y - 2} F3600 ; park nozzle at rear
    M107 ; turn off fan
    
    BED_MESH_CLEAR

    # The purpose of the SAVE_GCODE_STATE/RESTORE_GCODE_STATE
    # command pair is to restore the printer's coordinate system
    # and speed settings since the commands above change them.
    # However, to prevent any accidental, unintentional toolhead
    # moves when restoring the state, explicitly set MOVE=0.
    RESTORE_GCODE_STATE NAME=STATE_PRINT_END MOVE=0

#*# <---------------------- SAVE_CONFIG ---------------------->
#*# DO NOT EDIT THIS BLOCK OR BELOW. The contents are auto-generated.+
#*# reg_drive_current = 15

#*# <---------------------- SAVE_CONFIG ---------------------->
#*# DO NOT EDIT THIS BLOCK OR BELOW. The contents are auto-generated.
#*#
#*# [beacon model default]
#*# model_coef = 1.7411078741184864,
#*# 2.0282736731701902,
#*# 0.6862528830345038,
#*# 0.3486093067747865,
#*# 0.16530108376973393,
#*# -0.12163665562446468,
#*# -0.05862986736543908,
#*# 0.2452631713667019,
#*# 0.06819765879742178,
#*# -0.09611906443345801
#*# model_domain = 1.9240001689671922e-07,1.94294272461105e-07
#*# model_range = 0.200000,5.000000
#*# model_temp = 22.748053
#*# model_offset = 0.00000

#*# <---------------------- SAVE_CONFIG ---------------------->
#*# DO NOT EDIT THIS BLOCK OR BELOW. The contents are auto-generated.
#*#
#*# [beacon model default]
#*# model_coef = 1.7067806489191413,
#*# 2.012188591634574,
#*# 0.6926714877472473,
#*# 0.3119900200087614,
#*# 0.20334153899145777,
#*# -0.022593663079803088,
#*# -0.06994937379891607,
#*# 0.16887774609529993,
#*# 0.0722456879061055,
#*# -0.06351006089271206
#*# model_domain = 1.915421321607789e-07,1.9411589290898408e-07
#*# model_range = 0.200000,5.000000
#*# model_temp = 17.426948
#*# model_offset = 0.00000

#*# <---------------------- SAVE_CONFIG ---------------------->
#*# DO NOT EDIT THIS BLOCK OR BELOW. The contents are auto-generated.
#*#
#*# [beacon model default]
#*# model_coef = 1.7614442812018936,
#*# 2.0473591186310696,
#*# 0.7168272264936951,
#*# 0.39628061141359183,
#*# 0.01313507143947696,
#*# -0.38121931711807944,
#*# 0.13172756012761982,
#*# 0.6002881682710194,
#*# -0.017420273453729623,
#*# -0.2545809693853755
#*# model_domain = 1.9269679204207e-07,1.9435768235056183e-07
#*# model_range = 0.200000,5.000000
#*# model_temp = 18.089880
#*# model_offset = 0.00000

#*# <---------------------- SAVE_CONFIG ---------------------->
#*# DO NOT EDIT THIS BLOCK OR BELOW. The contents are auto-generated.
#*#
#*# [beacon model default]
#*# model_coef = 1.7055151835074758,
#*# 2.0126615352461403,
#*# 0.681363527234212,
#*# 0.27721032699374687,
#*# 0.2677438651147289,
#*# 0.16261667108254918,
#*# -0.19160765825537743,
#*# -0.12905302471922508,
#*# 0.1412986768176732,
#*# 0.08518811226089557
#*# model_domain = 1.9162979251029213e-07,1.9413117887102388e-07
#*# model_range = 0.200000,5.000000
#*# model_temp = 22.418298
#*# model_offset = 0.00000

#*# <---------------------- SAVE_CONFIG ---------------------->
#*# DO NOT EDIT THIS BLOCK OR BELOW. The contents are auto-generated.
#*#
#*# [beacon model default]
#*# model_coef = 1.6970372354317966,
#*# 1.996812336360698,
#*# 0.7013133262000886,
#*# 0.2471918104863108,
#*# 0.19667592740612264,
#*# 0.2591509556382915,
#*# -0.06255297032824234,
#*# -0.18891323110393396,
#*# 0.07103259075263532,
#*# 0.09118200068818301
#*# model_domain = 1.9125193410486744e-07,1.9405542164927475e-07
#*# model_range = 0.200000,5.000000
#*# model_temp = 22.883046
#*# model_offset = 0.00000

#*# <---------------------- SAVE_CONFIG ---------------------->
#*# DO NOT EDIT THIS BLOCK OR BELOW. The contents are auto-generated.
#*#
#*# [beacon model default]
#*# model_coef = 1.7138732037276572,
#*# 2.0034022701461596,
#*# 0.7041446918390303,
#*# 0.30667724721363016,
#*# 0.14930539049244385,
#*# 0.10751009214461864,
#*# -0.006789349200466126,
#*# -0.0470556392104273,
#*# 0.04277715934782651,
#*# 0.0351523927017796
#*# model_domain = 1.9175819325865713e-07,1.941554600818759e-07
#*# model_range = 0.200000,5.000000
#*# model_temp = 23.380527
#*# model_offset = 0.00000

#*# <---------------------- SAVE_CONFIG ---------------------->
#*# DO NOT EDIT THIS BLOCK OR BELOW. The contents are auto-generated.
#*#
#*# [beacon model default]
#*# model_coef = 1.7427534471474244,
#*# 2.0479603806709905,
#*# 0.6795041008104327,
#*# 0.256577892886551,
#*# 0.21476321214624003,
#*# 0.15306741946285482,
#*# -0.13597213587105095,
#*# -0.10238405719770477,
#*# 0.10168745460437788,
#*# 0.051597440302921856
#*# model_domain = 1.9242412144881197e-07,1.943308580498378e-07
#*# model_range = 0.200000,5.000000
#*# model_temp = 20.624486
#*# model_offset = 0.00000
#*#
#*# [bed_mesh default]
#*# version = 1
#*# points =
#*# -0.808022, -0.685457, -0.620456, -0.537661, -0.418332
#*# 0.372761, 0.154378, -0.054844, -0.227493, -0.360822
#*# 1.362267, 0.979261, 0.539283, 0.086328, -0.130129
#*# x_count = 5
#*# y_count = 3
#*# mesh_x_pps = 2
#*# mesh_y_pps = 2
#*# algo = lagrange
#*# tension = 0.2
#*# min_x = 5.0
#*# max_x = 310.0
#*# min_y = 5.0
#*# max_y = 310.0

#*# <---------------------- SAVE_CONFIG ---------------------->
#*# DO NOT EDIT THIS BLOCK OR BELOW. The contents are auto-generated.
#*#
#*# [beacon model default]
#*# model_coef = 1.6907648131225812,
#*# 1.9766848887014146,
#*# 0.7013804773249704,
#*# 0.34017875253421187,
#*# 0.16670689623999116,
#*# 0.017904562865218087,
#*# 0.004592282954174283,
#*# 0.07186101641119913,
#*# 0.03827998394000279,
#*# -0.002774969253180517
#*# model_domain = 1.9093146680793573e-07,1.9402355920135718e-07
#*# model_range = 0.200000,5.000000
#*# model_temp = 20.789928
#*# model_offset = 0.00000
#*#
#*# [bed_mesh default]
#*# version = 1
#*# points =
#*# -0.691960, -0.606158, -0.556534, -0.469763, -0.329971
#*# 0.423036, 0.200318, -0.004589, -0.174587, -0.292900
#*# 1.412675, 1.022134, 0.585692, 0.141770, -0.056444
#*# x_count = 5
#*# y_count = 3
#*# mesh_x_pps = 2
#*# mesh_y_pps = 2
#*# algo = lagrange
#*# tension = 0.2
#*# min_x = 5.0
#*# max_x = 310.0
#*# min_y = 5.0
#*# max_y = 310.0

#*# <---------------------- SAVE_CONFIG ---------------------->
#*# DO NOT EDIT THIS BLOCK OR BELOW. The contents are auto-generated.
#*#
#*# [beacon model default]
#*# model_coef = 1.682772670823201,
#*# 1.971610789976209,
#*# 0.6909513221065361,
#*# 0.3280226916794054,
#*# 0.1945783028203591,
#*# 0.060408184043791315,
#*# -0.00899956945603164,
#*# 0.05116785179219562,
#*# 0.04154129453476751,
#*# -0.006786246656079006
#*# model_domain = 1.9072210099147046e-07,1.9398653418160353e-07
#*# model_range = 0.200000,5.000000
#*# model_temp = 22.024338
#*# model_offset = 0.00000
#*#
#*# [bed_mesh default]
#*# version = 1
#*# points =
#*# -0.607388, -0.549764, -0.511448, -0.438259, -0.297314
#*# 0.412229, 0.203914, 0.012126, -0.144278, -0.254201
#*# 1.324851, 0.970689, 0.568767, 0.162417, -0.035212
#*# x_count = 5
#*# y_count = 3
#*# mesh_x_pps = 2
#*# mesh_y_pps = 2
#*# algo = lagrange
#*# tension = 0.2
#*# min_x = 10.0
#*# max_x = 300.0
#*# min_y = 10.0
#*# max_y = 300.0

#*# <---------------------- SAVE_CONFIG ---------------------->
#*# DO NOT EDIT THIS BLOCK OR BELOW. The contents are auto-generated.
#*#
#*# [beacon model default]
#*# model_coef = 1.6866412922095426,
#*# 1.9736809327161986,
#*# 0.6807035951950957,
#*# 0.30613972342144596,
#*# 0.23130102848878253,
#*# 0.16004947199847477,
#*# -0.07079576527962453,
#*# -0.1120383520654977,
#*# 0.07396622433721763,
#*# 0.07706357059550537
#*# model_domain = 1.90739737390908e-07,1.9398956672238156e-07
#*# model_range = 0.200000,5.000000
#*# model_temp = 23.418544
#*# model_offset = 0.00000
#*#
#*# [bed_mesh default]
#*# version = 1
#*# points =
#*# -0.598195, -0.539282, -0.501455, -0.431144, -0.295663
#*# 0.409153, 0.200007, 0.008834, -0.147293, -0.259983
#*# 1.311845, 0.956247, 0.554468, 0.148269, -0.046679
#*# x_count = 5
#*# y_count = 3
#*# mesh_x_pps = 2
#*# mesh_y_pps = 3
#*# algo = lagrange
#*# tension = 0.2
#*# min_x = 10.0
#*# max_x = 300.0
#*# min_y = 10.0
#*# max_y = 300.0

#*# <---------------------- SAVE_CONFIG ---------------------->
#*# DO NOT EDIT THIS BLOCK OR BELOW. The contents are auto-generated.
#*#
#*# [beacon model default]
#*# model_coef = 1.692625508502522,
#*# 1.9779147624532591,
#*# 0.651592476521398,
#*# 0.2871243223497995,
#*# 0.33012070899153356,
#*# 0.1819285534728437,
#*# -0.22096522497204713,
#*# -0.12649524857836372,
#*# 0.14836284196944036,
#*# 0.08391052674543667
#*# model_domain = 1.9082333987938336e-07,1.9400658866095255e-07
#*# model_range = 0.200000,5.000000
#*# model_temp = 20.329977
#*# model_offset = 0.00000

```

---

<div class="post-metadata">

**Author:** ![EddyMI3D](https://yyz2.discourse-cdn.com/free1/user_avatar/klipper.discourse.group/eddymi3d/32/1981_2.png) [@EddyMI3D](https://klipper.discourse.group/u/EddyMI3D)\
**Post date:** [October 14, 2024, 3:13am UTC](https://klipper.discourse.group/t/after-beacon-calibrate-and-save-config-klipper-unable-to-recognise-default/19360/4 "2024-10-14T03:13:20Z")

</div>

Please also the printer.cfg as a file! and not Copy & Paste.

At least use the `Preformatted Text` feature of the forum editor.

![Format](https://global.discourse-cdn.com/free1/uploads/klipper/original/2X/6/643ab9def96b03089cfb0c194628129fcc96b3f8.png)

The way you did it, the data is not usable at all.

BTW: You have 12 (!) config blocks. That can not work.

---

<div class="post-metadata">

**Author:** ![pete1](https://avatars.discourse-cdn.com/v4/letter/p/67e7ee/32.png) [@pete1](https://klipper.discourse.group/u/pete1)\
**Post date:** [October 14, 2024, 8:00pm UTC](https://klipper.discourse.group/t/after-beacon-calibrate-and-save-config-klipper-unable-to-recognise-default/19360/5 "2024-10-14T20:00:23Z")

</div>

```auto
# This file contains common pin mappings for the BigTreeTech Octopus V1.
# To use this config, the firmware should be compiled for the STM32F446 with a "32KiB bootloader"
# Enable "extra low-level configuration options" and select the "12MHz crystal" as clock reference

# after running "make", copy the generated "klipper/out/klipper.bin" file to a
# file named "firmware.bin" on an SD card and then restart the OctoPus with that SD card.

# See docs/Config_Reference.md for a description of parameters.

## Voron Design VORON2 250/300/350mm BigTreeTech OctoPus V1 TMC2209 UART config

## ***THINGS TO CHANGE/CHECK:***
## MCU paths [mcu] section
## Thermistor types [extruder] and [heater_bed] sections - See https://www.klipper3d.org/Config_Reference.html#common-thermistors for common thermistor types
## Hotend heater pin [extruder] section
## Z Endstop Switch location [safe_z_home] section
## Homing end position [gcode_macro G32] section
## Z Endstop Switch offset for Z0 [stepper_z] section
## Stepper Z1 enable pin [stepper_z1] section
## Probe points [quad_gantry_level] section
## Min & Max gantry corner postions [quad_gantry_level] section
## PID tune [extruder] and [heater_bed] sections
## Probe pin [probe] section
## Fine tune E steps [extruder] section
[include btt_ebb-sb2240.cfg]
[include mainsail.cfg]
#[exclude_object]
#[include Adaptive_mesh.cfg]
#[include KAMP_Settings.cfg]
#[include voron_purge.cfg]
#[include line_purge.cfg]

[mcu]
## Obtain definition by "ls /dev/serial/by-id/*" then unplug to verify
##--------------------------------------------------------------------
serial: /dev/serial/by-id/usb-Klipper_stm32f446xx_060025000E5053424E363620-if00
restart_method: command
##--------------------------------------------------------------------

[printer]
kinematics: corexy
max_velocity: 300  
max_accel: 3000 #Max 4000
max_z_velocity: 15 #Max 15 for 12V TMC Drivers, can increase for 24V
max_z_accel: 350
square_corner_velocity: 5.0

#####################################################################
# X/Y Stepper Settings
#####################################################################

## B Stepper - Left
## Connected to MOTOR_0
## Endstop connected to DIAG_0
[stepper_x]
step_pin: PF13
dir_pin: PF12
enable_pin: !PF14
rotation_distance: 40
microsteps: 32
full_steps_per_rotation:400 #set to 400 for 0.9 degree stepper
endstop_pin: PG6
position_min: 0
##--------------------------------------------------------------------

## Uncomment below for 250mm build
#position_endstop: 250
#position_max: 250

## Uncomment for 300mm build
#position_endstop: 300
#position_max: 300

## Uncomment for 350mm build
position_endstop: 350
position_max: 350

##--------------------------------------------------------------------
homing_speed: 25 #Max 100
homing_retract_dist: 5
homing_positive_dir: true

## Make sure to update below for your relevant driver (2208 or 2209)
[tmc2209 stepper_x]
uart_pin: PC4
interpolate: false
run_current: 0.8
sense_resistor: 0.110
stealthchop_threshold: 0

## A Stepper - Right
## Connected to MOTOR_1
## Endstop connected to DIAG_1
[stepper_y]
step_pin: PG0
dir_pin: PG1
enable_pin: !PF15
rotation_distance: 40
microsteps: 32
full_steps_per_rotation:400 #set to 400 for 0.9 degree stepper
endstop_pin: PG9
position_min: 0
##--------------------------------------------------------------------

## Uncomment for 250mm build
#position_endstop: 250
#position_max: 250

## Uncomment for 300mm build
#position_endstop: 300
#position_max: 300

## Uncomment for 350mm build
position_endstop: 350
position_max: 350

##--------------------------------------------------------------------
homing_speed: 25 #Max 100
homing_retract_dist: 5
homing_positive_dir: true

## Make sure to update below for your relevant driver (2208 or 2209)
[tmc2209 stepper_y]
uart_pin: PD11
interpolate: false
run_current: 0.8
sense_resistor: 0.110
stealthchop_threshold: 0
 
#####################################################################
# Z Stepper Settings
#####################################################################

## Z0 Stepper - Front Left
## Connected to MOTOR_2
## Endstop connected to DIAG_2
[stepper_z]
step_pin: PF11
dir_pin: PG3
enable_pin: !PG5
rotation_distance: 40
gear_ratio: 80:16
microsteps: 32
endstop_pin: probe: z_virtual_endstop 
## Z-position of nozzle (in mm) to z-endstop trigger point relative to print surface (Z0)
## (+) value = endstop above Z0, (-) value = endstop below
## Increasing position_endstop brings nozzle closer to the bed
## After you run Z_ENDSTOP_CALIBRATE, position_endstop will be stored at the very end of your config
#position_endstop: 0
##--------------------------------------------------------------------

## Uncomment below for 250mm build
#position_max: 210

## Uncomment below for 300mm build
#position_max: 260

## Uncomment below for 350mm build
position_max: 350

##--------------------------------------------------------------------
position_min: -5
homing_speed: 8
second_homing_speed: 3
homing_retract_dist: 0 

## Make sure to update below for your relevant driver (2208 or 2209)
[tmc2209 stepper_z]
uart_pin: PC6
interpolate: false
run_current: 0.8
sense_resistor: 0.110
stealthchop_threshold: 0

## Z1 Stepper - Rear Left
## Connected to MOTOR_3
[stepper_z1]
step_pin: PG4
dir_pin: !PC1
## Octopus 1.0 & 1.1. Octopus PRO 1.0
enable_pin: !PA0
## Octopus PRO 1.1
#enable_pin: !PA2
rotation_distance: 40
gear_ratio: 80:16
microsteps: 32

## Make sure to update below for your relevant driver (2208 or 2209)
[tmc2209 stepper_z1]
uart_pin: PC7
interpolate: false
run_current: 0.8
sense_resistor: 0.110
stealthchop_threshold: 0

## Z2 Stepper - Rear Right
## Connected to MOTOR_4
[stepper_z2]
step_pin: PF9
dir_pin: PF10
enable_pin: !PG2
rotation_distance: 40
gear_ratio: 80:16
microsteps: 32

## Make sure to update below for your relevant driver (2208 or 2209)
[tmc2209 stepper_z2]
uart_pin: PF2
interpolate: false
run_current: 0.8
sense_resistor: 0.110
stealthchop_threshold: 0

## Z3 Stepper - Front Right
## Connected to MOTOR_5
[stepper_z3]
step_pin: PC13
dir_pin: !PF0
enable_pin: !PF1
rotation_distance: 40
gear_ratio: 80:16
microsteps: 32

## Make sure to update below for your relevant driver (2208 or 2209)
[tmc2209 stepper_z3]
uart_pin: PE4
interpolate: false
run_current: 0.8
sense_resistor: 0.110
stealthchop_threshold: 0

#####################################################################
# Extruder
#####################################################################

## Connected to MOTOR_6
## Heater - HE0
## Thermistor - T0
#[extruder]
#step_pin: PE2
#dir_pin: PE3
#enable_pin: !PD4
## Update value below when you perform extruder calibration
## If you ask for 100mm of filament, but in reality it is 98mm:
## rotation_distance = <previous_rotation_distance> * <actual_extrude_distance> / 100
## 22.6789511 is a good starting point
#rotation_distance: 22.6789511 #Bondtech 5mm Drive Gears
## Update Gear Ratio depending on your Extruder Type
## Use 50:10 for Stealthburner/Clockwork 2
## Use 50:17 for Afterburner/Clockwork (BMG Gear Ratio)
## Use 80:20 for M4, M3.1
#gear_ratio: 50:10
#microsteps: 32
#full_steps_per_rotation: 200 #200 for 1.8 degree, 400 for 0.9 degree
#nozzle_diameter: 0.400
#filament_diameter: 1.75
## Octopus 1.0 & 1.1. Octopus PRO 1.0
#heater_pin: PA2
## Octopus PRO 1.1
#heater_pin: PA0
## Check what thermistor type you have. See https://www.klipper3d.org/Config_Reference.html#common-thermistors for common thermistor types.
## Use "Generic 3950" for NTC 100k 3950 thermistors
#sensor_type: Generic 3950
#sensor_pin: PF4
#min_temp: -100
#max_temp: 270
#max_power: 1.0
#min_extrude_temp: 170
#control = pid
#pid_kp = 26.213
#pid_ki = 1.304
#pid_kd = 131.721
## Try to keep pressure_advance below 1.0
#pressure_advance: 0.05
## Default is 0.040, leave stock
#pressure_advance_smooth_time: 0.040

## E0 on MOTOR6
## Make sure to update below for your relevant driver (2208 or 2209)
#[tmc2209 extruder]
#uart_pin: PE1
#interpolate: false
#run_current: 0.5
#sense_resistor: 0.110
#stealthchop_threshold: 0

#####################################################################
# Bed Heater
#####################################################################

## SSR Pin - HE1
## Thermistor - TB
[heater_bed]
## Uncomment the following line if using the default SSR wiring from the docs site
heater_pin: PA3
## Other wiring guides may use BED_OUT to control the SSR. Uncomment the following line for those cases
#heater_pin: PA1
## Check what thermistor type you have. See https://www.klipper3d.org/Config_Reference.html#common-thermistors for common thermistor types.
## Use "Generic 3950" for Keenovo heaters
sensor_type: Generic 3950
sensor_pin: PF3
## Adjust max_power so it doesn't exceed the SSR rating. The Omron G3NA-210B-DC5 SSR is rated at 4 amps without a heatsink.
## The formula is "4 / (Wattage_of_bed_heater / Mains_voltage) = max_power"
## If max_power is greater than 1.0, use 1.0
max_power: 0.6
min_temp: 0
max_temp: 120
control: pid
pid_kp: 58.437
pid_ki: 2.347
pid_kd: 363.769

#####################################################################
# Probe
#####################################################################

[beacon]
serial: /dev/serial/by-id/usb-Beacon_Beacon_RevH_06F0EB985154364134202020FF142909-if00
x_offset: -20 # update with offset from nozzle on your machine
y_offset: 0 # update with offset from nozzle on your machine
mesh_main_direction: x
mesh_runs: 2

[safe_z_home]
home_xy_position: 175, 175 # update for your machine
z_hop: 3

[bed_mesh]
speed: 120
horizontal_move_z: 5
mesh_min: 10, 10
mesh_max: 300, 300
probe_count: 5, 3
mesh_pps: 2, 3
algorithm: bicubic
bicubic_tension: 0.2

## Inductive Probe
## This probe is not used for Z height, only Quad Gantry Leveling
##[probe]

#--------------------------------------------------------------------

## Select the probe port by type:
## For the PROBE port. Will not work with Diode. May need pull-up resistor from signal to 24V.
#pin: ~!PB7
## For the DIAG_7 port. NEEDS BAT85 DIODE! Change to !PG15 if probe is NO.
#pin: PG15
## For Octopus Pro PROBE port; NPN and PNP proximity switch types can be set by jumper
#pin: ~!PC5

#--------------------------------------------------------------------

#x_offset: 0
#y_offset: 25.0
#z_offset: 0
#speed: 10.0
#samples: 3
#samples_result: median
#sample_retract_dist: 3.0
#samples_tolerance: 0.006
#samples_tolerance_retries: 3

#####################################################################
# Fan Control
#####################################################################

## Print Cooling Fan - FAN0
#[fan]
#pin: PA8
#kick_start_time: 0.5
## Depending on your fan, you may need to increase this value
## if your fan will not start. Can change cycle_time (increase)
## if your fan is not able to slow down effectively
#off_below: 0.10

## Hotend Fan - FAN1
#[heater_fan hotend_fan]
#pin: PE5
#max_power: 1.0
#kick_start_time: 0.5
#heater: extruder
#heater_temp: 50.0
## If you are experiencing back flow, you can reduce fan_speed
#fan_speed: 1.0

## Controller fan - FAN2
[controller_fan controller_fan]
pin: PD12
kick_start_time: 0.5
heater: heater_bed

## Exhaust fan - FAN3
#[heater_fan exhaust_fan]
#pin: PD13
#max_power: 1.0
#shutdown_speed: 0.0
#kick_start_time: 5.0
#heater: heater_bed
#heater_temp: 60
#fan_speed: 1.0

#####################################################################
# LED Control
#####################################################################

## Chamber Lighting - HE2 Connector (Optional)
#[output_pin caselight]
##Octopus 1.0 & 1.1, Octopus PRO 1.0
#pin: PB10
##Octopus PRO 1.1
#pin: PB0
#pwm:true
#shutdown_value: 0
#value:1
#cycle_time: 0.01

#####################################################################
# Homing and Gantry Adjustment Routines
#####################################################################

[idle_timeout]
timeout: 1800

## Use QUAD_GANTRY_LEVEL to level a gantry.
## Min & Max gantry corners - measure from nozzle at MIN (0,0) and 
## MAX (250, 250), (300,300), or (350,350) depending on your printer size
## to respective belt positions

#--------------------------------------------------------------------
## Gantry Corners for 250mm Build
## Uncomment for 250mm build
#gantry_corners:
# -60,-10
# 310, 320
## Probe points
#points:
# 50,25
# 50,175
# 200,175
# 200,25
    
## Gantry Corners for 300mm Build
## Uncomment for 300mm build
#gantry_corners:
# -60,-10
# 360,370
## Probe points
#points:
# 50,25
# 50,225
# 250,225
# 250,25

## Gantry Corners for 350mm Build
## Uncomment for 350mm build
#gantry_corners:
  #-60,-10
   #410,420
## Probe points
#points:
  #50,25
  #50,275
  #300,275
  #300,25

#--------------------------------------------------------------------
#speed: 100
#horizontal_move_z: 10
#retries: 5
#retry_tolerance: 0.0075
#max_adjust: 10

########################################
# EXP1 / EXP2 (display) pins
########################################

[board_pins]
aliases:
    # EXP1 header
    EXP1_1=PE8, EXP1_2=PE7,
    EXP1_3=PE9, EXP1_4=PE10,
    EXP1_5=PE12, EXP1_6=PE13, # Slot in the socket on this side
    EXP1_7=PE14, EXP1_8=PE15,
    EXP1_9=<GND>, EXP1_10=<5V>,

    # EXP2 header
    EXP2_1=PA6, EXP2_2=PA5,
    EXP2_3=PB1, EXP2_4=PA4,
    EXP2_5=PB2, EXP2_6=PA7, # Slot in the socket on this side
    EXP2_7=PC15, EXP2_8=<RST>,
    EXP2_9=<GND>, EXP2_10=<5V>

#####################################################################
# Displays
#####################################################################

## Uncomment the display that you have
#--------------------------------------------------------------------

## RepRapDiscount 128x64 Full Graphic Smart Controller
#[display]
#lcd_type: st7920
#cs_pin: EXP1_4
#sclk_pin: EXP1_5
#sid_pin: EXP1_3
#menu_timeout: 40
#encoder_pins: ^EXP2_5, ^EXP2_3
#click_pin: ^!EXP1_2

#[output_pin beeper]
#pin: EXP1_1

#--------------------------------------------------------------------

## mini12864 LCD Display
#[display]
#lcd_type: uc1701
#cs_pin: EXP1_3
#a0_pin: EXP1_4
#rst_pin: EXP1_5
#encoder_pins: ^EXP2_5, ^EXP2_3
#click_pin: ^!EXP1_2
#contrast: 63
#spi_software_miso_pin: EXP2_1
#spi_software_mosi_pin: EXP2_6
#spi_software_sclk_pin: EXP2_2

## To control Neopixel RGB in mini12864 display
#[neopixel btt_mini12864]
#pin: EXP1_6
#chain_count: 3
#initial_RED: 0.1
#initial_GREEN: 0.5
#initial_BLUE: 0.0
#color_order: RGB

## Set RGB values on boot up for each Neopixel. 
## Index 1 = display, Index 2 and 3 = Knob
#[delayed_gcode setdisplayneopixel]
#initial_duration: 1
#gcode:
# SET_LED LED=btt_mini12864 RED=1 GREEN=1 BLUE=1 INDEX=1 TRANSMIT=0
# SET_LED LED=btt_mini12864 RED=1 GREEN=0 BLUE=0 INDEX=2 TRANSMIT=0
# SET_LED LED=btt_mini12864 RED=1 GREEN=0 BLUE=0 INDEX=3 

#--------------------------------------------------------------------

#####################################################################
# Macros
#####################################################################
[gcode_macro PARK]
gcode:
    {% set th = printer.toolhead %}
    G0 X{th.axis_maximum.x//2} Y{th.axis_maximum.y//2} Z30  

[gcode_macro G32]
gcode:
    SAVE_GCODE_STATE NAME=STATE_G32
    G90
    G28
    QUAD_GANTRY_LEVEL
    G28
    PARK
    RESTORE_GCODE_STATE NAME=STATE_G32
   
[gcode_macro PRINT_START]
# Use PRINT_START for the slicer starting script - please customise for your slicer of choice
gcode:
    G32 ; home all axes
    G90 ; absolute positioning
    G1 Z20 F3000 ; move nozzle away from bed
    bed_mesh_clear
    Bed_mesh_calibrate
    voron_purge
    line_purge

[gcode_macro PRINT_END]
# Use PRINT_END for the slicer ending script - please customise for your slicer of choice
gcode:
    # safe anti-stringing move coords
    {% set th = printer.toolhead %}
    {% set x_safe = th.position.x + 20 * (1 if th.axis_maximum.x - th.position.x > 20 else -1) %}
    {% set y_safe = th.position.y + 20 * (1 if th.axis_maximum.y - th.position.y > 20 else -1) %}
    {% set z_safe = [th.position.z + 2, th.axis_maximum.z]|min %}
    
    SAVE_GCODE_STATE NAME=STATE_PRINT_END

    M400 ; wait for buffer to clear
    G92 E0 ; zero the extruder
    G1 E-5.0 F1800 ; retract filament
    
    TURN_OFF_HEATERS

    G90 ; absolute positioning
    G0 X{x_safe} Y{y_safe} Z{z_safe} F20000 ; move nozzle to remove stringing
    G0 X{th.axis_maximum.x//2} Y{th.axis_maximum.y - 2} F3600 ; park nozzle at rear
    M107 ; turn off fan
    
    BED_MESH_CLEAR

    # The purpose of the SAVE_GCODE_STATE/RESTORE_GCODE_STATE
    # command pair is to restore the printer's coordinate system
    # and speed settings since the commands above change them.
    # However, to prevent any accidental, unintentional toolhead
    # moves when restoring the state, explicitly set MOVE=0.
    RESTORE_GCODE_STATE NAME=STATE_PRINT_END MOVE=0

#*# <---------------------- SAVE_CONFIG ---------------------->
#*# DO NOT EDIT THIS BLOCK OR BELOW. The contents are auto-generated.+
#*# reg_drive_current = 15

#*# <---------------------- SAVE_CONFIG ---------------------->
#*# DO NOT EDIT THIS BLOCK OR BELOW. The contents are auto-generated.
#*#
#*# [beacon model default]
#*# model_coef = 1.7411078741184864,
#*# 2.0282736731701902,
#*# 0.6862528830345038,
#*# 0.3486093067747865,
#*# 0.16530108376973393,
#*# -0.12163665562446468,
#*# -0.05862986736543908,
#*# 0.2452631713667019,
#*# 0.06819765879742178,
#*# -0.09611906443345801
#*# model_domain = 1.9240001689671922e-07,1.94294272461105e-07
#*# model_range = 0.200000,5.000000
#*# model_temp = 22.748053
#*# model_offset = 0.00000

#*# <---------------------- SAVE_CONFIG ---------------------->
#*# DO NOT EDIT THIS BLOCK OR BELOW. The contents are auto-generated.
#*#
#*# [beacon model default]
#*# model_coef = 1.7067806489191413,
#*# 2.012188591634574,
#*# 0.6926714877472473,
#*# 0.3119900200087614,
#*# 0.20334153899145777,
#*# -0.022593663079803088,
#*# -0.06994937379891607,
#*# 0.16887774609529993,
#*# 0.0722456879061055,
#*# -0.06351006089271206
#*# model_domain = 1.915421321607789e-07,1.9411589290898408e-07
#*# model_range = 0.200000,5.000000
#*# model_temp = 17.426948
#*# model_offset = 0.00000

#*# <---------------------- SAVE_CONFIG ---------------------->
#*# DO NOT EDIT THIS BLOCK OR BELOW. The contents are auto-generated.
#*#
#*# [beacon model default]
#*# model_coef = 1.7614442812018936,
#*# 2.0473591186310696,
#*# 0.7168272264936951,
#*# 0.39628061141359183,
#*# 0.01313507143947696,
#*# -0.38121931711807944,
#*# 0.13172756012761982,
#*# 0.6002881682710194,
#*# -0.017420273453729623,
#*# -0.2545809693853755
#*# model_domain = 1.9269679204207e-07,1.9435768235056183e-07
#*# model_range = 0.200000,5.000000
#*# model_temp = 18.089880
#*# model_offset = 0.00000

#*# <---------------------- SAVE_CONFIG ---------------------->
#*# DO NOT EDIT THIS BLOCK OR BELOW. The contents are auto-generated.
#*#
#*# [beacon model default]
#*# model_coef = 1.7055151835074758,
#*# 2.0126615352461403,
#*# 0.681363527234212,
#*# 0.27721032699374687,
#*# 0.2677438651147289,
#*# 0.16261667108254918,
#*# -0.19160765825537743,
#*# -0.12905302471922508,
#*# 0.1412986768176732,
#*# 0.08518811226089557
#*# model_domain = 1.9162979251029213e-07,1.9413117887102388e-07
#*# model_range = 0.200000,5.000000
#*# model_temp = 22.418298
#*# model_offset = 0.00000

#*# <---------------------- SAVE_CONFIG ---------------------->
#*# DO NOT EDIT THIS BLOCK OR BELOW. The contents are auto-generated.
#*#
#*# [beacon model default]
#*# model_coef = 1.6970372354317966,
#*# 1.996812336360698,
#*# 0.7013133262000886,
#*# 0.2471918104863108,
#*# 0.19667592740612264,
#*# 0.2591509556382915,
#*# -0.06255297032824234,
#*# -0.18891323110393396,
#*# 0.07103259075263532,
#*# 0.09118200068818301
#*# model_domain = 1.9125193410486744e-07,1.9405542164927475e-07
#*# model_range = 0.200000,5.000000
#*# model_temp = 22.883046
#*# model_offset = 0.00000

#*# <---------------------- SAVE_CONFIG ---------------------->
#*# DO NOT EDIT THIS BLOCK OR BELOW. The contents are auto-generated.
#*#
#*# [beacon model default]
#*# model_coef = 1.7138732037276572,
#*# 2.0034022701461596,
#*# 0.7041446918390303,
#*# 0.30667724721363016,
#*# 0.14930539049244385,
#*# 0.10751009214461864,
#*# -0.006789349200466126,
#*# -0.0470556392104273,
#*# 0.04277715934782651,
#*# 0.0351523927017796
#*# model_domain = 1.9175819325865713e-07,1.941554600818759e-07
#*# model_range = 0.200000,5.000000
#*# model_temp = 23.380527
#*# model_offset = 0.00000

#*# <---------------------- SAVE_CONFIG ---------------------->
#*# DO NOT EDIT THIS BLOCK OR BELOW. The contents are auto-generated.
#*#
#*# [beacon model default]
#*# model_coef = 1.7427534471474244,
#*# 2.0479603806709905,
#*# 0.6795041008104327,
#*# 0.256577892886551,
#*# 0.21476321214624003,
#*# 0.15306741946285482,
#*# -0.13597213587105095,
#*# -0.10238405719770477,
#*# 0.10168745460437788,
#*# 0.051597440302921856
#*# model_domain = 1.9242412144881197e-07,1.943308580498378e-07
#*# model_range = 0.200000,5.000000
#*# model_temp = 20.624486
#*# model_offset = 0.00000
#*#
#*# [bed_mesh default]
#*# version = 1
#*# points =
#*# -0.808022, -0.685457, -0.620456, -0.537661, -0.418332
#*# 0.372761, 0.154378, -0.054844, -0.227493, -0.360822
#*# 1.362267, 0.979261, 0.539283, 0.086328, -0.130129
#*# x_count = 5
#*# y_count = 3
#*# mesh_x_pps = 2
#*# mesh_y_pps = 2
#*# algo = lagrange
#*# tension = 0.2
#*# min_x = 5.0
#*# max_x = 310.0
#*# min_y = 5.0
#*# max_y = 310.0

#*# <---------------------- SAVE_CONFIG ---------------------->
#*# DO NOT EDIT THIS BLOCK OR BELOW. The contents are auto-generated.
#*#
#*# [beacon model default]
#*# model_coef = 1.6907648131225812,
#*# 1.9766848887014146,
#*# 0.7013804773249704,
#*# 0.34017875253421187,
#*# 0.16670689623999116,
#*# 0.017904562865218087,
#*# 0.004592282954174283,
#*# 0.07186101641119913,
#*# 0.03827998394000279,
#*# -0.002774969253180517
#*# model_domain = 1.9093146680793573e-07,1.9402355920135718e-07
#*# model_range = 0.200000,5.000000
#*# model_temp = 20.789928
#*# model_offset = 0.00000
#*#
#*# [bed_mesh default]
#*# version = 1
#*# points =
#*# -0.691960, -0.606158, -0.556534, -0.469763, -0.329971
#*# 0.423036, 0.200318, -0.004589, -0.174587, -0.292900
#*# 1.412675, 1.022134, 0.585692, 0.141770, -0.056444
#*# x_count = 5
#*# y_count = 3
#*# mesh_x_pps = 2
#*# mesh_y_pps = 2
#*# algo = lagrange
#*# tension = 0.2
#*# min_x = 5.0
#*# max_x = 310.0
#*# min_y = 5.0
#*# max_y = 310.0

#*# <---------------------- SAVE_CONFIG ---------------------->
#*# DO NOT EDIT THIS BLOCK OR BELOW. The contents are auto-generated.
#*#
#*# [beacon model default]
#*# model_coef = 1.682772670823201,
#*# 1.971610789976209,
#*# 0.6909513221065361,
#*# 0.3280226916794054,
#*# 0.1945783028203591,
#*# 0.060408184043791315,
#*# -0.00899956945603164,
#*# 0.05116785179219562,
#*# 0.04154129453476751,
#*# -0.006786246656079006
#*# model_domain = 1.9072210099147046e-07,1.9398653418160353e-07
#*# model_range = 0.200000,5.000000
#*# model_temp = 22.024338
#*# model_offset = 0.00000
#*#
#*# [bed_mesh default]
#*# version = 1
#*# points =
#*# -0.607388, -0.549764, -0.511448, -0.438259, -0.297314
#*# 0.412229, 0.203914, 0.012126, -0.144278, -0.254201
#*# 1.324851, 0.970689, 0.568767, 0.162417, -0.035212
#*# x_count = 5
#*# y_count = 3
#*# mesh_x_pps = 2
#*# mesh_y_pps = 2
#*# algo = lagrange
#*# tension = 0.2
#*# min_x = 10.0
#*# max_x = 300.0
#*# min_y = 10.0
#*# max_y = 300.0

#*# <---------------------- SAVE_CONFIG ---------------------->
#*# DO NOT EDIT THIS BLOCK OR BELOW. The contents are auto-generated.
#*#
#*# [beacon model default]
#*# model_coef = 1.6866412922095426,
#*# 1.9736809327161986,
#*# 0.6807035951950957,
#*# 0.30613972342144596,
#*# 0.23130102848878253,
#*# 0.16004947199847477,
#*# -0.07079576527962453,
#*# -0.1120383520654977,
#*# 0.07396622433721763,
#*# 0.07706357059550537
#*# model_domain = 1.90739737390908e-07,1.9398956672238156e-07
#*# model_range = 0.200000,5.000000
#*# model_temp = 23.418544
#*# model_offset = 0.00000
#*#
#*# [bed_mesh default]
#*# version = 1
#*# points =
#*# -0.598195, -0.539282, -0.501455, -0.431144, -0.295663
#*# 0.409153, 0.200007, 0.008834, -0.147293, -0.259983
#*# 1.311845, 0.956247, 0.554468, 0.148269, -0.046679
#*# x_count = 5
#*# y_count = 3
#*# mesh_x_pps = 2
#*# mesh_y_pps = 3
#*# algo = lagrange
#*# tension = 0.2
#*# min_x = 10.0
#*# max_x = 300.0
#*# min_y = 10.0
#*# max_y = 300.0

#*# <---------------------- SAVE_CONFIG ---------------------->
#*# DO NOT EDIT THIS BLOCK OR BELOW. The contents are auto-generated.
#*#
#*# [beacon model default]
#*# model_coef = 1.692625508502522,
#*# 1.9779147624532591,
#*# 0.651592476521398,
#*# 0.2871243223497995,
#*# 0.33012070899153356,
#*# 0.1819285534728437,
#*# -0.22096522497204713,
#*# -0.12649524857836372,
#*# 0.14836284196944036,
#*# 0.08391052674543667
#*# model_domain = 1.9082333987938336e-07,1.9400658866095255e-07
#*# model_range = 0.200000,5.000000
#*# model_temp = 20.329977
#*# model_offset = 0.00000

```

---

<div class="post-metadata">

**Author:** ![EddyMI3D](https://yyz2.discourse-cdn.com/free1/user_avatar/klipper.discourse.group/eddymi3d/32/1981_2.png) [@EddyMI3D](https://klipper.discourse.group/u/EddyMI3D)\
**Post date:** [October 14, 2024, 8:36pm UTC](https://klipper.discourse.group/t/after-beacon-calibrate-and-save-config-klipper-unable-to-recognise-default/19360/6 "2024-10-14T20:36:46Z")

</div>

You still have way too many config block at the and

---

<div class="post-metadata">

**Author:** ![pete1](https://avatars.discourse-cdn.com/v4/letter/p/67e7ee/32.png) [@pete1](https://klipper.discourse.group/u/pete1)\
**Post date:** [October 14, 2024, 9:01pm UTC](https://klipper.discourse.group/t/after-beacon-calibrate-and-save-config-klipper-unable-to-recognise-default/19360/7 "2024-10-14T21:01:21Z")

</div>

```auto
# This file contains common pin mappings for the BigTreeTech Octopus V1.
# To use this config, the firmware should be compiled for the STM32F446 with a "32KiB bootloader"
# Enable "extra low-level configuration options" and select the "12MHz crystal" as clock reference

# after running "make", copy the generated "klipper/out/klipper.bin" file to a
# file named "firmware.bin" on an SD card and then restart the OctoPus with that SD card.

# See docs/Config_Reference.md for a description of parameters.

## Voron Design VORON2 250/300/350mm BigTreeTech OctoPus V1 TMC2209 UART config

## ***THINGS TO CHANGE/CHECK:***
## MCU paths [mcu] section
## Thermistor types [extruder] and [heater_bed] sections - See https://www.klipper3d.org/Config_Reference.html#common-thermistors for common thermistor types
## Hotend heater pin [extruder] section
## Z Endstop Switch location [safe_z_home] section
## Homing end position [gcode_macro G32] section
## Z Endstop Switch offset for Z0 [stepper_z] section
## Stepper Z1 enable pin [stepper_z1] section
## Probe points [quad_gantry_level] section
## Min & Max gantry corner postions [quad_gantry_level] section
## PID tune [extruder] and [heater_bed] sections
## Probe pin [probe] section
## Fine tune E steps [extruder] section
[include btt_ebb-sb2240.cfg]
[include mainsail.cfg]
#[exclude_object]
#[include Adaptive_mesh.cfg]
#[include KAMP_Settings.cfg]
#[include voron_purge.cfg]
#[include line_purge.cfg]

[mcu]
## Obtain definition by "ls /dev/serial/by-id/*" then unplug to verify
##--------------------------------------------------------------------
serial: /dev/serial/by-id/usb-Klipper_stm32f446xx_060025000E5053424E363620-if00
restart_method: command
##--------------------------------------------------------------------

[printer]
kinematics: corexy
max_velocity: 300  
max_accel: 3000 #Max 4000
max_z_velocity: 15 #Max 15 for 12V TMC Drivers, can increase for 24V
max_z_accel: 350
square_corner_velocity: 5.0

#####################################################################
# X/Y Stepper Settings
#####################################################################

## B Stepper - Left
## Connected to MOTOR_0
## Endstop connected to DIAG_0
[stepper_x]
step_pin: PF13
dir_pin: PF12
enable_pin: !PF14
rotation_distance: 40
microsteps: 32
full_steps_per_rotation:400 #set to 400 for 0.9 degree stepper
endstop_pin: PG6
position_min: 0
##--------------------------------------------------------------------

## Uncomment below for 250mm build
#position_endstop: 250
#position_max: 250

## Uncomment for 300mm build
#position_endstop: 300
#position_max: 300

## Uncomment for 350mm build
position_endstop: 350
position_max: 350

##--------------------------------------------------------------------
homing_speed: 25 #Max 100
homing_retract_dist: 5
homing_positive_dir: true

## Make sure to update below for your relevant driver (2208 or 2209)
[tmc2209 stepper_x]
uart_pin: PC4
interpolate: false
run_current: 0.8
sense_resistor: 0.110
stealthchop_threshold: 0

## A Stepper - Right
## Connected to MOTOR_1
## Endstop connected to DIAG_1
[stepper_y]
step_pin: PG0
dir_pin: PG1
enable_pin: !PF15
rotation_distance: 40
microsteps: 32
full_steps_per_rotation:400 #set to 400 for 0.9 degree stepper
endstop_pin: PG9
position_min: 0
##--------------------------------------------------------------------

## Uncomment for 250mm build
#position_endstop: 250
#position_max: 250

## Uncomment for 300mm build
#position_endstop: 300
#position_max: 300

## Uncomment for 350mm build
position_endstop: 350
position_max: 350

##--------------------------------------------------------------------
homing_speed: 25 #Max 100
homing_retract_dist: 5
homing_positive_dir: true

## Make sure to update below for your relevant driver (2208 or 2209)
[tmc2209 stepper_y]
uart_pin: PD11
interpolate: false
run_current: 0.8
sense_resistor: 0.110
stealthchop_threshold: 0
 
#####################################################################
# Z Stepper Settings
#####################################################################

## Z0 Stepper - Front Left
## Connected to MOTOR_2
## Endstop connected to DIAG_2
[stepper_z]
step_pin: PF11
dir_pin: PG3
enable_pin: !PG5
rotation_distance: 40
gear_ratio: 80:16
microsteps: 32
endstop_pin: probe: z_virtual_endstop 
## Z-position of nozzle (in mm) to z-endstop trigger point relative to print surface (Z0)
## (+) value = endstop above Z0, (-) value = endstop below
## Increasing position_endstop brings nozzle closer to the bed
## After you run Z_ENDSTOP_CALIBRATE, position_endstop will be stored at the very end of your config
#position_endstop: 0
##--------------------------------------------------------------------

## Uncomment below for 250mm build
#position_max: 210

## Uncomment below for 300mm build
#position_max: 260

## Uncomment below for 350mm build
position_max: 350

##--------------------------------------------------------------------
position_min: -5
homing_speed: 8
second_homing_speed: 3
homing_retract_dist: 0 

## Make sure to update below for your relevant driver (2208 or 2209)
[tmc2209 stepper_z]
uart_pin: PC6
interpolate: false
run_current: 0.8
sense_resistor: 0.110
stealthchop_threshold: 0

## Z1 Stepper - Rear Left
## Connected to MOTOR_3
[stepper_z1]
step_pin: PG4
dir_pin: !PC1
## Octopus 1.0 & 1.1. Octopus PRO 1.0
enable_pin: !PA0
## Octopus PRO 1.1
#enable_pin: !PA2
rotation_distance: 40
gear_ratio: 80:16
microsteps: 32

## Make sure to update below for your relevant driver (2208 or 2209)
[tmc2209 stepper_z1]
uart_pin: PC7
interpolate: false
run_current: 0.8
sense_resistor: 0.110
stealthchop_threshold: 0

## Z2 Stepper - Rear Right
## Connected to MOTOR_4
[stepper_z2]
step_pin: PF9
dir_pin: PF10
enable_pin: !PG2
rotation_distance: 40
gear_ratio: 80:16
microsteps: 32

## Make sure to update below for your relevant driver (2208 or 2209)
[tmc2209 stepper_z2]
uart_pin: PF2
interpolate: false
run_current: 0.8
sense_resistor: 0.110
stealthchop_threshold: 0

## Z3 Stepper - Front Right
## Connected to MOTOR_5
[stepper_z3]
step_pin: PC13
dir_pin: !PF0
enable_pin: !PF1
rotation_distance: 40
gear_ratio: 80:16
microsteps: 32

## Make sure to update below for your relevant driver (2208 or 2209)
[tmc2209 stepper_z3]
uart_pin: PE4
interpolate: false
run_current: 0.8
sense_resistor: 0.110
stealthchop_threshold: 0

#####################################################################
# Extruder
#####################################################################

## Connected to MOTOR_6
## Heater - HE0
## Thermistor - T0
#[extruder]
#step_pin: PE2
#dir_pin: PE3
#enable_pin: !PD4
## Update value below when you perform extruder calibration
## If you ask for 100mm of filament, but in reality it is 98mm:
## rotation_distance = <previous_rotation_distance> * <actual_extrude_distance> / 100
## 22.6789511 is a good starting point
#rotation_distance: 22.6789511 #Bondtech 5mm Drive Gears
## Update Gear Ratio depending on your Extruder Type
## Use 50:10 for Stealthburner/Clockwork 2
## Use 50:17 for Afterburner/Clockwork (BMG Gear Ratio)
## Use 80:20 for M4, M3.1
#gear_ratio: 50:10
#microsteps: 32
#full_steps_per_rotation: 200 #200 for 1.8 degree, 400 for 0.9 degree
#nozzle_diameter: 0.400
#filament_diameter: 1.75
## Octopus 1.0 & 1.1. Octopus PRO 1.0
#heater_pin: PA2
## Octopus PRO 1.1
#heater_pin: PA0
## Check what thermistor type you have. See https://www.klipper3d.org/Config_Reference.html#common-thermistors for common thermistor types.
## Use "Generic 3950" for NTC 100k 3950 thermistors
#sensor_type: Generic 3950
#sensor_pin: PF4
#min_temp: -100
#max_temp: 270
#max_power: 1.0
#min_extrude_temp: 170
#control = pid
#pid_kp = 26.213
#pid_ki = 1.304
#pid_kd = 131.721
## Try to keep pressure_advance below 1.0
#pressure_advance: 0.05
## Default is 0.040, leave stock
#pressure_advance_smooth_time: 0.040

## E0 on MOTOR6
## Make sure to update below for your relevant driver (2208 or 2209)
#[tmc2209 extruder]
#uart_pin: PE1
#interpolate: false
#run_current: 0.5
#sense_resistor: 0.110
#stealthchop_threshold: 0

#####################################################################
# Bed Heater
#####################################################################

## SSR Pin - HE1
## Thermistor - TB
[heater_bed]
## Uncomment the following line if using the default SSR wiring from the docs site
heater_pin: PA3
## Other wiring guides may use BED_OUT to control the SSR. Uncomment the following line for those cases
#heater_pin: PA1
## Check what thermistor type you have. See https://www.klipper3d.org/Config_Reference.html#common-thermistors for common thermistor types.
## Use "Generic 3950" for Keenovo heaters
sensor_type: Generic 3950
sensor_pin: PF3
## Adjust max_power so it doesn't exceed the SSR rating. The Omron G3NA-210B-DC5 SSR is rated at 4 amps without a heatsink.
## The formula is "4 / (Wattage_of_bed_heater / Mains_voltage) = max_power"
## If max_power is greater than 1.0, use 1.0
max_power: 0.6
min_temp: 0
max_temp: 120
control: pid
pid_kp: 58.437
pid_ki: 2.347
pid_kd: 363.769

#####################################################################
# Probe
#####################################################################

[beacon]
serial: /dev/serial/by-id/usb-Beacon_Beacon_RevH_06F0EB985154364134202020FF142909-if00
x_offset: -20 # update with offset from nozzle on your machine
y_offset: 0 # update with offset from nozzle on your machine
mesh_main_direction: x
mesh_runs: 2

[safe_z_home]
home_xy_position: 175, 175 # update for your machine
z_hop: 3

[bed_mesh]
speed: 120
horizontal_move_z: 5
mesh_min: 10, 10
mesh_max: 300, 300
probe_count: 5, 3
mesh_pps: 2, 3
algorithm: bicubic
bicubic_tension: 0.2

## Inductive Probe
## This probe is not used for Z height, only Quad Gantry Leveling
##[probe]

#--------------------------------------------------------------------

## Select the probe port by type:
## For the PROBE port. Will not work with Diode. May need pull-up resistor from signal to 24V.
#pin: ~!PB7
## For the DIAG_7 port. NEEDS BAT85 DIODE! Change to !PG15 if probe is NO.
#pin: PG15
## For Octopus Pro PROBE port; NPN and PNP proximity switch types can be set by jumper
#pin: ~!PC5

#--------------------------------------------------------------------

#x_offset: 0
#y_offset: 25.0
#z_offset: 0
#speed: 10.0
#samples: 3
#samples_result: median
#sample_retract_dist: 3.0
#samples_tolerance: 0.006
#samples_tolerance_retries: 3

#####################################################################
# Fan Control
#####################################################################

## Print Cooling Fan - FAN0
#[fan]
#pin: PA8
#kick_start_time: 0.5
## Depending on your fan, you may need to increase this value
## if your fan will not start. Can change cycle_time (increase)
## if your fan is not able to slow down effectively
#off_below: 0.10

## Hotend Fan - FAN1
#[heater_fan hotend_fan]
#pin: PE5
#max_power: 1.0
#kick_start_time: 0.5
#heater: extruder
#heater_temp: 50.0
## If you are experiencing back flow, you can reduce fan_speed
#fan_speed: 1.0

## Controller fan - FAN2
[controller_fan controller_fan]
pin: PD12
kick_start_time: 0.5
heater: heater_bed

## Exhaust fan - FAN3
#[heater_fan exhaust_fan]
#pin: PD13
#max_power: 1.0
#shutdown_speed: 0.0
#kick_start_time: 5.0
#heater: heater_bed
#heater_temp: 60
#fan_speed: 1.0

#####################################################################
# LED Control
#####################################################################

## Chamber Lighting - HE2 Connector (Optional)
#[output_pin caselight]
##Octopus 1.0 & 1.1, Octopus PRO 1.0
#pin: PB10
##Octopus PRO 1.1
#pin: PB0
#pwm:true
#shutdown_value: 0
#value:1
#cycle_time: 0.01

#####################################################################
# Homing and Gantry Adjustment Routines
#####################################################################

[idle_timeout]
timeout: 1800

## Use QUAD_GANTRY_LEVEL to level a gantry.
## Min & Max gantry corners - measure from nozzle at MIN (0,0) and 
## MAX (250, 250), (300,300), or (350,350) depending on your printer size
## to respective belt positions

#--------------------------------------------------------------------
## Gantry Corners for 250mm Build
## Uncomment for 250mm build
#gantry_corners:
# -60,-10
# 310, 320
## Probe points
#points:
# 50,25
# 50,175
# 200,175
# 200,25
    
## Gantry Corners for 300mm Build
## Uncomment for 300mm build
#gantry_corners:
# -60,-10
# 360,370
## Probe points
#points:
# 50,25
# 50,225
# 250,225
# 250,25

## Gantry Corners for 350mm Build
## Uncomment for 350mm build
#gantry_corners:
  #-60,-10
   #410,420
## Probe points
#points:
  #50,25
  #50,275
  #300,275
  #300,25

#--------------------------------------------------------------------
#speed: 100
#horizontal_move_z: 10
#retries: 5
#retry_tolerance: 0.0075
#max_adjust: 10

########################################
# EXP1 / EXP2 (display) pins
########################################

[board_pins]
aliases:
    # EXP1 header
    EXP1_1=PE8, EXP1_2=PE7,
    EXP1_3=PE9, EXP1_4=PE10,
    EXP1_5=PE12, EXP1_6=PE13, # Slot in the socket on this side
    EXP1_7=PE14, EXP1_8=PE15,
    EXP1_9=<GND>, EXP1_10=<5V>,

    # EXP2 header
    EXP2_1=PA6, EXP2_2=PA5,
    EXP2_3=PB1, EXP2_4=PA4,
    EXP2_5=PB2, EXP2_6=PA7, # Slot in the socket on this side
    EXP2_7=PC15, EXP2_8=<RST>,
    EXP2_9=<GND>, EXP2_10=<5V>

#####################################################################
# Displays
#####################################################################

## Uncomment the display that you have
#--------------------------------------------------------------------

## RepRapDiscount 128x64 Full Graphic Smart Controller
#[display]
#lcd_type: st7920
#cs_pin: EXP1_4
#sclk_pin: EXP1_5
#sid_pin: EXP1_3
#menu_timeout: 40
#encoder_pins: ^EXP2_5, ^EXP2_3
#click_pin: ^!EXP1_2

#[output_pin beeper]
#pin: EXP1_1

#--------------------------------------------------------------------

## mini12864 LCD Display
#[display]
#lcd_type: uc1701
#cs_pin: EXP1_3
#a0_pin: EXP1_4
#rst_pin: EXP1_5
#encoder_pins: ^EXP2_5, ^EXP2_3
#click_pin: ^!EXP1_2
#contrast: 63
#spi_software_miso_pin: EXP2_1
#spi_software_mosi_pin: EXP2_6
#spi_software_sclk_pin: EXP2_2

## To control Neopixel RGB in mini12864 display
#[neopixel btt_mini12864]
#pin: EXP1_6
#chain_count: 3
#initial_RED: 0.1
#initial_GREEN: 0.5
#initial_BLUE: 0.0
#color_order: RGB

## Set RGB values on boot up for each Neopixel. 
## Index 1 = display, Index 2 and 3 = Knob
#[delayed_gcode setdisplayneopixel]
#initial_duration: 1
#gcode:
# SET_LED LED=btt_mini12864 RED=1 GREEN=1 BLUE=1 INDEX=1 TRANSMIT=0
# SET_LED LED=btt_mini12864 RED=1 GREEN=0 BLUE=0 INDEX=2 TRANSMIT=0
# SET_LED LED=btt_mini12864 RED=1 GREEN=0 BLUE=0 INDEX=3 

#--------------------------------------------------------------------

#####################################################################
# Macros
#####################################################################
[gcode_macro PARK]
gcode:
    {% set th = printer.toolhead %}
    G0 X{th.axis_maximum.x//2} Y{th.axis_maximum.y//2} Z30  

[gcode_macro G32]
gcode:
    SAVE_GCODE_STATE NAME=STATE_G32
    G90
    G28
    QUAD_GANTRY_LEVEL
    G28
    PARK
    RESTORE_GCODE_STATE NAME=STATE_G32
   
[gcode_macro PRINT_START]
# Use PRINT_START for the slicer starting script - please customise for your slicer of choice
gcode:
    G32 ; home all axes
    G90 ; absolute positioning
    G1 Z20 F3000 ; move nozzle away from bed
    bed_mesh_clear
    Bed_mesh_calibrate
    voron_purge
    line_purge

[gcode_macro PRINT_END]
# Use PRINT_END for the slicer ending script - please customise for your slicer of choice
gcode:
    # safe anti-stringing move coords
    {% set th = printer.toolhead %}
    {% set x_safe = th.position.x + 20 * (1 if th.axis_maximum.x - th.position.x > 20 else -1) %}
    {% set y_safe = th.position.y + 20 * (1 if th.axis_maximum.y - th.position.y > 20 else -1) %}
    {% set z_safe = [th.position.z + 2, th.axis_maximum.z]|min %}
    
    SAVE_GCODE_STATE NAME=STATE_PRINT_END

    M400 ; wait for buffer to clear
    G92 E0 ; zero the extruder
    G1 E-5.0 F1800 ; retract filament
    
    TURN_OFF_HEATERS

    G90 ; absolute positioning
    G0 X{x_safe} Y{y_safe} Z{z_safe} F20000 ; move nozzle to remove stringing
    G0 X{th.axis_maximum.x//2} Y{th.axis_maximum.y - 2} F3600 ; park nozzle at rear
    M107 ; turn off fan
    
    BED_MESH_CLEAR

    # The purpose of the SAVE_GCODE_STATE/RESTORE_GCODE_STATE
    # command pair is to restore the printer's coordinate system
    # and speed settings since the commands above change them.
    # However, to prevent any accidental, unintentional toolhead
    # moves when restoring the state, explicitly set MOVE=0.
    RESTORE_GCODE_STATE NAME=STATE_PRINT_END MOVE=0

#*# <---------------------- SAVE_CONFIG ---------------------->

#*# <---------------------- SAVE_CONFIG ---------------------->
#*# DO NOT EDIT THIS BLOCK OR BELOW. The contents are auto-generated.
#*#
#*# [beacon model default]
#*# model_coef = 1.893197358418992,
#*# 2.189688390099554,
#*# 0.6793703046731926,
#*# 0.07145659600327188,
#*# -0.1408335310424842,
#*# 0.38702610626257716,
#*# 0.3420449523455563,
#*# -0.33030962326307656,
#*# -0.1595815189762197,
#*# 0.10740617142694256
#*# model_domain = 1.9415886291284917e-07,1.9476376064813647e-07
#*# model_range = 0.200000,5.000000
#*# model_temp = 15.070651
#*# model_offset = 0.00000

```

---

<div class="post-metadata">

**Author:** ![EddyMI3D](https://yyz2.discourse-cdn.com/free1/user_avatar/klipper.discourse.group/eddymi3d/32/1981_2.png) [@EddyMI3D](https://klipper.discourse.group/u/EddyMI3D)\
**Post date:** [October 14, 2024, 9:12pm UTC](https://klipper.discourse.group/t/after-beacon-calibrate-and-save-config-klipper-unable-to-recognise-default/19360/8 "2024-10-14T21:12:26Z")

</div>

> [@pete1](#):
>
> ```auto
> #*# <---------------------- SAVE_CONFIG ---------------------->
> 
> #*# <---------------------- SAVE_CONFIG ---------------------->
> #*# DO NOT EDIT THIS BLOCK OR BELOW. The contents are auto-generated.
> 
> ```

change it to

```auto
#*# <---------------------- SAVE_CONFIG ---------------------->
#*# DO NOT EDIT THIS BLOCK OR BELOW. The contents are auto-generated

```

It bit more comments would be quite helpful.

---

<div class="post-metadata">

**Author:** ![pete1](https://avatars.discourse-cdn.com/v4/letter/p/67e7ee/32.png) [@pete1](https://klipper.discourse.group/u/pete1)\
**Post date:** [October 14, 2024, 9:43pm UTC](https://klipper.discourse.group/t/after-beacon-calibrate-and-save-config-klipper-unable-to-recognise-default/19360/9 "2024-10-14T21:43:28Z")

</div>

I am a bit of a loss as to why i try to calibrate beacon and unable to save\_config. Unless i solve this problem I am unable to progress. BTW i am a retired person in their mid 70"s using 3D printing as a way to take up my retirement. I have never asked for help before unless i really need it but have limited experience.

# This file contains common pin mappings for the BigTreeTech Octopus V1.

# To use this config, the firmware should be compiled for the STM32F446 with a “32KiB bootloader”

# Enable “extra low-level configuration options” and select the “12MHz crystal” as clock reference

# after running “make”, copy the generated “klipper/out/klipper.bin” file to a

# file named “firmware.bin” on an SD card and then restart the OctoPus with that SD card.

# See docs/Config\_Reference.md for a description of parameters.

## Voron Design VORON2 250/300/350mm BigTreeTech OctoPus V1 TMC2209 UART config

## \*\*\* THINGS TO CHANGE/CHECK: \*\*\*

## MCU paths [mcu] section

## Thermistor types [extruder] and [heater\_bed] sections - See [Configuration reference - Klipper documentation](https://www.klipper3d.org/Config_Reference.html#common-thermistors) for common thermistor types

## Hotend heater pin [extruder] section

## Z Endstop Switch location [safe\_z\_home] section

## Homing end position [gcode\_macro G32] section

## Z Endstop Switch offset for Z0 [stepper\_z] section

## Stepper Z1 enable pin [stepper\_z1] section

## Probe points [quad\_gantry\_level] section

## Min & Max gantry corner postions [quad\_gantry\_level] section

## PID tune [extruder] and [heater\_bed] sections

## Probe pin [probe] section

## Fine tune E steps [extruder] section

[include btt\_ebb-sb2240.cfg]  
[include mainsail.cfg]  
#[exclude\_object]  
#[include Adaptive\_mesh.cfg]  
#[include KAMP\_Settings.cfg]  
#[include voron\_purge.cfg]  
#[include line\_purge.cfg]

[mcu]

## Obtain definition by “ls /dev/serial/by-id/\*” then unplug to verify

##--------------------------------------------------------------------  
serial: /dev/serial/by-id/usb-Klipper\_stm32f446xx\_060025000E5053424E363620-if00  
restart\_method: command  
##--------------------------------------------------------------------

[printer]  
kinematics: corexy  
max\_velocity: 300  
max\_accel: 3000 #Max 4000  
max\_z\_velocity: 15 #Max 15 for 12V TMC Drivers, can increase for 24V  
max\_z\_accel: 350  
square\_corner\_velocity: 5.0

#####################################################################

# X/Y Stepper Settings

#####################################################################

## B Stepper - Left

## Connected to MOTOR\_0

## Endstop connected to DIAG\_0

[stepper\_x]  
step\_pin: PF13  
dir\_pin: PF12  
enable\_pin: !PF14  
rotation\_distance: 40  
microsteps: 32  
full\_steps\_per\_rotation:400 #set to 400 for 0.9 degree stepper  
endstop\_pin: PG6  
position\_min: 0  
##--------------------------------------------------------------------

## Uncomment below for 250mm build

#position\_endstop: 250  
#position\_max: 250

## Uncomment for 300mm build

#position\_endstop: 300  
#position\_max: 300

## Uncomment for 350mm build

position\_endstop: 350  
position\_max: 350

##--------------------------------------------------------------------  
homing\_speed: 25 #Max 100  
homing\_retract\_dist: 5  
homing\_positive\_dir: true

## Make sure to update below for your relevant driver (2208 or 2209)

[tmc2209 stepper\_x]  
uart\_pin: PC4  
interpolate: false  
run\_current: 0.8  
sense\_resistor: 0.110  
stealthchop\_threshold: 0

## A Stepper - Right

## Connected to MOTOR\_1

## Endstop connected to DIAG\_1

[stepper\_y]  
step\_pin: PG0  
dir\_pin: PG1  
enable\_pin: !PF15  
rotation\_distance: 40  
microsteps: 32  
full\_steps\_per\_rotation:400 #set to 400 for 0.9 degree stepper  
endstop\_pin: PG9  
position\_min: 0  
##--------------------------------------------------------------------

## Uncomment for 250mm build

#position\_endstop: 250  
#position\_max: 250

## Uncomment for 300mm build

#position\_endstop: 300  
#position\_max: 300

## Uncomment for 350mm build

position\_endstop: 350  
position\_max: 350

##--------------------------------------------------------------------  
homing\_speed: 25 #Max 100  
homing\_retract\_dist: 5  
homing\_positive\_dir: true

## Make sure to update below for your relevant driver (2208 or 2209)

[tmc2209 stepper\_y]  
uart\_pin: PD11  
interpolate: false  
run\_current: 0.8  
sense\_resistor: 0.110  
stealthchop\_threshold: 0

#####################################################################

# Z Stepper Settings

#####################################################################

## Z0 Stepper - Front Left

## Connected to MOTOR\_2

## Endstop connected to DIAG\_2

[stepper\_z]  
step\_pin: PF11  
dir\_pin: PG3  
enable\_pin: !PG5  
rotation\_distance: 40  
gear\_ratio: 80:16  
microsteps: 32  
endstop\_pin: probe: z\_virtual\_endstop

## Z-position of nozzle (in mm) to z-endstop trigger point relative to print surface (Z0)

## (+) value = endstop above Z0, (-) value = endstop below

## Increasing position\_endstop brings nozzle closer to the bed

## After you run Z\_ENDSTOP\_CALIBRATE, position\_endstop will be stored at the very end of your config

#position\_endstop: 0  
##--------------------------------------------------------------------

## Uncomment below for 250mm build

#position\_max: 210

## Uncomment below for 300mm build

#position\_max: 260

## Uncomment below for 350mm build

position\_max: 350

##--------------------------------------------------------------------  
position\_min: -5  
homing\_speed: 8  
second\_homing\_speed: 3  
homing\_retract\_dist: 0

## Make sure to update below for your relevant driver (2208 or 2209)

[tmc2209 stepper\_z]  
uart\_pin: PC6  
interpolate: false  
run\_current: 0.8  
sense\_resistor: 0.110  
stealthchop\_threshold: 0

## Z1 Stepper - Rear Left

## Connected to MOTOR\_3

[stepper\_z1]  
step\_pin: PG4  
dir\_pin: !PC1

## Octopus 1.0 & 1.1. Octopus PRO 1.0

enable\_pin: !PA0

## Octopus PRO 1.1

#enable\_pin: !PA2  
rotation\_distance: 40  
gear\_ratio: 80:16  
microsteps: 32

## Make sure to update below for your relevant driver (2208 or 2209)

[tmc2209 stepper\_z1]  
uart\_pin: PC7  
interpolate: false  
run\_current: 0.8  
sense\_resistor: 0.110  
stealthchop\_threshold: 0

## Z2 Stepper - Rear Right

## Connected to MOTOR\_4

[stepper\_z2]  
step\_pin: PF9  
dir\_pin: PF10  
enable\_pin: !PG2  
rotation\_distance: 40  
gear\_ratio: 80:16  
microsteps: 32

## Make sure to update below for your relevant driver (2208 or 2209)

[tmc2209 stepper\_z2]  
uart\_pin: PF2  
interpolate: false  
run\_current: 0.8  
sense\_resistor: 0.110  
stealthchop\_threshold: 0

## Z3 Stepper - Front Right

## Connected to MOTOR\_5

[stepper\_z3]  
step\_pin: PC13  
dir\_pin: !PF0  
enable\_pin: !PF1  
rotation\_distance: 40  
gear\_ratio: 80:16  
microsteps: 32

## Make sure to update below for your relevant driver (2208 or 2209)

[tmc2209 stepper\_z3]  
uart\_pin: PE4  
interpolate: false  
run\_current: 0.8  
sense\_resistor: 0.110  
stealthchop\_threshold: 0

#####################################################################

# Extruder

#####################################################################

## Connected to MOTOR\_6

## Heater - HE0

## Thermistor - T0

#[extruder]  
#step\_pin: PE2  
#dir\_pin: PE3  
#enable\_pin: !PD4

## Update value below when you perform extruder calibration

## If you ask for 100mm of filament, but in reality it is 98mm:

## rotation\_distance = \<previous\_rotation\_distance\> \* \<actual\_extrude\_distance\> / 100

## 22.6789511 is a good starting point

#rotation\_distance: 22.6789511 #Bondtech 5mm Drive Gears

## Update Gear Ratio depending on your Extruder Type

## Use 50:10 for Stealthburner/Clockwork 2

## Use 50:17 for Afterburner/Clockwork (BMG Gear Ratio)

## Use 80:20 for M4, M3.1

#gear\_ratio: 50:10  
#microsteps: 32  
#full\_steps\_per\_rotation: 200 #200 for 1.8 degree, 400 for 0.9 degree  
#nozzle\_diameter: 0.400  
#filament\_diameter: 1.75

## Octopus 1.0 & 1.1. Octopus PRO 1.0

#heater\_pin: PA2

## Octopus PRO 1.1

#heater\_pin: PA0

## Check what thermistor type you have. See [Configuration reference - Klipper documentation](https://www.klipper3d.org/Config_Reference.html#common-thermistors) for common thermistor types.

## Use “Generic 3950” for NTC 100k 3950 thermistors

#sensor\_type: Generic 3950  
#sensor\_pin: PF4  
#min\_temp: -100  
#max\_temp: 270  
#max\_power: 1.0  
#min\_extrude\_temp: 170  
#control = pid  
#pid\_kp = 26.213  
#pid\_ki = 1.304  
#pid\_kd = 131.721

## Try to keep pressure\_advance below 1.0

#pressure\_advance: 0.05

## Default is 0.040, leave stock

#pressure\_advance\_smooth\_time: 0.040

## E0 on MOTOR6

## Make sure to update below for your relevant driver (2208 or 2209)

#[tmc2209 extruder]  
#uart\_pin: PE1  
#interpolate: false  
#run\_current: 0.5  
#sense\_resistor: 0.110  
#stealthchop\_threshold: 0

#####################################################################

# Bed Heater

#####################################################################

## SSR Pin - HE1

## Thermistor - TB

[heater\_bed]

## Uncomment the following line if using the default SSR wiring from the docs site

heater\_pin: PA3

## Other wiring guides may use BED\_OUT to control the SSR. Uncomment the following line for those cases

#heater\_pin: PA1

## Check what thermistor type you have. See [Configuration reference - Klipper documentation](https://www.klipper3d.org/Config_Reference.html#common-thermistors) for common thermistor types.

## Use “Generic 3950” for Keenovo heaters

sensor\_type: Generic 3950  
sensor\_pin: PF3

## Adjust max\_power so it doesn’t exceed the SSR rating. The Omron G3NA-210B-DC5 SSR is rated at 4 amps without a heatsink.

## The formula is “4 / (Wattage\_of\_bed\_heater / Mains\_voltage) = max\_power”

## If max\_power is greater than 1.0, use 1.0

max\_power: 0.6  
min\_temp: 0  
max\_temp: 120  
control: pid  
pid\_kp: 58.437  
pid\_ki: 2.347  
pid\_kd: 363.769

#####################################################################

# Probe

#####################################################################

[beacon]  
serial: /dev/serial/by-id/usb-Beacon\_Beacon\_RevH\_06F0EB985154364134202020FF142909-if00  
x\_offset: -20 # update with offset from nozzle on your machine  
y\_offset: 0 # update with offset from nozzle on your machine  
mesh\_main\_direction: x  
mesh\_runs: 2

[safe\_z\_home]  
home\_xy\_position: 175, 175 # update for your machine  
z\_hop: 3

[bed\_mesh]  
speed: 120  
horizontal\_move\_z: 5  
mesh\_min: 10, 10  
mesh\_max: 300, 300  
probe\_count: 5, 3  
mesh\_pps: 2, 3  
algorithm: bicubic  
bicubic\_tension: 0.2

## Inductive Probe

## This probe is not used for Z height, only Quad Gantry Leveling

##[probe]

#--------------------------------------------------------------------

## Select the probe port by type:

## For the PROBE port. Will not work with Diode. May need pull-up resistor from signal to 24V.

#pin: ~!PB7

## For the DIAG\_7 port. NEEDS BAT85 DIODE! Change to !PG15 if probe is NO.

#pin: PG15

## For Octopus Pro PROBE port; NPN and PNP proximity switch types can be set by jumper

#pin: ~!PC5

#--------------------------------------------------------------------

#x\_offset: 0  
#y\_offset: 25.0  
#z\_offset: 0  
#speed: 10.0  
#samples: 3  
#samples\_result: median  
#sample\_retract\_dist: 3.0  
#samples\_tolerance: 0.006  
#samples\_tolerance\_retries: 3

#####################################################################

# Fan Control

#####################################################################

## Print Cooling Fan - FAN0

#[fan]  
#pin: PA8  
#kick\_start\_time: 0.5

## Depending on your fan, you may need to increase this value

## if your fan will not start. Can change cycle\_time (increase)

## if your fan is not able to slow down effectively

#off\_below: 0.10

## Hotend Fan - FAN1

#[heater\_fan hotend\_fan]  
#pin: PE5  
#max\_power: 1.0  
#kick\_start\_time: 0.5  
#heater: extruder  
#heater\_temp: 50.0

## If you are experiencing back flow, you can reduce fan\_speed

#fan\_speed: 1.0

## Controller fan - FAN2

[controller\_fan controller\_fan]  
pin: PD12  
kick\_start\_time: 0.5  
heater: heater\_bed

## Exhaust fan - FAN3

#[heater\_fan exhaust\_fan]  
#pin: PD13  
#max\_power: 1.0  
#shutdown\_speed: 0.0  
#kick\_start\_time: 5.0  
#heater: heater\_bed  
#heater\_temp: 60  
#fan\_speed: 1.0

#####################################################################

# LED Control

#####################################################################

## Chamber Lighting - HE2 Connector (Optional)

#[output\_pin caselight]  
##Octopus 1.0 & 1.1, Octopus PRO 1.0  
#pin: PB10  
##Octopus PRO 1.1  
#pin: PB0  
#pwm:true  
#shutdown\_value: 0  
#value:1  
#cycle\_time: 0.01

#####################################################################

# Homing and Gantry Adjustment Routines

#####################################################################

[idle\_timeout]  
timeout: 1800

## Use QUAD\_GANTRY\_LEVEL to level a gantry.

## Min & Max gantry corners - measure from nozzle at MIN (0,0) and

## MAX (250, 250), (300,300), or (350,350) depending on your printer size

## to respective belt positions

#--------------------------------------------------------------------

## Gantry Corners for 250mm Build

## Uncomment for 250mm build

#gantry\_corners:

# -60,-10

# 310, 320

## Probe points

#points:

# 50,25

# 50,175

# 200,175

# 200,25

## Gantry Corners for 300mm Build

## Uncomment for 300mm build

#gantry\_corners:

# -60,-10

# 360,370

## Probe points

#points:

# 50,25

# 50,225

# 250,225

# 250,25

## Gantry Corners for 350mm Build

## Uncomment for 350mm build

#gantry\_corners:  
#-60,-10  
#410,420

## Probe points

#points:  
#50,25  
#50,275  
#300,275  
#300,25

#--------------------------------------------------------------------  
#speed: 100  
#horizontal\_move\_z: 10  
#retries: 5  
#retry\_tolerance: 0.0075  
#max\_adjust: 10

########################################

# EXP1 / EXP2 (display) pins

########################################

[board\_pins]  
aliases:  
# EXP1 header  
EXP1\_1=PE8, EXP1\_2=PE7,  
EXP1\_3=PE9, EXP1\_4=PE10,  
EXP1\_5=PE12, EXP1\_6=PE13, # Slot in the socket on this side  
EXP1\_7=PE14, EXP1\_8=PE15,  
EXP1\_9=, EXP1\_10=\<5V\>,

```
# EXP2 header
EXP2_1=PA6, EXP2_2=PA5,
EXP2_3=PB1, EXP2_4=PA4,
EXP2_5=PB2, EXP2_6=PA7, # Slot in the socket on this side
EXP2_7=PC15, EXP2_8=<RST>,
EXP2_9=<GND>, EXP2_10=<5V>

```

#####################################################################

# Displays

#####################################################################

## Uncomment the display that you have

#--------------------------------------------------------------------

## RepRapDiscount 128x64 Full Graphic Smart Controller

#[display]  
#lcd\_type: st7920  
#cs\_pin: EXP1\_4  
#sclk\_pin: EXP1\_5  
#sid\_pin: EXP1\_3  
#menu\_timeout: 40  
#encoder\_pins: ^EXP2\_5, ^EXP2\_3  
#click\_pin: ^!EXP1\_2

#[output\_pin beeper]  
#pin: EXP1\_1

#--------------------------------------------------------------------

## mini12864 LCD Display

#[display]  
#lcd\_type: uc1701  
#cs\_pin: EXP1\_3  
#a0\_pin: EXP1\_4  
#rst\_pin: EXP1\_5  
#encoder\_pins: ^EXP2\_5, ^EXP2\_3  
#click\_pin: ^!EXP1\_2  
#contrast: 63  
#spi\_software\_miso\_pin: EXP2\_1  
#spi\_software\_mosi\_pin: EXP2\_6  
#spi\_software\_sclk\_pin: EXP2\_2

## To control Neopixel RGB in mini12864 display

#[neopixel btt\_mini12864]  
#pin: EXP1\_6  
#chain\_count: 3  
#initial\_RED: 0.1  
#initial\_GREEN: 0.5  
#initial\_BLUE: 0.0  
#color\_order: RGB

## Set RGB values on boot up for each Neopixel.

## Index 1 = display, Index 2 and 3 = Knob

#[delayed\_gcode setdisplayneopixel]  
#initial\_duration: 1  
#gcode:

# SET\_LED LED=btt\_mini12864 RED=1 GREEN=1 BLUE=1 INDEX=1 TRANSMIT=0

# SET\_LED LED=btt\_mini12864 RED=1 GREEN=0 BLUE=0 INDEX=2 TRANSMIT=0

# SET\_LED LED=btt\_mini12864 RED=1 GREEN=0 BLUE=0 INDEX=3

#--------------------------------------------------------------------

#####################################################################

# Macros

#####################################################################  
[gcode\_macro PARK]  
gcode:  
{% set th = printer.toolhead %}  
G0 X{th.axis\_maximum.x//2} Y{th.axis\_maximum.y//2} Z30

[gcode\_macro G32]  
gcode:  
SAVE\_GCODE\_STATE NAME=STATE\_G32  
G90  
G28  
QUAD\_GANTRY\_LEVEL  
G28  
PARK  
RESTORE\_GCODE\_STATE NAME=STATE\_G32

[gcode\_macro PRINT\_START]

# Use PRINT\_START for the slicer starting script - please customise for your slicer of choice

gcode:  
G32 ; home all axes  
G90 ; absolute positioning  
G1 Z20 F3000 ; move nozzle away from bed  
bed\_mesh\_clear  
Bed\_mesh\_calibrate  
voron\_purge  
line\_purge

[gcode\_macro PRINT\_END]

# Use PRINT\_END for the slicer ending script - please customise for your slicer of choice

gcode:  
# safe anti-stringing move coords  
{% set th = printer.toolhead %}  
{% set x\_safe = th.position.x + 20 \* (1 if th.axis\_maximum.x - th.position.x \> 20 else -1) %}  
{% set y\_safe = th.position.y + 20 \* (1 if th.axis\_maximum.y - th.position.y \> 20 else -1) %}  
{% set z\_safe = [th.position.z + 2, th.axis\_maximum.z]|min %}

```
SAVE_GCODE_STATE NAME=STATE_PRINT_END

M400 ; wait for buffer to clear
G92 E0 ; zero the extruder
G1 E-5.0 F1800 ; retract filament

TURN_OFF_HEATERS

G90 ; absolute positioning
G0 X{x_safe} Y{y_safe} Z{z_safe} F20000 ; move nozzle to remove stringing
G0 X{th.axis_maximum.x//2} Y{th.axis_maximum.y - 2} F3600 ; park nozzle at rear
M107 ; turn off fan

BED_MESH_CLEAR

# The purpose of the SAVE_GCODE_STATE/RESTORE_GCODE_STATE
# command pair is to restore the printer's coordinate system
# and speed settings since the commands above change them.
# However, to prevent any accidental, unintentional toolhead
# moves when restoring the state, explicitly set MOVE=0.
RESTORE_GCODE_STATE NAME=STATE_PRINT_END MOVE=0

```

#_# \<---------------------- SAVE\_CONFIG ----------------------\>  
#_# [beacon model default]  
#_# model\_coef = 1.893197358418992,  
#_# 2.189688390099554,  
#_# 0.6793703046731926,  
#_# 0.07145659600327188,  
#_# -0.1408335310424842,  
#_# 0.38702610626257716,  
#_# 0.3420449523455563,  
#_# -0.33030962326307656,  
#_# -0.1595815189762197,  
#_# 0.10740617142694256  
#_# model\_domain = 1.9415886291284917e-07,1.9476376064813647e-07  
#_# model\_range = 0.200000,5.000000  
#_# model\_temp = 15.070651  
#_# model\_offset = 0.00000

```auto

```

---

<div class="post-metadata">

**Author:** ![mykepredko](https://yyz2.discourse-cdn.com/free1/user_avatar/klipper.discourse.group/mykepredko/32/2085_2.png) [@mykepredko](https://klipper.discourse.group/u/mykepredko)\
**Post date:** [October 15, 2024, 12:22am UTC](https://klipper.discourse.group/t/after-beacon-calibrate-and-save-config-klipper-unable-to-recognise-default/19360/10 "2024-10-15T00:22:20Z")

</div>

Please follow what @EddyMI3D instructed you for posting your `printer.cfg`:

> [@After beacon calibrate and save config klipper unable to recognise default](https://klipper.discourse.group/t/after-beacon-calibrate-and-save-config-klipper-unable-to-recognise-default/19360/4):
>
> Please also the printer.cfg as a file! and not Copy & Paste. At least use the Preformatted Text feature of the forum editor. [Format] The way you did it, the data is not usable at all. BTW: You have 12 (!) config blocks. That can not work.

The big dump isn’t easy to follow.

---

<div class="post-metadata">

**Author:** ![pete1](https://avatars.discourse-cdn.com/v4/letter/p/67e7ee/32.png) [@pete1](https://klipper.discourse.group/u/pete1)\
**Post date:** [October 15, 2024, 12:47am UTC](https://klipper.discourse.group/t/after-beacon-calibrate-and-save-config-klipper-unable-to-recognise-default/19360/11 "2024-10-15T00:47:01Z")

</div>

[printer (2).zip](https://klipper.discourse.group/uploads/short-url/jMcSKRN7qFoHvd21vmMpdYqBioe.zip) (5.7 KB)

---

<div class="post-metadata">

**Author:** ![mykepredko](https://yyz2.discourse-cdn.com/free1/user_avatar/klipper.discourse.group/mykepredko/32/2085_2.png) [@mykepredko](https://klipper.discourse.group/u/mykepredko)\
**Post date:** [October 15, 2024, 1:40am UTC](https://klipper.discourse.group/t/after-beacon-calibrate-and-save-config-klipper-unable-to-recognise-default/19360/12 "2024-10-15T01:40:48Z")

</div>

Just doing a quick look at the file (thank you - but you don’t need to .zip it) - and I see that you still haven’t make the changes that @EddyMI3D suggested to you above.

Please Change the first two lines of your `printer.cfg` from:

```auto
#*# <---------------------- SAVE_CONFIG ---------------------->
#*# [beacon model default]

```

to

```auto
#*# <---------------------- SAVE_CONFIG ---------------------->
#*# DO NOT EDIT THIS BLOCK OR BELOW. The contents are auto-generated.
#*#
#*# [beacon model default]

```

That should resolve your problem and allow you to `SAVE_CONFIG`.

---

<div class="post-metadata">

**Author:** ![pete1](https://avatars.discourse-cdn.com/v4/letter/p/67e7ee/32.png) [@pete1](https://klipper.discourse.group/u/pete1)\
**Post date:** [October 15, 2024, 2:40am UTC](https://klipper.discourse.group/t/after-beacon-calibrate-and-save-config-klipper-unable-to-recognise-default/19360/13 "2024-10-15T02:40:35Z")

</div>

Thanks for that. I changed all as suggested and after beacon\_calibrated I save\_config. When I g28 it comes up with the message: No Beacon model loaded.

---

<div class="post-metadata">

**Author:** ![mykepredko](https://yyz2.discourse-cdn.com/free1/user_avatar/klipper.discourse.group/mykepredko/32/2085_2.png) [@mykepredko](https://klipper.discourse.group/u/mykepredko)\
**Post date:** [October 15, 2024, 3:35am UTC](https://klipper.discourse.group/t/after-beacon-calibrate-and-save-config-klipper-unable-to-recognise-default/19360/14 "2024-10-15T03:35:26Z")

</div>

Did you follow the instructions here:

[https://docs.beacon3d.com/quickstart/#3-install-beacon-klipper-module](https://docs.beacon3d.com/quickstart/#3-install-beacon-klipper-module)

---

<div class="post-metadata">

**Author:** ![pete1](https://avatars.discourse-cdn.com/v4/letter/p/67e7ee/32.png) [@pete1](https://klipper.discourse.group/u/pete1)\
**Post date:** [October 15, 2024, 3:48am UTC](https://klipper.discourse.group/t/after-beacon-calibrate-and-save-config-klipper-unable-to-recognise-default/19360/15 "2024-10-15T03:48:59Z")

</div>

Yes all done as per beacons instructions to the letter. For some reason klipper is not accepting beacon.

---

<div class="post-metadata">

**Author:** ![mykepredko](https://yyz2.discourse-cdn.com/free1/user_avatar/klipper.discourse.group/mykepredko/32/2085_2.png) [@mykepredko](https://klipper.discourse.group/u/mykepredko)\
**Post date:** [October 15, 2024, 5:20am UTC](https://klipper.discourse.group/t/after-beacon-calibrate-and-save-config-klipper-unable-to-recognise-default/19360/16 "2024-10-15T05:20:24Z")

</div>

Can you post your latest `'klippy.log' and `moonraker.cfg`?

---

<div class="post-metadata">

**Author:** ![EddyMI3D](https://yyz2.discourse-cdn.com/free1/user_avatar/klipper.discourse.group/eddymi3d/32/1981_2.png) [@EddyMI3D](https://klipper.discourse.group/u/EddyMI3D)\
**Post date:** [October 15, 2024, 6:29am UTC](https://klipper.discourse.group/t/after-beacon-calibrate-and-save-config-klipper-unable-to-recognise-default/19360/17 "2024-10-15T06:29:06Z")

</div>

Hello @pete1 !

**Pleas do this:**

> [@EddyMI3D](#):
>
> Please also the printer.cfg as a file! and not Copy & Paste.
> 
> At least use the `Preformatted Text` feature of the forum editor.
> 
> ![Format](https://global.discourse-cdn.com/free1/uploads/klipper/original/2X/6/643ab9def96b03089cfb0c194628129fcc96b3f8.png)
> 
> The way you did it, the data is not usable at all.
> 
> BTW: You have 12 (!) config blocks. That can not work.

---

<div class="post-metadata">

**Author:** ![pete1](https://avatars.discourse-cdn.com/v4/letter/p/67e7ee/32.png) [@pete1](https://klipper.discourse.group/u/pete1)\
**Post date:** [October 15, 2024, 8:37pm UTC](https://klipper.discourse.group/t/after-beacon-calibrate-and-save-config-klipper-unable-to-recognise-default/19360/18 "2024-10-15T20:37:55Z")

</div>

[klippy (21).log](https://klipper.discourse.group/uploads/short-url/jeHuzEfLbtkvd9VHpyvh0Sw4ur1.log) (73.5 KB)  
[moonraker.conf](https://klipper.discourse.group/uploads/short-url/iDd0kVkF7cpIms65JvbHpQNh8oE.conf) (2.7 KB)

---

<div class="post-metadata">

**Author:** ![pete1](https://avatars.discourse-cdn.com/v4/letter/p/67e7ee/32.png) [@pete1](https://klipper.discourse.group/u/pete1)\
**Post date:** [October 15, 2024, 8:39pm UTC](https://klipper.discourse.group/t/after-beacon-calibrate-and-save-config-klipper-unable-to-recognise-default/19360/19 "2024-10-15T20:39:32Z")

</div>

[printer (3).cfg](https://klipper.discourse.group/uploads/short-url/r7a42YmR4YXrEiekNSsc0noBaVQ.cfg) (18.2 KB)

---

<div class="post-metadata">

**Author:** ![EddyMI3D](https://yyz2.discourse-cdn.com/free1/user_avatar/klipper.discourse.group/eddymi3d/32/1981_2.png) [@EddyMI3D](https://klipper.discourse.group/u/EddyMI3D)\
**Post date:** [October 15, 2024, 8:46pm UTC](https://klipper.discourse.group/t/after-beacon-calibrate-and-save-config-klipper-unable-to-recognise-default/19360/20 "2024-10-15T20:46:19Z")

</div>

There are still two config blocks.

You may delete them both. Klipper should build a new config block.

[Next page](https://klipper.discourse.group/t/after-beacon-calibrate-and-save-config-klipper-unable-to-recognise-default/19360.md?page=2)
