Error with generic cartesian setup

Basic Information:

Printer Model: Voron 2.4 converted to a custom idex setup
MCU / Printerboard: BTT Octopus Pro v1.1 and nithawk 36 toolhead
Host / SBC: BTT Pi 2
klippy.log (48.2 KB)

Describe your issue:

I have a strange setup so I am trying to configure klipper with generic cartesian kinematics. But I keep getting the error “Option ‘endstop_pin’ in section ‘carriage x’ must be specified” even though it is specified in the config. Can anyone figure out why it’s erroring. Its not because of the virtual endstop because it errors even with normal gpio pins.

When I’ve had a dual carriage, I put the endstop definition in the stepper definition:

[dual_carriage]
axis: x
enable_pin: !PB9
dir_pin: !PC11
step_pin: PC10
microsteps: 16
rotation_distance: 40
#$#endstop_pin: !PC14
endstop_pin = tmc2209_dual_carriage:virtual_endstop
position_min: -2
position_max: 225
position_endstop: -2
homing_speed: 25
safe_distance: 1
[tmc2209 dual_carriage]
uart_pin: PC15
uart_address: 1
diag_pin: PC13
run_current: 0.580
stealthchop_threshold: 999999
driver_SGTHRS: 70

I suggest that you follow the guidance of the error.

Hi, definitions are different for generic cartesian setups, as steppers and carriages are defined separately, so your config wouldn’t work for this. As for the error it provides little guidance, as my carriage definition already includes an endstop pin:

[carriage carriage_x]
axis: x
position_endstop: 0
position_max: 350
homing_retract_dist: 0
endstop_pin: tmc2240_stepper_x:virtual_endstop

Your log indicates that you are running a version of the Klipper software that pre-dates the [carriage carriage_x] with axis: x support. You’ll either need to update the software to the latest (the new config format was only added a few days ago) or alter the config to use the older config format.

Cheers,
-Kevin

2 Likes

Oh I didnt know it was such a new thing, I’ll update my klipper when I get back home this weekend, thank you for your reply.

Regards,
Joel

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