Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- [include mainsail.cfg]
- [include Klicky/klicky-variables.cfg]
- [include Klicky/klicky-macros.cfg]
- [include Klicky/homing-current.cfg]
- [exclude_object]
- [tmc5160 stepper_x]
- cs_pin: PC4
- spi_software_sclk_pin: PA5
- spi_software_mosi_pin: PA7
- spi_software_miso_pin: PA6
- run_current: 1.9
- sense_resistor: 0.075
- #driver_PWM_AUTOSCALE: True
- #driver_PWM_AUTOGRAD: True
- #driver_SGTHRS: 255
- diag1_pin: ^!PG6
- driver_SGT: 2
- stealthchop_threshold: 0
- interpolate: true
- home_current: 1.5
- [stepper_x]
- step_pin: PF13
- dir_pin: PF12
- enable_pin: !PF14
- microsteps: 4
- rotation_distance: 40 #40.05
- endstop_pin: tmc5160_stepper_x:virtual_endstop
- homing_retract_dist: 0
- position_endstop: 350
- position_min: 0
- position_max: 350
- homing_speed: 70
- use_sensorless_homing: true
- [stepper_y]
- step_pin: PG0
- dir_pin: PG1
- enable_pin: !PF15
- microsteps: 4
- rotation_distance: 40
- endstop_pin: tmc5160_stepper_y:virtual_endstop
- homing_retract_dist: 0
- position_endstop: 0
- position_min: 0
- position_max: 380
- homing_speed: 70
- use_sensorless_homing: true
- [tmc5160 stepper_y]
- cs_pin: PD11
- spi_software_sclk_pin: PA5
- spi_software_mosi_pin: PA7
- spi_software_miso_pin: PA6
- diag1_pin: ^!PG9
- driver_SGT: 2
- run_current: 1.9
- sense_resistor: 0.075
- interpolate: true
- stealthchop_threshold: 0
- home_current: 1.5
- [stepper_z]
- step_pin: PF11
- dir_pin: PG3
- enable_pin: !PG5
- microsteps: 16
- rotation_distance: 4
- endstop_pin: probe:z_virtual_endstop
- position_min: -10
- position_max: 400
- homing_speed: 10
- [tmc5160 stepper_z]
- cs_pin: PC6
- spi_software_sclk_pin: PA5
- spi_software_mosi_pin: PA7
- spi_software_miso_pin: PA6
- run_current: 0.7
- sense_resistor: 0.075
- [force_move]
- enable_force_move: True
- [extruder]
- step_pin: PG4
- dir_pin: !PC1
- enable_pin: !PA2 #!PG2
- microsteps: 32
- pressure_advance: 0.035
- rotation_distance: 4.637 #5.7 #5.998 #53.49
- max_extrude_only_distance: 101
- full_steps_per_rotation: 200
- nozzle_diameter: 0.400
- filament_diameter: 1.750
- heater_pin: PA0
- sensor_type: PT1000
- sensor_pin: PF4
- min_temp: 0
- max_temp: 330
- min_extrude_temp: 0
- max_extrude_cross_section: 100
- [tmc5160 extruder]
- cs_pin: PC7
- spi_software_sclk_pin: PA5
- spi_software_mosi_pin: PA7
- spi_software_miso_pin: PA6
- run_current: 0.8
- sense_resistor: 0.075
- interpolate: false
- stealthchop_threshold: 0
- [firmware_retraction]
- retract_length: 0.4
- retract_speed: 35
- unretract_extra_length: 0
- unretract_speed: 35
- [gcode_arcs]
- resolution: 1.0
- [heater_bed]
- heater_pin: PA3
- sensor_type: EPCOS 100K B57560G104F
- sensor_pin: PF3
- min_temp: -100
- max_temp: 115
- [heater_fan heatbreak_cooling_fan]
- pin: PA8
- [controller_fan controller_fan]
- pin: PD12
- [fan]
- pin: PE5
- [temperature_sensor host]
- sensor_type: temperature_host
- min_temp: 0
- max_temp: 100
- [mcu]
- serial: /dev/serial/by-id/usb-Klipper_stm32h723xx_160041000851313339373836-if00
- [mcu rpi]
- serial: /tmp/klipper_host_mcu
- [probe]
- pin: ^PB7
- x_offset: 0
- y_offset: 0
- #z_offset: -2
- speed: 5
- samples: 3
- samples_result: median
- sample_retract_dist: 2.0
- samples_tolerance: 0.05
- samples_tolerance_retries: 5
- [bed_mesh]
- mesh_min: 1, 3
- mesh_max: 350, 350
- probe_count: 5, 5
- fade_start: 1.0
- fade_end: 10.0
- fade_target: 0.0
- horizontal_move_z: 7
- speed: 500
- [printer]
- kinematics: corexy
- max_velocity: 1000
- max_accel: 30000
- max_z_velocity: 20
- max_z_accel: 500
- square_corner_velocity: 5
- [input_shaper] shaper_freq_x = 44.6 shaper_freq_y = 41.4 shaper_type = ei
- [adxl345]
- cs_pin: rpi:gpio5
- spi_bus: spidev0.0
- [resonance_tester]
- accel_chip: adxl345
- probe_points:
- 175, 171, 20
- [bed_screws]
- screw1: 72, 206
- screw2: 243, 206
- screw3: 243, 28
- screw4: 72, 28
- [screws_tilt_adjust]
- screw1: 72, 206
- screw1_name: rear left screw
- screw2: 243, 206
- screw2_name: rear right screw
- screw3: 243, 28
- screw3_name: front right screw
- screw4: 72, 28
- screw4_name: front left screw
- horizontal_move_z: 5
- speed: 150
- screw_thread: CW-M3
- [virtual_sdcard]
- path: ~/printer_data/gcodes
- [include config_backup.cfg]
- [gcode_macro BED_MESH_CALIBRATE]
- rename_existing: _BED_MESH_CALIBRATE
- gcode:
- ATTACH_PROBE
- _BED_MESH_CALIBRATE {rawparams}
- DOCK_PROBE
- [gcode_macro START_PRINT]
- gcode:
- {% set BED_TEMP=params.BED_TEMP|default(60)|float %}
- {% set EXTRUDER_TEMP=params.EXTRUDER_TEMP|default(190)|float %}
- # Home the printer
- G90
- M83
- G28
- # Preheat the bed
- M140 S{BED_TEMP}
- M190 S{BED_TEMP}
- M104 S190
- # Z probing sequence
- #BED_MESH_CALIBRATE
- BED_MESH_PROFILE LOAD=default
- # Heat the extruder to the desired temperature
- M104 S{EXTRUDER_TEMP}
- M109 S{EXTRUDER_TEMP}
- # Prime line sequence
- G1 Z5 F3000 ; lift
- G1 X20 Y5 F1500 ; move to prime position
- G1 Z0.15 F3000 ; get ready to prime
- G92 E0 ; reset extrusion distance
- G1 X100 E30 F600 ; prime nozzle with adjusted extrusion / E__ based on how much you like
- # String removal circle after priming
- G1 Z0.2 F3000 ; adjust to 0.2mm above the bed
- G1 Y15 F10000 ; move the toolhead in the Y direction by 15 units
- # Execute the circle 3 times
- G2 I-5 J0 F10000 ; circle with 5mm radius
- G2 I-5 J0 F10000
- G2 I-5 J0 F10000
- [gcode_macro PURGE]
- gcode:
- {% if printer["gcode_macro status_cleaning"] != null %}
- status_cleaning
- {% endif %}
- SAVE_GCODE_STATE NAME=Pre_Prime
- G90
- G92 E0 ;Reset Extruder
- G1 Z10.0 F3000 ;Move Z Axis up
- G1 X0 Y0;
- G1 E10.0 F1800
- G1 Z3.65 F5000.0 ;Move to start position
- G1 X220 Y0 Z0.28 F1500.0 E30 ;Draw the first line
- G92 E0 ;Reset Extruder
- G1 Z10 F3000 ;Move Z Axis up
- RESTORE_GCODE_STATE NAME=Pre_Prime
- {% if printer["gcode_macro status_printing"] != null %}
- status_printing
- {% endif %}
- [gcode_macro SPEED]
- gcode:
- {action_respond_info("Current velocity: %.1f mm/s" % printer.motion_report.live_velocity)}
- #*# <---------------------- SAVE_CONFIG ---------------------->
- #*# DO NOT EDIT THIS BLOCK OR BELOW. The contents are auto-generated.
- #*#
- #*# [input_shaper]
- #*# shaper_type_y = 2hump_ei
- #*# shaper_freq_y = 56.6
- #*# shaper_type_x = mzv
- #*# shaper_freq_x = 52.4
- #*#
- #*# [extruder]
- #*# control = pid
- #*# pid_kp = 40.842
- #*# pid_ki = 13.614
- #*# pid_kd = 30.632
- #*#
- #*# [heater_bed]
- #*# control = pid
- #*# pid_kp = 68.556
- #*# pid_ki = 0.853
- #*# pid_kd = 1377.974
- #*#
- #*# [probe]
- #*# z_offset = 2.050
- #*#
- #*# [bed_mesh default]
- #*# version = 1
- #*# points =
- #*# -0.861250, -0.693750, -0.600000, -0.606250, -0.651250
- #*# -0.651250, -0.456250, -0.308750, -0.293750, -0.312500
- #*# -0.522500, -0.258750, -0.061250, -0.017500, -0.025000
- #*# -0.396250, -0.052500, 0.161250, 0.235000, 0.237500
- #*# -0.236250, 0.177500, 0.428750, 0.518750, 0.526250
- #*# x_count = 5
- #*# y_count = 5
- #*# mesh_x_pps = 2
- #*# mesh_y_pps = 2
- #*# algo = lagrange
- #*# tension = 0.2
- #*# min_x = 1.0
- #*# max_x = 350.0
- #*# min_y = 3.0
- #*# max_y = 350.0
Advertisement
Add Comment
Please, Sign In to add comment