Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ##################Creality Ender 3 S1 Pro Klipper Config - 3DPrintBeginner###############
- ######Full guide: https://3dprintbeginner.com/how-to-install-klipper-on-ender-3-s1/######
- [stepper_x]
- step_pin: PC2
- dir_pin: PB9
- enable_pin: !PC3
- microsteps: 16
- rotation_distance: 40
- endstop_pin: !PA5
- position_endstop: -10
- position_min: -15
- position_max: 235
- homing_speed: 50
- [stepper_y]
- step_pin: PB8
- dir_pin: PB7
- enable_pin: !PC3
- microsteps: 16
- rotation_distance: 40
- endstop_pin: !PA6
- position_endstop: -8
- position_min: -13
- position_max: 238
- homing_speed: 50
- [stepper_z]
- step_pin: PB6
- dir_pin: !PB5
- enable_pin: !PC3
- microsteps: 16
- rotation_distance: 8
- endstop_pin: probe:z_virtual_endstop
- position_max: 270
- position_min: -5
- [extruder]
- max_extrude_only_distance: 100.0
- step_pin: PB4
- dir_pin: PB3
- enable_pin: !PC3
- microsteps: 16
- rotation_distance: 7.6190
- nozzle_diameter: 0.400
- filament_diameter: 1.750
- heater_pin: PA1
- sensor_type: EPCOS 100K B57560G104F
- sensor_pin: PC5
- #control: pid
- #pid_Kp: 21.761
- #pid_Ki: 1.261
- #pid_Kd: 93.844
- min_temp: 0
- max_temp: 300
- pressure_advance = 0.665
- [firmware_retraction]
- retract_length: 0.8
- retract_speed: 45
- [filament_switch_sensor RunoutSensor]
- pause_on_runout: False
- runout_gcode: PAUSE
- insert_gcode: RESUME
- switch_pin: !PC15
- [heater_bed]
- heater_pin: PA7
- sensor_type: EPCOS 100K B57560G104F
- sensor_pin: PC4
- #control: pid
- #pid_Kp: 68.385
- #pid_Ki: 1.093
- #pid_Kd: 1069.370
- min_temp: 0
- max_temp: 130
- [heater_fan hotend_fan]
- pin: PC0
- heater: extruder
- heater_temp: 50.0
- [fan]
- pin: PA0
- [mcu]
- serial: /dev/serial/by-id/usb-1a86_USB_Serial-if00-port0
- restart_method: command
- [printer]
- kinematics: cartesian
- max_velocity: 500
- max_accel: 3000
- max_accel_to_decel: 3000
- max_z_velocity: 5
- square_corner_velocity: 5.0
- max_z_accel: 100
- [bed_screws]
- screw1: 32, 203
- screw2: 32, 33
- screw3: 212, 33
- screw4: 205, 203
- [screws_tilt_adjust]
- screw1: 55, 64
- screw1_name: vorne links
- screw2: 230, 64
- screw2_name: vorne rechts
- screw3: 230, 237
- screw3_name: hinten rechts
- screw4: 55, 237
- screw4_name: hinten links
- horizontal_move_z: 10.
- speed: 50.
- screw_thread: CW-M3
- [bltouch]
- sensor_pin: ^PC14
- control_pin: PC13
- x_offset: -32.5
- y_offset: -39.5
- #z_offset: 0
- speed:10
- samples:3
- samples_result:average
- probe_with_touch_mode: true
- stow_on_each_sample: false
- [safe_z_home]
- home_xy_position: 147,154
- speed: 100
- z_hop: 10
- z_hop_speed: 5
- [bed_mesh]
- speed: 100
- mesh_min: 20, 20
- mesh_max: 200, 197
- algorithm: bicubic
- probe_count: 5,5
- fade_start: 1
- fade_end: 3
- fade_target: 0
- mesh_pps: 2,2
- algorithm: bicubic
- bicubic_tension: 0.2
- [temperature_sensor Raspberry_Pi]
- sensor_type: temperature_host
- min_temp: 0
- max_temp: 100
- [virtual_sdcard]
- path: ~/printer_data/gcodes
- [display_status]
- [pause_resume]
- [gcode_macro START_PRINT]
- gcode:
- {% set BED_TEMP = params.BED_TEMP|default(60)|float %}
- {% set EXTRUDER_TEMP = params.EXTRUDER_TEMP|default(210)|float %}
- # Use absolute coordinates
- G90
- # Set GCODE offset
- SET_GCODE_OFFSET Z=0
- # Home the printer
- G28
- #load default bed mesh
- BED_MESH_PROFILE LOAD="default"
- # Reset extruder
- G92 E0
- # Set extruder temperature
- M104 S{EXTRUDER_TEMP}
- # Wait for Bed temperature
- M190 S{BED_TEMP}
- # Wait for Extruder temperature
- M109 S{EXTRUDER_TEMP}
- [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.
- #*#
- #*# [bltouch]
- #*# z_offset = 2.676
- #*#
- #*# [bed_mesh default]
- #*# version = 1
- #*# points =
- #*# -0.058333, -0.017500, -0.070000, -0.117500, -0.077500
- #*# -0.035000, 0.032500, -0.035833, -0.102500, -0.052500
- #*# -0.012500, 0.045000, -0.025000, -0.067500, -0.037500
- #*# -0.050000, -0.014167, -0.049167, -0.105000, -0.056667
- #*# -0.084167, -0.035000, -0.092500, -0.115000, -0.080000
- #*# x_count = 5
- #*# y_count = 5
- #*# mesh_x_pps = 2
- #*# mesh_y_pps = 2
- #*# algo = bicubic
- #*# tension = 0.2
- #*# min_x = 20.0
- #*# max_x = 200.0
- #*# min_y = 20.0
- #*# max_y = 197.0
- #*#
- #*# [extruder]
- #*# control = pid
- #*# pid_kp = 20.569
- #*# pid_ki = 1.016
- #*# pid_kd = 104.130
- #*#
- #*# [heater_bed]
- #*# control = pid
- #*# pid_kp = 69.986
- #*# pid_ki = 1.436
- #*# pid_kd = 852.958
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement