Thermal runaway

This is strange indeed.

  • A PT1000 increases its resistance as the temperature rises.
  • You apparently get accurate values at room temperature, correct?
  • With rising temperature, the value displayed in Klipper “lags behind,” meaning it is lower than the actual temperature.
  • The higher the temperature, the greater the difference.
  • This suggests that the measured resistance of the RTD is lower than it should be and appears to be nonlinear.

Carefully check this connector cable. Inspect the crimps on boths sides. Measure it. Also measure the end of the connector cable against the other two pins on the connector (the pin connector on the board).

As an alternative you can try connecting the PT1000 directly to TH0:

[extruder]
...
sensor_type: PT1000
sensor_pin: EBBCan: PA3
pullup_resistor: 4700
...

This would be interesting to verify the PT1000. Generally, it’s an alternative, but I would really like to know the reason for this strange behavior.

I do get accurate values at room temp. I am currently at work, but will try this after work. Thank you

I have tested the connection for continuity of my jumper cable for the thermistor, all connections are testing good. I tested the pin out on the board sensor_pin: EBBCan:PA4 on the multi meter set to ohms and i get a fluctuating 8.96 ( not sure if that is the right setting to test it?)
I noticed that after a re-boot when i disconnect the thermistor from the sb 2240 the temp jumps to 300. If i recall correctly previously if i had disconnected the thermistor while printer is powered up it would normally report a thermal error.

I have changed the config as described above as well as moved my connector to PA3, i get an error for the Pullup_resistor: 4700 saying it can’t be under the extruder block.

Just omit it. It is the default anyway, and I have verified that the board actually uses 4k7.

Edit:

pullup_resistor: 4700

is a valid setting for the extruder. I just verified it. Maybe you have a spelling or case problem?

I copied & pasted your text. Still getting error.
Option ‘pullup_resistor’ is not valid in section ‘extruder’
Here is my modified extruder block: ( I shouldn’t need to change dip switches being that i’m not using the MAX pinout for this trial?)


[extruder]
step_pin: EBBCan: PD0
dir_pin: !EBBCan: PD1
enable_pin: !EBBCan: PD2
rotation_distance: 22.09149893186791 #Bondtech 5mm Drive Gears
gear_ratio: 50:10               #BMG Gear Ratio
microsteps: 16
full_steps_per_rotation: 400    #200 for 1.8 degree, 400 for 0.9 degree
nozzle_diameter: 0.400
filament_diameter: 1.75
heater_pin: EBBCan:PB13
# sensor_type: MAX31865
# sensor_pin: EBBCan:PA4
sensor_type: PT1000
sensor_pin: EBBCan: PA3
pullup_resistor: 4700

spi_software_sclk_pin: EBBCan:PA5
spi_software_mosi_pin: EBBCan:PA7
spi_software_miso_pin: EBBCan:PA6 
rtd_nominal_r: 1000
rtd_reference_r: 4300
rtd_num_of_wires: 2
# control: pid
# pid_kp: 23.052
# pid_ki: 1.851
# pid_kd: 71.754
#   pid_Kp=23.052 pid_Ki=1.851 pid_Kd=71.754
min_extrude_temp: 190
min_temp: 0
max_temp: 300
max_extrude_only_distance: 100
max_extrude_cross_section: 2.5
# pressure_advance: 

Try either commenting out or deleting the entire current [extruder] section and replace it with:

[extruder]
step_pin: EBBCan: PD0
dir_pin: !EBBCan: PD1
enable_pin: !EBBCan: PD2
rotation_distance: 22.09149893186791 #Bondtech 5mm Drive Gears
gear_ratio: 50:10               #BMG Gear Ratio
microsteps: 16
full_steps_per_rotation: 400    #200 for 1.8 degree, 400 for 0.9 degree
nozzle_diameter: 0.400
filament_diameter: 1.75
heater_pin: EBBCan:PB13
sensor_type: PT1000
sensor_pin: EBBCan: PA3
pullup_resistor: 4700
min_extrude_temp: 190
min_temp: 0
max_temp: 300
max_extrude_only_distance: 100
max_extrude_cross_section: 2.5

Option ‘pullup_resistor’ is not valid in section ‘extruder’
Same outcome.

Just delete it. As indicated, it is the default anyway.

after removing the pull_up resistor i am receiving:
MCU ‘EBBCan’ shutdown: Thermocouple reader fault

My temp reads 308 degrees at room temp.

Your config seems mildly borked. Post your klippy.log along with the printer.cfg.

In general, if you change something and issues arise, always post the corresponding klippy.log file.

1 Like

Sorry, I will now better for next time.
klippy (32).log (3.6 MB)

# btt_ebb-sb2240.cfg
# This file contains common pin mappings for the BIGTREETECH EBBCan
# Canbus board. To use this config, the firmware should be compiled for the
# STM32G0B1 with "8 MHz crystal" and "USB (on PA11/PA12)" or "CAN bus (on PB0/PB1)".
# The "EBB Can" micro-controller will be used to control the components on the nozzle.

# See docs/Config_Reference.md for a description of parameters.

[mcu EBBCan]
#serial: /dev/serial/by-id/usb-Klipper_Klipper_firmware_12345-if00
canbus_uuid: 41fd5a53f37b

[temperature_sensor EBB_NTC]
sensor_type: Generic 3950
sensor_pin: EBBCan: PA2

[adxl345]
cs_pin: EBBCan: PB12
spi_software_sclk_pin: EBBCan: PB10
spi_software_mosi_pin: EBBCan: PB11
spi_software_miso_pin: EBBCan: PB2
axes_map: x,y,z

[resonance_tester]
probe_points: 150, 150, 20
accel_chip: adxl345

[extruder]
step_pin: EBBCan: PD0
dir_pin: !EBBCan: PD1
enable_pin: !EBBCan: PD2
rotation_distance: 22.09149893186791 #Bondtech 5mm Drive Gears
gear_ratio: 50:10               #BMG Gear Ratio
microsteps: 16
full_steps_per_rotation: 400    #200 for 1.8 degree, 400 for 0.9 degree
nozzle_diameter: 0.400
filament_diameter: 1.75
heater_pin: EBBCan:PB13
sensor_type: PT1000
sensor_pin: EBBCan: PA3
# pullup_resistor: 4700
min_extrude_temp: 190
min_temp: 0
max_temp: 400
max_extrude_only_distance: 100
max_extrude_cross_section: 2.5

[tmc2209 extruder]
uart_pin: EBBCan: PA15
run_current: 0.650
stealthchop_threshold: 999999
# [tmc2240 extruder]
# cs_pin: EBBCan: PA15
# spi_software_sclk_pin: EBBCan: PB10
# spi_software_mosi_pin: EBBCan: PB11
# spi_software_miso_pin: EBBCan: PB2
# driver_TPFD: 0
# run_current: 0.650
# stealthchop_threshold: 999999


# [controller_fan SB2240_fan]
# ## Stealthburner PCB 4W_fan
# pin: EBBCan: PB14
# kick_start_time: 0.5
# stepper: extruder
# fan_speed: 1.0
# tachometer_pin: EBBCan: PB15
# tachometer_ppr: 1

[fan]
##	Print Cooling Fan - FAN1 Connector
## pin: PB1  ##Spider pin
pin: EBBCan: PA1
max_power: 1.0
kick_start_time: 1.0
##	Depending on your fan, you may need to increase this value
##	if your fan will not start. Can change cycle_time (increase)
##	if your fan is not able to slow down effectively
off_below: 0.101



[heater_fan hotend_fan]
pin: EBBCan: PA0
heater: extruder
heater_temp: 50.0

# [heater_fan 1_Toolhead_Fan]
# pin: EBBCan: PB14
# # max_power: 1.0
# tachometer_pin: EBBCan: PB15
# tachometer_ppr: 1


#####################################################################
#   LED Control
#####################################################################


## Chamber Lighting - HE2 Connector (Optional)
#[output_pin caselight]
#pin: PB10
#pwm:true
#shutdown_value: 0
#value:1
#cycle_time: 0.01

#[bltouch]
#sensor_pin: ~EBBCan: PB9
#control_pin: EBBCan: PB8
#z_offset: 0

# [probe]
# pin: ~!EBBCan:PB9
# x_offset: 0
# y_offset: 0
# z_offset: 0
# speed: 45.0
# samples: 2
# samples_result: median
# sample_retract_dist: 3.0
# samples_tolerance: 0.05
# samples_tolerance_retries: 3


# activate_gcode:
#     {% set PROBE_TEMP = 150 %}
#     {% set MAX_TEMP = PROBE_TEMP + 5 %}
#     {% set ACTUAL_TEMP = printer.extruder.temperature %}
#     {% set TARGET_TEMP = printer.extruder.target %}

#     {% if TARGET_TEMP > PROBE_TEMP %}
#         { action_respond_info('Extruder temperature target of %.1fC is too high, lowering to %.1fC' % (TARGET_TEMP, PROBE_TEMP)) }
#         M109 S{ PROBE_TEMP }
#     {% else %}
#         # Temperature target is already low enough, but nozzle may still be too hot.
#         {% if ACTUAL_TEMP > MAX_TEMP %}
#             { action_respond_info('Extruder temperature %.1fC is still too high, waiting until below %.1fC' % (ACTUAL_TEMP, MAX_TEMP)) }
#             TEMPERATURE_WAIT SENSOR=extruder MAXIMUM={ MAX_TEMP }
#         {% endif %}
#     {% endif %}
    

#[output_pin]
# pin: ~EBBCan:PB9

#[output_pin PB7]
#pin: EBBCan: PB7

#[output_pin PB6]
#pin: EBBCan: PB6


Printer.cfg

[virtual_sdcard]
path: /home/pi/printer_data/gcodes
on_error_gcode: CANCEL_PRINT


# This file contains common pin mappings for the BIGTREETECH Octopus Max EZ.
# To use this config, the firmware should be compiled for the
# STM32H723 with a "128KiB bootloader", "25 MHz crystal",
# and one of:
# Communication interface: "USB (on PA11/PA12)",
# Communication interface: "CAN bus (on PD0/PD1)", or
# Communication interface: "USB to CAN bus bridge (USB on PA11/PA12))" and CAN bus interface: "CAN bus (on PD0/PD1)".

# See docs/Config_Reference.md for a description of parameters.


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

## Mainsail settings
[include mainsail.cfg]
# [I'm an included settings block]
[extruder]
[heater_bed]
[probe]
[include btt_ebb-sb2240.cfg]
# sb2400 uid 41fd5a53f37b
[include stealthburner_leds.cfg]
[include KAMP_Settings.cfg]
# [include macros.cfg]
[exclude_object]
# [include nevermore.cfg]
#[mcu rpi]
#serial: /tmp/klipper_host_mcu

[input_shaper]
shaper_freq_x: 56.4
shaper_type_x: mzv
shaper_freq_y: 41.4
shaper_type_y: mzv

# [shaketune]
# result_folder: ~/printer_data/config/ShakeTune_results
# #    The folder where the results will be stored. It will be created if it doesn't exist.
# number_of_results_to_keep: 3
# #    The number of results to keep in the result_folder. The oldest results will
# #    be automatically deleted after each runs.
# keep_raw_data: False
# #    If True, the raw CSV files will be kept in the result_folder alongside the
# #    PNG graphs. If False, they will be deleted and only the graphs will be kept.
# show_macros_in_webui: True
# #    Mainsail and Fluidd doesn't create buttons for "system" macros that are not in the
# #    printer.cfg file. If you want to see the macros in the webui, set this to True.
# timeout: 300
# #    The maximum time in seconds to let Shake&Tune process the CSV files and generate the graphs.


[printer]
kinematics: corexy
max_velocity: 300  
max_accel: 10000             #Max 4000
# max_accel_to_decel: 10000
max_z_velocity: 15          #Max 15 for 12V TMC Drivers, can increase for 24V
max_z_accel: 350
square_corner_velocity: 5.0


#[adxl345]
#cs_pin: PF14
#spi_bus: spi4


# Motor-1 B stepper Left Correct
[stepper_x]
step_pin: !PC13 # forward backward
dir_pin: !PC14 # left right
enable_pin: !PE6 # turn motor on
rotation_distance: 40
microsteps: 32
full_steps_per_rotation:200  #set to 400 for 0.9 degree stepper
endstop_pin: PF0
# position_min: 0
position_endstop: 300
position_max: 300
homing_speed: 100
homing_retract_dist: 3
# homing_positive_dir: True

##	Make sure to update below for your relevant driver (2208 or 2209)
[tmc2209 stepper_x]
uart_pin: PG14
# diag_pin: ^PF0
# driver_SGTHRS: 60 # 255 is most sensitive value, 0 is least sensitive
interpolate: false
run_current: 0.8
sense_resistor: 0.110
stealthchop_threshold: 0

# Motor-2 A stepper right Correct
[stepper_y]
step_pin: !PE4
dir_pin: !PE5
enable_pin: !PE3
rotation_distance: 40
microsteps: 32
full_steps_per_rotation:200  #set to 400 for 0.9 degree stepper
endstop_pin: !PF2
position_min: 0
position_endstop: 300
position_max: 300
homing_speed: 100
homing_retract_dist: 3
homing_positive_dir: true

##	Make sure to update below for your relevant driver (2208 or 2209)
[tmc2209 stepper_y]
uart_pin: PG13
# diag_pin: ^PF2
# driver_SGTHRS: 55 # 255 is most sensitive value, 0 is least sensitive
interpolate: false
run_current: 0.8
sense_resistor: 0.110
stealthchop_threshold: 0

## Z0 Stepper - Front Left correct
# Motor-4
[stepper_z] 
step_pin: PB8
dir_pin: !PB9
enable_pin: !PB7
rotation_distance: 40
gear_ratio: 80:16
microsteps: 32
endstop_pin: probe:z_virtual_endstop
position_max: 260
position_min: -5
homing_speed: 100
second_homing_speed: 100
homing_retract_dist: 5
homing_positive_dir: false
##  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



[extruder]
step_pin: EBBCan: PD0
dir_pin: !EBBCan: PD1
enable_pin: !EBBCan: PD2
rotation_distance: 22.09149893186791 #Bondtech 5mm Drive Gears
gear_ratio: 50:10               #BMG Gear Ratio
microsteps: 16
full_steps_per_rotation: 400    #200 for 1.8 degree, 400 for 0.9 degree
nozzle_diameter: 0.400
filament_diameter: 1.75
heater_pin: EBBCan:PB13
sensor_type: MAX31865
sensor_pin: EBBCan:PA4
spi_software_sclk_pin: EBBCan:PA5
spi_software_mosi_pin: EBBCan:PA7
spi_software_miso_pin: EBBCan:PA6 
rtd_nominal_r: 100
rtd_reference_r: 430
rtd_num_of_wires: 2
# control: pid
# pid_kp: 23.052
# pid_ki: 1.851
# pid_kd: 71.754
#   pid_Kp=23.052 pid_Ki=1.851 pid_Kd=71.754
min_extrude_temp: 0
min_temp: 0
max_temp: 300
max_extrude_only_distance: 100
max_extrude_cross_section: 2.5
pressure_advance: .025

##	Make sure to update below for your relevant driver (2208 or 2209)
[tmc2209 stepper_z]
uart_pin: PG11
# diag_pin: ^PF3
interpolate: false
run_current: 0.8
sense_resistor: 0.110
stealthchop_threshold: 999999

# MOTOR-5 back left Correct
[stepper_z1]
step_pin: PB5
dir_pin: PB4
enable_pin: !PB6
rotation_distance: 40
gear_ratio: 80:16
microsteps: 32

##	Make sure to update below for your relevant driver (2208 or 2209)
[tmc2209 stepper_z1]
uart_pin: PG10
# diag_pin: ^!PF3
interpolate: false
run_current: 0.8
sense_resistor: 0.110
stealthchop_threshold: 999999


##  Z2 Stepper - Back right
##  Connected to MOTOR_6
[stepper_z2]
step_pin: PG15
dir_pin: !PB3
enable_pin: !PD5
rotation_distance: 40
gear_ratio: 80:16
microsteps: 32

##	Make sure to update below for your relevant driver (2208 or 2209)
[tmc2209 stepper_z2]
uart_pin: PG9
# diag_pin: ^PF1
interpolate: false
run_current: 0.8
sense_resistor: 0.110
stealthchop_threshold: 999999

##  Z3 Stepper - Front Right
##  Connected to MOTOR_7
[stepper_z3]
step_pin: PD3
dir_pin: PD2
enable_pin: !PD4
rotation_distance: 40
gear_ratio: 80:16
microsteps: 16

##	Make sure to update below for your relevant driver (2208 or 2209)
[tmc2209 stepper_z3]
uart_pin: PD7
interpolate: false
run_current: 0.8
sense_resistor: 0.110
stealthchop_threshold: 999999

#[filament_switch_senso]
#switch_pin: PC15


#####################################################################
#   Bed Heater
#####################################################################


##  SSR Pin - HE1
##  Thermistor - TB
[heater_bed]
##  Uncomment the following line if using the default SSR wiring from the docs site
heater_pin: PF6
##  Other wiring guides may use BED_OUT to control the SSR. Uncomment the following line for those cases
#heater_pin: PA1
## Check what thermistor type you have. See https://www.klipper3d.org/Config_Reference.html#common-thermistors for common thermistor types.
## Use "Generic 3950" for Keenovo heaters
sensor_type:Generic 3950
sensor_pin: PB1
##  Adjust Max Power so your heater doesn't warp your bed. Rule of thumb is 0.4 watts / cm^2 .
max_power: 0.7
min_temp: 0
max_temp: 120
#control: pid
#pid_kp: 0
#pid_ki: 0
#pid_kd: 0
#  pid_Kp=38.508 pid_Ki=1.422 pid_Kd=260.650

#####################################################################
#   Probe
#####################################################################

# ##  Inductive Probe
# ##  This probe is not used for Z height, only Quad Gantry Leveling
[probe]

#--------------------------------------------------------------------

## Select the probe port by type:
## For the PROBE port. Will not work with Diode. May need pull-up resistor from signal to 24V.
#pin: ~!PB7
## For the DIAG_7 port. NEEDS BAT85 DIODE! Change to !PG15 if probe is NO.
#pin: ~PG15
## For Octopus Pro PROBE port; NPN and PNP proximity switch types can be set by jumper
#pin: ~!PC5

# #--------------------------------------------------------------------
pin: ~!EBBCan:PB9
x_offset: 0
y_offset: 0
#z_offset: -0.720
speed: 80
samples: 3
samples_result: median
sample_retract_dist: 3.0
samples_tolerance: 0.006
samples_tolerance_retries: 3 # 3


activate_gcode:
    {% set PROBE_TEMP = 150 %}
    {% set MAX_TEMP = PROBE_TEMP + 5 %}
    {% set ACTUAL_TEMP = printer.extruder.temperature %}
    {% set TARGET_TEMP = printer.extruder.target %}

    {% if TARGET_TEMP > PROBE_TEMP %}
        { action_respond_info('Extruder temperature target of %.1fC is too high, lowering to %.1fC' % (TARGET_TEMP, PROBE_TEMP)) }
        M109 S{ PROBE_TEMP }
    {% else %}
        # Temperature target is already low enough, but nozzle may still be too hot.
        {% if ACTUAL_TEMP > MAX_TEMP %}
            { action_respond_info('Extruder temperature %.1fC is still too high, waiting until below %.1fC' % (ACTUAL_TEMP, MAX_TEMP)) }
            TEMPERATURE_WAIT SENSOR=extruder MAXIMUM={ MAX_TEMP }
        {% endif %}
    {% endif %}
    


#####################################################################
#   Fan Control
#####################################################################

[fan]
## This is a simple include for the Nevermore. To use it with your printer, edit
## the pin definition in line 16 so it matches your printer.
## What you get:
## - a generic fan "Nevermore" which is adjustable in GCODE and in Mainsail/Fluidd
## - Commands in your 12864-controller to turn the fan on/off or adjust in 10%-steps
## - a Macro to turn the fan off some time after the print.
##
## Slicer integration: Add "SET_FAN_SPEED FAN=Nevermore SPEED=1" in your start-macro
## (or less fan depending on your needs, like SPEED=0.8)
## in your end print code, add "UPDATE_DELAYED_GCODE ID=filter_off DURATION=180"
## this keeps your Nevermore running for 180s after the print finishes to clean the chamber a bit more.

[fan_generic Nevermore]
pin: PF8
tachometer_pin: ^PC1



##  Controller fan - sb2240 printhead mini fan
[controller_fan sb2240_fan]
pin: PA6
tachometer_ppr: 2
tachometer_pin: ^PF3
#[heater_fan fan1]
#pin: PA5

#[heater_fan fan2]
#pin: PA4

#[heater_fan fan3]
#pin: PA3


#  Exhaust fan -  2 case fans & octopus fan under printer
[heater_fan exhaust_fancase]
pin: PA5
tachometer_ppr: 2
tachometer_pin: ^PF4
# max_power: 1.0
# shutdown_speed: 0.0
# kick_start_time: 5.0
# heater: heater_bed
# fan_speed: 1.0


##  Controller fan - FAN3 actually its the exhaust fan to outside
[controller_fan SSR_fanexhaust]
pin: PA4
kick_start_time: 0.5
heater: heater_bed


# # 5015 undr bead fans
# [controller_fan 5015_fan]
# pin: PF8
# tachometer_pin: ^PC1
# max_power: 1.0
# shutdown_speed: 0.0
# cycle_time: 0.10
# kick_start_time: 5.0
# heater: heater_bed
# fan_speed: 1.0

# pin: PA0
# max_power: 1.0
# shutdown_speed: 0
# cycle_time: 0.10
# hardware_pwm: False
# kick_start_time: 0.100
# off_below: 0.14
#[heater_fan fan6]
#pin: PA2
#tachometer_pin: PC2





#####################################################################
#   Thermals
#####################################################################

[temperature_sensor raspberry_pi]
## Pi Temps
sensor_type: temperature_host
max_temp: 100

##[temperature_sensor mcu_temp]
[temperature_sensor Octopus]
## Spider Temps
sensor_type: temperature_mcu
max_temp: 90

[temperature_sensor EBB2240]
sensor_type: temperature_mcu
sensor_mcu: EBBCan
min_temp: 0
# max_temp: 90



[temperature_sensor bed_top]
## Top of Bed Temps
sensor_type: Generic 3950
sensor_pin: PC4

######################
### Chamber Heater ###
######################

[heater_generic chamber_heater]
heater_pin: PF9
sensor_type: PT1000
sensor_pin: PC5
control: watermark
control: pid
pid_Kp=15.461 
pid_Ki=0.644 
pid_Kd=92.764
max_power: .75
min_temp: 0
max_temp: 110
max_power: .5
min_temp: 0
max_temp: 240

[verify_heater chamber_heater]
max_error: 120
check_gain_time: 120
hysteresis: 5
heating_gain: 2

# ##########################
# ### Chamber Heater Fan ###
# ##########################

 # heater - FAN4
[heater_fan chamber_heater_fan]
pin: PA3
max_power: 1.0
heater: chamber_heater
heater_temp: 40.0 # fan will turn off below this level

#############################
### Enclosure Temperature ###
#############################

# [thermistor chamber_thermistor]
# beta: 3950
# temperature1: 25.0
# resistance1: 103180.0



# [temperature_sensor enclosure_temp]
# sensor_type: chamber_thermistor
# sensor_pin: PC4
# min_temp: 0
# max_temp: 80

#####################################################################
#   Homing and Gantry Adjustment Routines
#####################################################################
[idle_timeout]
timeout: 1800

[safe_z_home]
##  XY Location of the Z Endstop Switch
##  Update -10,-10 to the XY coordinates of your endstop pin 
##  (such as 157,305) after going through Z Endstop Pin
##  Location Definition step.
home_xy_position: 150, 150
speed: 250 # 250
z_hop: 5

##  Use QUAD_GANTRY_LEVEL to level a gantry.
##  Min & Max gantry corners - measure from nozzle at MIN (0,0) and 
##  MAX (250, 250), (300,300), or (350,350) depending on your printer size
##  to respective belt positions
[quad_gantry_level]

#--------------------------------------------------------------------
    
##  Gantry Corners for 300mm Build
##  Uncomment for 300mm build
gantry_corners:
   -60,-10
   360,370
##  Probe points
points:
   50,25
   50,225
   250,225
   250,25

#--------------------------------------------------------------------
speed: 450 #450
horizontal_move_z: 5
retries: 5
retry_tolerance: 0.0075
max_adjust: 5

[bed_mesh]
speed: 500 # 500
horizontal_move_z: 5.51 #  5.51
##--------------------------------------------------------------------
##	Uncomment below for 250mm build
#mesh_min: 40, 40
#mesh_max: 210,210

##	Uncomment for 300mm build
mesh_min: 10,10 # 25, 25
mesh_max: 290,290 # 275,275
##--------------------------------------------------------------------
fade_start: 0.6
fade_end: 5.0
adaptive_margin: 10

# probe_count: 9,9
#relative_reference_index: 24 # 9 + 9 + 9 + 9 + 5

#probe_count: 7,7
#relative_reference_index: 24 # 7 + 7 + 7 + 3

#probe_count: 7,5
#relative_reference_index: 17 # 7 + 7 + 3

probe_count: 5,5
zero_reference_position: 150, 150

algorithm: bicubic  



[board_pins]
aliases:
    # FPC header, Aliases EXP1 & EXP2 for mini12864
    EXP1_1=PG2, EXP1_2=PD15,
    EXP1_3=PD14, EXP1_4=PD13,
    EXP1_5=PD12, EXP1_6=PD11,
    EXP1_7=PD10, EXP1_8=PE15,
    EXP1_9=<GND>, EXP1_10=<5V>,

    # EXP2 header
    EXP2_1=PE13, EXP2_2=PE12,
    EXP2_3=PG5, EXP2_4=PE11,
    EXP2_5=PG4, EXP2_6=PE14,
    EXP2_7=PG3, EXP2_8=<RST>,
    EXP2_9=<GND>, EXP2_10=<NC>

# See the sample-lcd.cfg file for definitions of common LCD displays.

#[bltouch]
#sensor_pin: PB15
#control_pin: PB14

# Proximity switch
#[probe]
#pin: PF11

#[output_pin ps_on_pin]
#pin: PF13

#[output_pin pf12_pin]
#pin: PF12

#[neopixel my_neopixel_1]
#pin: PE10

#[neopixel my_neopixel_2]
#pin: PE9

#[hall_filament_width_sensor]
#adc1: PC0
#adc2: PF10


#####################################################################
#   Macros
#####################################################################

# [menu __main __control __nevermoreonoff]
# type: command
# name: Nevermore {'ON' if printer['fan_generic Nevermore'].speed > 0 else 'OFF'}
# enable: {'fan_generic Nevermore' in printer}
# gcode:
#     TOGGLE_NEVERMORE

# [menu __main __control __filterspeed]
# type: input
# enable: {'fan_generic Nevermore' in printer}
# name: Filter %: {'%3d' % (menu.input*100)}%
# input: {printer["fan_generic Nevermore"].speed}
# input_min: 0
# input_max: 1
# input_step: 0.1
# gcode:
#     SET_FAN_SPEED FAN=Nevermore SPEED={menu.input}

# [delayed_gcode filter_off]
# gcode:
# #    SET_FAN_SPEED FAN=Nevermore SPEED=0

# [gcode_macro TOGGLE_NEVERMORE]
# gcode:
#     {% if printer['fan_generic Nevermore'].speed > 0 %}
#       SET_FAN_SPEED FAN=Nevermore SPEED=0
#     {% else %}
#       SET_FAN_SPEED FAN=Nevermore SPEED=1
#     {% endif %}
    
[gcode_macro CHAMBER_TEMP_WAIT]
gcode:
  {% if params.MIN_TEMPERATURE and params.MAX_TEMPERATURE and params.MIN_TEMPERATURE|float > params.MAX_TEMPERATURE|float %}
    {action_raise_error("Chamber Temp Wait: MIN_TEMPERATURE must be less than or equal to MAX_TEMPERATURE
                         Use: 
                         - CHAMBER_TEMP_WAIT MIN_TEMPERATURE=[0..90]
                         - CHAMBER_TEMP_WAIT MAX_TEMPERATURE=[0..90]
                         - CHAMBER_TEMP_WAIT MIN_TEMPERATURE=[0..90] MAX_TEMPERATURE=[0..80]")}
  {% elif params.MIN_TEMPERATURE and params.MIN_TEMPERATURE|float > -1 and params.MIN_TEMPERATURE|float < 91 %}
    {% if params.MAX_TEMPERATURE and params.MAX_TEMPERATURE|float > -1 and params.MAX_TEMPERATURE|float < 91 %}
      TEMPERATURE_WAIT SENSOR="temperature_sensor enclosure_temp" MINIMUM={params.MIN_TEMPERATURE|float} MAXIMUM={params.MAX_TEMPERATURE|float}
    {% else %}
      TEMPERATURE_WAIT SENSOR="temperature_sensor enclosure_temp" MINIMUM={params.MIN_TEMPERATURE|float}
    {% endif %}
  {% elif params.MAX_TEMPERATURE and params.MAX_TEMPERATURE|float > -1 and params.MAX_TEMPERATURE|float < 91 %}
      TEMPERATURE_WAIT SENSOR="temperature_sensor enclosure_temp" MAXIMUM={params.MAX_TEMPERATURE|float}
  {% else %}
    {action_raise_error("Chamber Temp Wait: invalid usage
                         Use: 
                         - CHAMBER_TEMP_WAIT MIN_TEMPERATURE=[0..90]
                         - CHAMBER_TEMP_WAIT MAX_TEMPERATURE=[0..90]
                         - CHAMBER_TEMP_WAIT MIN_TEMPERATURE=[0..90] MAX_TEMPERATURE=[0..90]")}
  {% endif %}

[gcode_macro T0]
gcode:

[gcode_macro START_PRINT]

gcode:

# #    START_PRINT BED_TEMP=[first_layer_bed_temperature] EXTRUDER_TEMP=[first_layer_temperature]
#     {% set BED_TEMP = params.BED_TEMP|default(110)|float %}
#     {% set EXTRUDER_TEMP = params.EXTRUDER_TEMP|default(260)|float %}
#     # Start bed heating
#     M140 S{BED_TEMP}
#     # Use absolute coordinates
#     G90
#     # Reset the G-Code Z offset (adjust Z offset if needed)
#     SET_GCODE_OFFSET Z=0.0
#     # Home the printer
#     G28
#     # Move the nozzle near the bed
#     G1 Z5 F3000
#     # Move the nozzle very close to the bed
#     G1 Z0.15 F300
#     # Wait for bed to reach temperature
#     M190 S{BED_TEMP}
#     # Set and wait for nozzle to reach temperature
#     M109 S{EXTRUDER_TEMP}

[gcode_macro END_PRINT]
gcode:
    # Turn off bed, extruder, and fan
    M140 S0
    M104 S0
    M106 S0
    # Move nozzle away from print while retracting
    G91
    G1 X-2 Y-2 E-3 F300
    # Raise nozzle by 10mm
    G1 Z10 F3000
    G90

#*# <---------------------- SAVE_CONFIG ---------------------->
#*# DO NOT EDIT THIS BLOCK OR BELOW. The contents are auto-generated.
#*#
#*# [heater_bed]
#*# control = pid
#*# pid_kp = 38.548
#*# pid_ki = 1.374
#*# pid_kd = 270.321
#*#
#*# [extruder]
#*# control = pid
#*# pid_kp = 21.729
#*# pid_ki = 1.609
#*# pid_kd = 73.340
#*#
#*# [probe]
#*# z_offset = -0.560

You ran into an issue that can easily happen with “distributed” or included .cfg files (and which is one of the reason why I personally do not particularly like it):

  • printer.cfg does [include btt_ebb-sb2240.cfg] in line 26.
  • btt_ebb-sb2240.cfg defines the [extruder] in lines 28 and following.
  • printer.cfg also defines [extruder] in lines 149 and following.

Since the printer.cfg extruder comes after the EBB, it is overwriting the EBB definition.

You should always consult the klippy.log as this reflects the configuration Klipper sees and uses. Most likely, all of your previous attempts were ineffective due to this “overwrite scenario.”

For the future, please always attach all relevant files instead of copying and pasting their contents.

I understand what your saying, however not sure how to go about changing it.
Do i need line 149 and following to be moved prior to line 28? in my printer.cfg file?
Will this correct the: MCU ‘EBBCan’ shutdown: Thermocouple reader fault?

Well, whether you want to stick to includes or move everything to the main printer.cfg is largely a matter of personal preference. The includes don’t have any special meaning beyond helping to organize your configuration or to obfuscate it - depends on the point of view.

Regardless of which approach you choose, make sure that each section appears only once.

Yes and maybe all your previous attempts very futile since any change could have been overwritten by the later [extruder] definition in printer.cfg

thankyou, i will get it done.

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.