Update
This commit is contained in:
parent
b523f6dfa2
commit
1c7d795848
5 changed files with 90 additions and 45 deletions
|
@ -6,6 +6,7 @@ gcode:
|
|||
{% set bedTemp = params.BED|int %}
|
||||
{% set chamberTemp = params.CHAMBER|default(0)|int %}
|
||||
|
||||
SET_PIN PIN=TOOLHEAD_LED VALUE=1.00 # Turn on toolhead light
|
||||
SET_HEATER_TEMPERATURE HEATER=extruder TARGET={hotendTemp|float*0.6} # Set extruder chamber warm temp
|
||||
SET_HEATER_TEMPERATURE HEATER=heater_bed TARGET={bedTemp} # Set bed temp to warm while starting up
|
||||
SET_DOCKABLE_PROBE AUTO_ATTACH_DETACH=1 # Disable probe attach/detach
|
||||
|
@ -15,17 +16,18 @@ gcode:
|
|||
#{% if chamberTemp != 0 %} # If chamber temp set
|
||||
# CHAMBER_WARMER TEMPERATURE={chamberTemp} # Warm chamber
|
||||
#{% endif %}
|
||||
SET_HEATER_TEMPERATURE HEATER=extruder TARGET={hotendTemp|float*0.8} # Set extruder don't drip temp
|
||||
SET_HEATER_TEMPERATURE HEATER=extruder TARGET={hotendTemp|float*0.6} # Set extruder don't drip temp
|
||||
SET_DOCKABLE_PROBE AUTO_ATTACH_DETACH=1 # Disable probe attach/detach
|
||||
ATTACH_PROBE
|
||||
CLEAN_NOZZLE
|
||||
FAST_QGL # QGL after soak
|
||||
BED_MESH_CALIBRATE
|
||||
DETACH_PROBE # Ensure probe is detached
|
||||
SET_DOCKABLE_PROBE AUTO_ATTACH_DETACH=1 # Enable probe attach/detach
|
||||
G90 # Absolute positioning
|
||||
GO_TO_BUCKET # Move to park position
|
||||
M109 S{hotendTemp} # Set extruder to printing temperature
|
||||
PURGE_X # Purge
|
||||
CLEAN_NOZZLE # Purge
|
||||
G1 X{90} F{500*60} # Avoid brush
|
||||
M117 Printing...
|
||||
|
||||
|
@ -44,9 +46,9 @@ gcode:
|
|||
SAFE_RETRACT
|
||||
{% set max_z = printer.configfile.config["stepper_z"]["position_max"]|float %}
|
||||
# Tall hop if low
|
||||
{% if printer.toolhead.position.z < 10 %}
|
||||
{% if printer.toolhead.position.z < 15 %}
|
||||
G90
|
||||
G1 Z10
|
||||
G1 Z15
|
||||
# Short hop if high
|
||||
{% elif printer.toolhead.position.z < (max_z - Z - 1) %}
|
||||
G91
|
||||
|
@ -92,7 +94,9 @@ gcode:
|
|||
M107 ; turn off fan
|
||||
|
||||
BED_MESH_CLEAR
|
||||
GO_TO_BUCKET
|
||||
RESTORE_GCODE_STATE NAME=STATE_PRINT_END
|
||||
SET_PIN PIN=TOOLHEAD_LED VALUE=0.00 ; Turn off toolhead light
|
||||
|
||||
[gcode_macro CANCEL_PRINT]
|
||||
rename_existing: BASE_CANCEL_PRINT
|
||||
|
@ -136,9 +140,8 @@ gcode:
|
|||
SET_DOCKABLE_PROBE AUTO_ATTACH_DETACH=0
|
||||
ATTACH_PROBE
|
||||
QUAD_GANTRY_LEVEL horizontal_move_z={z_offset * 3} retry_tolerance=1
|
||||
QUAD_GANTRY_LEVEL horizontal_move_z={z_offset}
|
||||
QUAD_GANTRY_LEVEL horizontal_move_z={z_offset + 1.5}
|
||||
G28 Z
|
||||
DETACH_PROBE
|
||||
SET_DOCKABLE_PROBE AUTO_ATTACH_DETACH=1
|
||||
|
||||
[gcode_macro SAFE_RETRACT]
|
||||
|
@ -153,3 +156,21 @@ gcode:
|
|||
G11
|
||||
{% endif %}
|
||||
|
||||
[gcode_macro UNLOAD_FILAMENT]
|
||||
gcode:
|
||||
M118 Filament unloading!
|
||||
M117 Filament unloading!
|
||||
M82 # Set extruder to absolute mode
|
||||
G92 E0
|
||||
{% if printer.extruder.can_extrude|lower != 'true' %} # Checking for minimum extrusion temperature
|
||||
# Check if temperature is over the minimum extrusion temp. min_extrude_temp must be defined in the extruder config (to about 185)
|
||||
M118 Hotend heating!
|
||||
M109 S235 T0 # Set temperature and wait
|
||||
{% endif %}
|
||||
G1 E10 F{5*60} # Extrude a little to soften tip
|
||||
G0 E-5 F{60*60} # Extract filament to cold end
|
||||
G0 E-70 F{5*60} # Continue extraction slow allow filament to be cooled enough before reaches the gears
|
||||
M400
|
||||
M118 Filament unload complete!
|
||||
M117 Filament unload complete!
|
||||
|
||||
|
|
25
fans.cfg
25
fans.cfg
|
@ -20,9 +20,34 @@ heater_temp: 50.0
|
|||
## If you are experiencing back flow, you can reduce fan_speed
|
||||
fan_speed: 0.6
|
||||
|
||||
[controller_fan mcu]
|
||||
## Controller Fan - FAN4
|
||||
pin: PE4
|
||||
max_power: 0.5
|
||||
kick_start_time: 0.5
|
||||
stepper: stepper_x
|
||||
|
||||
## If you are experiencing back flow, you can reduce fan_speed
|
||||
fan_speed: 0.6
|
||||
[output_pin TOOLHEAD_LED]
|
||||
pin: PE5
|
||||
pwm: True
|
||||
shutdown_value: 0
|
||||
hardware_pwm: True
|
||||
cycle_time: 0.001
|
||||
|
||||
[temperature_sensor CB1]
|
||||
sensor_type: temperature_host
|
||||
min_temp: 0
|
||||
max_temp: 100
|
||||
|
||||
[temperature_sensor Manta]
|
||||
sensor_type: temperature_mcu
|
||||
min_temp: 0
|
||||
max_temp: 100
|
||||
|
||||
[temperature_sensor chamber]
|
||||
sensor_type: Generic 3950
|
||||
sensor_pin: PA3 # TH2
|
||||
min_temp: 0
|
||||
max_temp: 100
|
||||
|
|
48
printer.cfg
48
printer.cfg
|
@ -5,13 +5,6 @@
|
|||
# See docs/Config_Reference.md for a description of parameters.
|
||||
|
||||
## THINGS TO CHANGE/CHECK: ***
|
||||
## Z Endstop Switch location [safe_z_home] section
|
||||
## Homing end position [gcode_macro G32] section
|
||||
## Z Endstop Switch offset for Z0 [stepper_z] 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
|
||||
|
||||
[mcu]
|
||||
|
@ -20,11 +13,16 @@ restart_method: command
|
|||
|
||||
[printer]
|
||||
kinematics: corexy
|
||||
max_velocity: 300
|
||||
max_accel: 3000
|
||||
max_velocity: 500
|
||||
max_accel: 5000
|
||||
max_z_velocity: 15
|
||||
max_z_accel: 350
|
||||
square_corner_velocity: 5.0
|
||||
square_corner_velocity: 8
|
||||
|
||||
[firmware_retraction]
|
||||
retract_length: 0.4
|
||||
retract_speed: 50
|
||||
unretract_speed: 50
|
||||
|
||||
[include steppers.cfg]
|
||||
[include fans.cfg]
|
||||
|
@ -39,6 +37,8 @@ path: ~/printer_data/gcodes
|
|||
|
||||
[display_status]
|
||||
[pause_resume]
|
||||
[exclude_object]
|
||||
|
||||
|
||||
[gcode_arcs]
|
||||
resolution: 0.1
|
||||
|
@ -51,13 +51,19 @@ resolution: 0.1
|
|||
heater_pin: PE1
|
||||
sensor_type: Generic 3950
|
||||
sensor_pin: PA0
|
||||
max_power: 0.5
|
||||
max_power: 1
|
||||
min_temp: 0
|
||||
max_temp: 120
|
||||
control: pid
|
||||
pid_kp: 31.756 #58.437 # for 100%
|
||||
pid_ki: 1.217 #2.347 # for 100%
|
||||
pid_kd: 207.207 #363.769 # for 100%
|
||||
pid_kp: 55.331
|
||||
pid_ki: 3.208
|
||||
pid_kd: 238.614
|
||||
|
||||
|
||||
# For 50%
|
||||
#pid_kp: 31.756
|
||||
#pid_ki: 1.217
|
||||
#pid_kd: 207.207
|
||||
|
||||
#####################################################################
|
||||
# Probe
|
||||
|
@ -71,8 +77,8 @@ y_offset: 26.0
|
|||
z_offset: 3.475
|
||||
samples: 3
|
||||
samples_result: median
|
||||
sample_retract_dist: 3.0
|
||||
samples_tolerance: 0.02
|
||||
sample_retract_dist: 1.0
|
||||
samples_tolerance: 0.05
|
||||
samples_tolerance_retries: 3
|
||||
dock_position: 153,188
|
||||
approach_position: 153,150
|
||||
|
@ -103,10 +109,10 @@ gantry_corners:
|
|||
244.1,234.5
|
||||
# Probe points
|
||||
points:
|
||||
2,2
|
||||
2,130
|
||||
170,130
|
||||
170,2
|
||||
3,2
|
||||
3,120
|
||||
160,120
|
||||
160,2
|
||||
|
||||
speed: 100
|
||||
horizontal_move_z: 15
|
||||
|
@ -120,7 +126,7 @@ horizontal_move_z: 5
|
|||
mesh_min: 2,26
|
||||
mesh_max: 170,156
|
||||
zero_reference_position: 90, 90
|
||||
probe_count: 7,7
|
||||
probe_count: 3,3
|
||||
mesh_pps: 2,2
|
||||
algorithm: bicubic
|
||||
bicubic_tension: 0.2
|
||||
|
|
|
@ -18,7 +18,7 @@ variable_purge_ret: 0 ; Retract length, in mm, after
|
|||
variable_ooze_dwell: 1 ; Dwell/wait time, in seconds, after purging and retracting.
|
||||
|
||||
# Adjust this so that your nozzle scrubs within the brush. Currently defaulted to be a lot higher for safety. Be careful not to go too low!
|
||||
variable_brush_top: 6.5
|
||||
variable_brush_top: 9
|
||||
|
||||
# These parameters define your scrubbing, travel speeds, safe z clearance and how many times you want to wipe. Update as necessary. Wipe
|
||||
# direction is randomized based off whether the left or right bucket is randomly selected in the purge & scrubbing routine.
|
||||
|
|
27
steppers.cfg
27
steppers.cfg
|
@ -22,7 +22,7 @@ homing_retract_dist: 0 # Must set 0 for sensorless
|
|||
[tmc2209 stepper_x]
|
||||
uart_pin: PD0
|
||||
interpolate: false
|
||||
run_current: 0.6
|
||||
run_current: 0.8
|
||||
|
||||
diag_pin: ^PC1
|
||||
driver_SGTHRS: 110 # 255 is most sensitive value, 0 is least sensitive
|
||||
|
@ -47,7 +47,7 @@ homing_retract_dist: 0 # Must set 0 for sensorless
|
|||
[tmc2209 stepper_y]
|
||||
uart_pin: PF8
|
||||
interpolate: false
|
||||
run_current: 0.6
|
||||
run_current: 0.8
|
||||
|
||||
diag_pin: ^PC2
|
||||
driver_SGTHRS: 125 # 255 is most sensitive value, 0 is least sensitive
|
||||
|
@ -64,14 +64,10 @@ step_pin: PE2
|
|||
dir_pin: PB4
|
||||
enable_pin: !PC11
|
||||
rotation_distance: 32
|
||||
gear_ratio: 64:16
|
||||
gear_ratio: 60:16
|
||||
microsteps: 32
|
||||
endstop_pin: PC13
|
||||
## 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.5
|
||||
position_endstop: 0.625
|
||||
position_max: 165
|
||||
position_min: -5
|
||||
homing_speed: 8
|
||||
|
@ -91,7 +87,7 @@ step_pin: PF12
|
|||
dir_pin: !PF11
|
||||
enable_pin: !PB3
|
||||
rotation_distance: 32
|
||||
gear_ratio: 64:16
|
||||
gear_ratio: 60:16
|
||||
microsteps: 32
|
||||
|
||||
[tmc2209 stepper_z1]
|
||||
|
@ -107,7 +103,7 @@ step_pin: PD7
|
|||
dir_pin: PD6
|
||||
enable_pin: !PF10
|
||||
rotation_distance: 32
|
||||
gear_ratio: 64:16
|
||||
gear_ratio: 60:16
|
||||
microsteps: 32
|
||||
|
||||
[tmc2209 stepper_z2]
|
||||
|
@ -124,7 +120,7 @@ step_pin: PD3
|
|||
dir_pin: !PD2
|
||||
enable_pin: !PD5
|
||||
rotation_distance: 32
|
||||
gear_ratio: 64:16
|
||||
gear_ratio: 60:16
|
||||
microsteps: 32
|
||||
|
||||
[tmc2209 stepper_z3]
|
||||
|
@ -146,10 +142,6 @@ stealthchop_threshold: 999999
|
|||
step_pin: PD11
|
||||
dir_pin: PD9
|
||||
enable_pin: !PD15
|
||||
## 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
|
||||
gear_ratio: 50:10 #BMG Gear Ratio
|
||||
microsteps: 32
|
||||
|
@ -157,8 +149,6 @@ full_steps_per_rotation: 200 #200 for 1.8 degree, 400 for 0.9 degree
|
|||
nozzle_diameter: 0.400
|
||||
filament_diameter: 1.75
|
||||
heater_pin: PE3
|
||||
## 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: PT1000
|
||||
pullup_resistor: 2200
|
||||
sensor_pin: PA1
|
||||
|
@ -166,6 +156,9 @@ min_temp: 10
|
|||
max_temp: 350
|
||||
max_power: 1.0
|
||||
min_extrude_temp: 170
|
||||
max_extrude_only_distance: 100.0
|
||||
pressure_advance: 0.015
|
||||
smooth_time: 0.01
|
||||
control = pid
|
||||
pid_kp = 19.409
|
||||
pid_ki = 0.764
|
||||
|
|
Loading…
Add table
Reference in a new issue