#Can't get past this error : Unable to parse option 'pid_Kd' in section 'heater_bed'

12 messages · Page 1 of 1 (latest)

winter drum
#

Still in the early stage of building my config file for my voron trident 300 formbot kit and can't get past this error :
Unable to parse option 'pid_Kd' in section 'heater_bed'

[heater_bed]

SSR Pin - HE1

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 it doesn't exceed the SSR rating. The Omron G3NA-210B-DC5 SSR is rated at 4 amps without a heatsink.

The formula is "4 / (Wattage_of_bed_heater / Mains_voltage) = max_power"

If max_power is greater than 1.0, use 1.0

max_power: 0.6
min_temp: 0
max_temp: 120
control: pid
pid_kp: 58.437
pid_ki: 2.347
pid_kd: 363.769

Do someone have any idea what could be the cause of this error ? Thanks

zinc frigate
#

whats the NEXT, non-commented line after that pid_kd line?

#

(no matter how far down it may be)

winter drum
#

its the last one for heater bed, after it's probe

zinc frigate
#

great

#

SHOW ME

#

your problem is almost certainly related to the way klipper uses indentation to indicate multi-line entries

#

there's something down there under the pid_kd line that to your human eyes, looks like a new thing, but to klipper's actual rules, looks like the continuation of the pid_kd line

winter drum
zinc frigate
#
#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 %}
    
#

you gotta comment out all that crap, not just the first line