Settings default Z offfset with KLIPPER and FLSUN SR

  • FLSUNSR:
  • CURA:
  • MKS 1.2 + Raspberry PI 4 model B:
  • Cant set default Z positions:
  • *I followed the PROBE_CALIBRATE guide:

But every time i go to print the Z is off by 25mm and I can’t figure out how to set the default and calibrated it. I have used this guide to do the “paper test”. But it always is off by the probe end stop (which you remove in the FLSUN SR), I have used a piece of paper and done the usual calibration but it just wont work

Does anyone have any ideas?

Did you SAVE_CONFIG after accepting the new offset?

Yes i did SAVE_CONFIG. It even said in the console is has set the offset, but its not working

Even if i manually put the number into the printer.cfg it still doesnt work

The offset shouldn’t be bigger than difference between installed probe sensor height and the nozzle tip so 1-2mm, save config should overwrite your probe offset, uncoment it and create new section at the bottom of your printer.cfg file

Do you remember what was the original offset before you installed klipper?

I don’t have Delta with klipper so not 100% sure as it has Z home on the opposite side of the probe so the procedure might be different than standard corexy , but @3DPrintBeginner has V400 with klipper so should be able to help

Thank you for the suggestions ill give them a go! :slight_smile:

I recommend removing any Z offset you have in the config, or set it to 0, then try again.
Sometimes, the z offset values don’t “stick” and this should solve the problem

Hello thanks for the ideas, but its still doing it :frowning:

This is my printer cfg file

[mcu]
serial: /dev/serial/by-id/usb-Klipper_lpc1768_17F0FF03E5103AAE9E116E53C62000F5-if00

###Flsun Super Racer printer config####
[printer]
kinematics: delta
max_velocity: 7000
max_accel: 7000
max_z_velocity: 2000
minimum_z_position: -50
square_corner_velocity: 15.0
#delta_radius: 132

###Stepper X config###
[stepper_a]
step_pin: P2.2
dir_pin: P2.6
enable_pin: !P2.1
microsteps: 16
rotation_distance: 40
endstop_pin: P1.28  # P1.28 for X-max
homing_speed: 60
#position_endstop: 320
arm_length: 315.0

###Stepper Y config###
[stepper_b]
step_pin: P0.19
dir_pin: P0.20
enable_pin: !P2.8
microsteps: 16
rotation_distance: 40
endstop_pin: P1.26  # P1.26 for Y-max
#position_endstop: 320
arm_length: 315.0


###Stepper Z config###
[stepper_c]
step_pin: P0.22
dir_pin: P2.11
enable_pin: !P0.21
microsteps: 16
rotation_distance: 40
endstop_pin: P1.24  # P1.24 for Z-max
#position_endstop: 320
arm_length: 315.0

###Stepper E config####
[extruder]
step_pin: P2.13
dir_pin: !P0.11
enable_pin: !P2.12
microsteps: 16
full_steps_per_rotation: 200
rotation_distance: 22.67895
gear_ratio: 50:10
nozzle_diameter: 0.400
filament_diameter: 1.750
heater_pin: P2.7
sensor_type: EPCOS 100K B57560G104F
sensor_pin: P0.24
control: pid
pressure_advance: 0.10
max_extrude_only_distance: 800.0
pid_Kp: 22.2
pid_Ki: 1.08
pid_Kd: 114
min_temp: 0
max_temp: 280

###Stepper driver config###
[tmc2209 stepper_a]
uart_pin: P1.17 
run_current: .850
hold_current: .500
interpolate: True
stealthchop_threshold: 100

[tmc2209 stepper_b]
uart_pin: P1.15
run_current: .850
hold_current: .500
interpolate: True
stealthchop_threshold: 100

[tmc2209 stepper_c]
uart_pin: P1.10
run_current: .850
hold_current: .500
interpolate: True
stealthchop_threshold: 100

[tmc2209 extruder]
uart_pin: P1.8
interpolate: True
run_current: .850
hold_current: .500
stealthchop_threshold: 100

###Bed config###
[heater_bed]
heater_pin: P2.5
sensor_type: ATC Semitec 104GT-2
sensor_pin: P0.23
min_temp: 0
max_temp: 130
control: watermark

###Fan config###
[fan]
pin: P2.3

[heater_fan nozzle_fan]
pin: P2.4
heater: extruder
heater_temp: 50.0
fan_speed: 1.0

###Probe config###
[probe]
pin: !P1.25
x_offset: 0
y_offset: 0
z_offset: 0
samples: 3
samples_result: average
sample_retract_dist: 5
speed: 20 

###Delta Calibration config###
[delta_calibrate]
radius: 130
horizontal_move_z: 25
speed: 20 

[bed_mesh]
speed: 100
horizontal_move_z: 25
mesh_radius: 130
mesh_origin: 0,0
round_probe_count: 5

[temperature_sensor raspberry_pi]
sensor_type: temperature_host
min_temp: 10
max_temp: 100

[board_pins]
aliases:
    # EXP1 header
    EXP1_1=PC5,  EXP1_3=PD13, EXP1_5=PE14, EXP1_7=PD11, EXP1_9=<GND>,
    EXP1_2=PE13, EXP1_4=PC6,  EXP1_6=PE15, EXP1_8=PD10, EXP1_10=<5V>,
    # EXP2 header
    EXP2_1=PA6, EXP2_3=PE8, EXP2_5=PE11, EXP2_7=PE12,  EXP2_9=<GND>,
    EXP2_2=PA5, EXP2_4=PE10, EXP2_6=PA7, EXP2_8=<RST>, EXP2_10=<3.3v>
    # Pins EXP2_1, EXP2_6, EXP2_2 are also MISO, MOSI, SCK of bus "ssp1"

###Fluidd config###
[temperature_sensor raspberry_pi]
sensor_type: temperature_host
min_temp: 10
max_temp: 100

[virtual_sdcard]
path: ~/gcode_files

[display_status]

[pause_resume]

[gcode_macro PAUSE]
description: Pause the actual running print
rename_existing: PAUSE_BASE
# change this if you need more or less extrusion
variable_extrude: 1.0
gcode:
  ##### read E from pause macro #####
  {% set E = printer["gcode_macro PAUSE"].extrude|float %}
  ##### set park positon for x and y #####
  # default is your max posion from your printer.cfg
  {% set x_park = printer.toolhead.axis_maximum.x|float - 5.0 %}
  {% set y_park = printer.toolhead.axis_maximum.y|float - 5.0 %}
  ##### calculate save lift position #####
  {% set max_z = printer.toolhead.axis_maximum.z|float %}
  {% set act_z = printer.toolhead.position.z|float %}
  {% if act_z < (max_z - 2.0) %}
      {% set z_safe = 2.0 %}
  {% else %}
      {% set z_safe = max_z - act_z %}
  {% endif %}
  ##### end of definitions #####
  PAUSE_BASE
  G91
  {% if printer.extruder.can_extrude|lower == 'true' %}
    G1 E-{E} F2100
  {% else %}
    {action_respond_info("Extruder not hot enough")}
  {% endif %}
  {% if "xyz" in printer.toolhead.homed_axes %}
    G1 Z{z_safe} F900
    G90
    G1 X{x_park} Y{y_park} F6000
  {% else %}
    {action_respond_info("Printer not homed")}
  {% endif %} 

[gcode_macro RESUME]
description: Resume the actual running print
rename_existing: RESUME_BASE
gcode:
  ##### read E from pause macro #####
  {% set E = printer["gcode_macro PAUSE"].extrude|float %}
  #### get VELOCITY parameter if specified ####
  {% if 'VELOCITY' in params|upper %}
    {% set get_params = ('VELOCITY=' + params.VELOCITY)  %}
  {%else %}
    {% set get_params = "" %}
  {% endif %}
  ##### end of definitions #####
  {% if printer.extruder.can_extrude|lower == 'true' %}
    G91
    G1 E{E} F2100
  {% else %}
    {action_respond_info("Extruder not hot enough")}
  {% endif %}  
  RESUME_BASE {get_params}

[gcode_macro CANCEL_PRINT]
description: Cancel the actual running print
rename_existing: CANCEL_PRINT_BASE
gcode:
  TURN_OFF_HEATERS
  CANCEL_PRINT_BASE



#*# <---------------------- SAVE_CONFIG ---------------------->
#*# DO NOT EDIT THIS BLOCK OR BELOW. The contents are auto-generated.
#*#
#*# [printer]
#*# delta_radius = 151.832365
#*#
#*# [stepper_a]
#*# angle = 209.558279
#*# position_endstop = 293.960701
#*#
#*# [stepper_b]
#*# angle = 329.914997
#*# position_endstop = 293.791699
#*#
#*# [stepper_c]
#*# angle = 90.000000
#*# position_endstop = 292.899462
#*#
#*# [delta_calibrate]
#*# height0 = -25.396
#*# height0_pos = 25515.667,25515.667,25515.667
#*# height1 = -25.396
#*# height1_pos = 29877.000,29877.000,22619.000
#*# height2 = -25.396
#*# height2_pos = 24752.000,32442.000,24752.000
#*# height3 = -25.396
#*# height3_pos = 22838.000,29216.667,29216.667
#*# height4 = -25.396
#*# height4_pos = 24733.000,24733.000,30332.000
#*# height5 = -25.396
#*# height5_pos = 28565.000,23018.000,28565.000
#*# height6 = -25.396
#*# height6_pos = 31297.667,24703.667,24703.667
#*#
#*# [bed_mesh default]
#*# version = 1
#*# points =
#*# 	-0.136620, -0.136620, -0.136620, -0.136620, -0.136620
#*# 	0.033277, 0.033277, -0.007979, -0.020722, -0.020722
#*# 	-0.155024, 0.044555, 0.284128, 0.507915, 0.791870
#*# 	0.011745, 0.011745, 0.129557, 0.272639, 0.272639
#*# 	0.066147, 0.066147, 0.066147, 0.066147, 0.066147
#*# tension = 0.2
#*# min_x = -130.0
#*# algo = lagrange
#*# y_count = 5
#*# mesh_y_pps = 2
#*# min_y = -130.0
#*# x_count = 5
#*# max_y = 130.0
#*# mesh_x_pps = 2
#*# max_x = 130.0
#*#
#*# [probe]

Correct, as your config file doesn’t contain any offset figures, once again, if you change anything within printer.cfg or adjust your z-offset with probe calibration command you gotta save it through the console command SAVE_CONFIG manually as klipper sometimes ignoring your saved printer.cfg