Automatic commit of config from 2025-12-18

This commit is contained in:
Martyn 2025-12-18 20:56:26 +00:00
parent efa1314366
commit 81ff92a4c1
2 changed files with 47 additions and 4 deletions

View file

@ -52,9 +52,18 @@ max_power: 1.0
min_extrude_temp: 170
[extruder]
control: pid
pid_Kp: 34.683
pid_Ki: 4.204
pid_Kd: 71.534
# winter PLA with part cooling fan at 80%
pid_Kp: 35.335
pid_Ki: 2.103
pid_Kd: 148.407
# winter PLA
#pid_Kp: 34.738
#pid_Ki: 4.063
#pid_Kd: 74.253
# summer? ABS?
#pid_Kp: 34.683
#pid_Ki: 4.204
#pid_Kd: 71.534
max_extrude_only_distance = 101
## Try to keep pressure_advance below 1.0
#pressure_advance: 0.05
@ -81,7 +90,7 @@ kick_start_time: 0.5
heater: extruder
heater_temp: 50.0
## If you are experiencing back flow, you can reduce fan_speed
fan_speed: 0.6
fan_speed: 0.8
[neopixel sb_leds]
pin: ebb36:PD3

View file

@ -19,6 +19,7 @@ gcode:
BED_MESH_CLEAR
RESPOND PREFIX=DEBUG: MSG="G28"
G28 ; Home all axes
CHECK_PID_SETUP
;QUAD_GANTRY_LEVEL
STATUS_HEATING
;TEMPERATURE_WAIT SENSOR=heater_bed MINIMUM={STANDBY_TEMP} ; Start heating up the nozzle most of the way
@ -500,3 +501,36 @@ gcode:
[mmu_led_effect mmu_purple_slow]
layers: breathing 1.0 0 top (1,0,1)
[gcode_macro AFTER_LAYER_CHANGE]
#rename_existing: _PID_RENAMED_AFTER_LAYER_CHANGE
gcode:
CHECK_PID_SETUP
# _PID_RENAMED_AFTER_LAYER_CHANGE
[gcode_macro CHECK_PID_SETUP]
# winter values
variable_no_fan_kp: 34.738
variable_no_fan_ki: 4.063
variable_no_fan_kd: 74.253
variable_with_fan_kp: 35.335
variable_with_fan_ki: 2.103
variable_with_fan_kd: 148.407
# summer values - to be confirmed.
#pid_Kp: 34.683
#pid_Ki: 4.204
#pid_Kd: 71.534
gcode:
{%- if layer_num == 0 %} # first layer, no fan
RESPOND PREFIX=DEBUG: MSG="Setting PID to no fan setup (martyn_macros.cfg) Kp={no_fan_kp} Kd={no_fan_kd} Ki={no_fan_ki}"
{% set extruder.pid_kp = no_fan_kp %}
{% set extruder.pid_ki = no_fan_ki %}
{% set extruder.pid_kd = no_fan_kd %}
{% else %}
{% if layer_num == 1 %} # second layer, with fan
RESPOND PREFIX=DEBUG: MSG="Setting PID to with fan setup (martyn_macros.cfg) Kp={with_fan_kp} Kd={with_fan_kd} Ki={with_fan_ki}"
{% set extruder.pid_kp = with_fan_kp %}
{% set extruder.pid_ki = with_fan_ki %}
{% set extruder.pid_kd = with_fan_kd %}
{% endif -%}
{% endif -%}