Error on layer 2 when printing: Extruder not configured

Hi all,

I have just configured my Sonic Pad on my Ender 5 Plus. A first print went fine, but I had to tweak some settings, due to my setup:

MB: Silent Board V2.2.1, Atmega2560.
Extruder: Bondtech DDX v3 Direct Drive

A new print seems to start fine (sliced in Bambu studio, transferred via USB).
However, at the end of layer 1, the pad gives an error and stops. This is the log.

20:34:42 $ SDCARD_PRINT_FILE FILENAME=“U_ddx3_ADXL345-v2.gcode”
20:34:43 File opened:U_ddx3_ADXL345-v2.gcode Size:2880105
20:34:43 File selected
20:34:45 // {“code”:"key61, “msg”:“Unknown command:M201”, “values”: [“M201”]}
20:34:45 // {“code”:"key61, “msg”:“Unknown command:M203”, “values”: [“M203”]}
20:34:45 // {“code”:"key61, “msg”:“Unknown command:M205”, “values”: [“M205”]}
20:34:46 $ QUERY_FILAMENT_SENSOR SENSOR=filament_sensor
20:35:03 // Filament Sensor filament_sensor: filament detected
20:38:39 !! {“code”:“key113”, “msg”: “Extruder not configured”, “values”: }

What could be the issue? In my printer.cfg, I do see an [extruder] part.

# !Ender-5 Plus

# printer_size: 350x350x400

# version: 3.6

# This file contains pin mappings for the Creality Ender 5 Plus.

# Ender 5 Plus stock uses a Creality v2.2 board, similar to CR-20 Pro.

# To use this config, the firmware should be compiled for the AVR

# atmega2560.

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

###fluidd set

[include cx_printer.cfg]

[display_status]

[pause_resume]

[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

{% if “xyz” in printer.toolhead.homed_axes %}

G91

G1 Z4.5 F300

G90

{% else %}

{action_respond_info("Printer not homed")}

{% endif %}

G28 X Y

{% set y_park = printer.toolhead.axis_maximum.y|float - 5.0 %}

G1 Y{y_park} F2000

M84

CANCEL_PRINT_BASE

[stepper_x]

step_pin: PF0

dir_pin: PF1

enable_pin: !PD7

microsteps: 16

rotation_distance: 40

endstop_pin: ^PE5

position_endstop: 360

position_max: 360

homing_speed: 100

[stepper_y]

step_pin: PF6

dir_pin: PF7

enable_pin: !PF2

microsteps: 16

rotation_distance: 40

endstop_pin: ^PJ1

position_endstop: 350

position_max: 350

homing_speed: 100

[stepper_z]

step_pin: PL3

dir_pin: PL1

enable_pin: !PK0

microsteps: 16

rotation_distance: 4

endstop_pin: probe:z_virtual_endstop

position_max: 400

position_min: -15

homing_speed: 10.0

[extruder]

step_pin: PA4

dir_pin: PA6

enable_pin: !PA2

microsteps: 16

rotation_distance: 7.71

nozzle_diameter: 0.40

filament_diameter: 1.750

heater_pin: PB4

sensor_type: EPCOS 100K B57560G104F

sensor_pin: PK5

control: pid

pid_kp = 25.159

pid_ki = 1.421

pid_kd = 111.330

min_temp: 0

max_temp: 265

max_extrude_only_velocity: 150.0

max_extrude_only_accel: 4000.0

max_extrude_only_distance: 200

[safe_z_home]

home_xy_position: 225, 180

speed: 100

z_hop: 10

z_hop_speed: 5

[bltouch]

sensor_pin: ^PD3

control_pin: PB5

x_offset: -45

y_offset: 0

#z_offset: 0

speed: 20

pin_up_touch_mode_reports_triggered: False

[bed_mesh]

probe_count = 6,6

algorithm = lagrange

# probe_count = 6,6

# algorithm = lagrange

speed: 150

horizontal_move_z: 8

mesh_min: 30, 0

mesh_max: 315, 350

# # probe_count: 5, 5

[idle_timeout]

timeout: 172800

[bed_screws]

screw1:30,40

screw1_name:1

screw2:325,40

screw2_name:2

screw3:325,295

screw3_name:3

screw4:30,295

screw4_name:4

[heater_bed]

heater_pin: PH5

sensor_type: EPCOS 100K B57560G104F

sensor_pin: PK6

control: pid

pid_kp = 65.864

pid_ki = 0.706

pid_kd = 1536.277

min_temp: 0

max_temp: 130

[fan]

pin: PH6

[mcu]

serial: /dev/serial/by-id/usb_serial_1

# [mcu rpi]

# serial: /tmp/klipper_host_mcu

# [adxl345]

# cs_pin: rpi:None

# spi_speed: 2000000

# spi_bus: spidev2.0

# [resonance_tester]

# accel_chip: adxl345

# accel_per_hz: 70

# probe_points:

# 150,150,10

[input_shaper]

#shaper_type_x = mzv

#shaper_freq_x = 80.8

#shaper_type_y = mzv

#shaper_freq_y = 77.2

[filament_switch_sensor filament_sensor]

pause_on_runout: true

switch_pin:PE4

[printer]

kinematics: cartesian

max_velocity: 300

max_accel: 7000

max_accel_to_decel: 7000

max_z_velocity: 5

max_z_accel: 1000

square_corner_velocity: 5.0

[exclude_object]

[gcode_arcs]

#resolution: 1.0

[include timelapse.cfg]

[include cx_gmcro.cfg]

#*# <---------------------- SAVE_CONFIG ---------------------->

#*# DO NOT EDIT THIS BLOCK OR BELOW. The contents are auto-generated.

#*#

#*# [bltouch]

#*# z_offset = 2.300

#*#

#*# [bed_mesh default]

#*# version = 1

#*# points =

#*# -0.357500, -0.242500, -0.170000, -0.123750, -0.092500, -0.292500

#*# -0.166250, -0.108750, -0.033750, 0.012500, 0.041250, 0.007500

#*# -0.121250, -0.075000, -0.021250, -0.008750, 0.007500, 0.017500

#*# -0.156250, -0.130000, -0.066250, -0.022500, -0.012500, -0.031250

#*# -0.107500, -0.148750, -0.078750, -0.101250, -0.046250, -0.007500

#*# -0.075000, -0.102500, -0.148750, -0.126250, -0.067500, -0.013750

#*# x_count = 6

#*# y_count = 6

#*# mesh_x_pps = 2

#*# mesh_y_pps = 2

#*# algo = lagrange

#*# tension = 0.2

#*# min_x = 30.0

#*# max_x = 315.0

#*# min_y = 0.0

#*# max_y = 350.0

#*#

#*# [input_shaper]

#*# shaper_type_x = mzv

#*# shaper_freq_x = 31.2

#*# shaper_type_y = ei

#*# shaper_freq_y = 36.2

Many thanks!

Tim