Jump to content

Question regarding TAP and Can Bus


pfm

Recommended Posts

Hi, I'm upgrading to Tap and Can Bus.  I'm at the stage where I'm updating my Klipper config.  When I save printer.cfg and restart I get an error that say:

"Option 'z_offset' in section 'probe' must be specified". 

Here is my Probe section:

 

 

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

[probe]
[output_pin PB5]
pin: Can0: PB5
x_offset: 0
#y_offset: 19.75
y_offset: 0
#z_offset: 6.42  
z_offset: 0
speed: 5
samples:3 
samples_result: median
sample_retract_dist: 2.0
samples_tolerance: 0.01
samples_tolerance_retries: 3

activate_gcode:
    {% set PROBE_TEMP = 150 %}
    {% set MAX_TEMP = PROBE_TEMP + 5 %}
@@ -29,4 +40,5 @@ activate_gcode:
            TEMPERATURE_WAIT SENSOR=extruder MAXIMUM={ MAX_TEMP }
        {% endif %}
    {% endif %}
----------------

#*# <---------------------- SAVE_CONFIG ---------------------->
#*# DO NOT EDIT THIS BLOCK OR BELOW. The contents are auto-generated.
#*#
#*# [heater_bed]
#*# control = pid
#*# pid_kp = 41.970
#*# pid_ki = 1.546
#*# pid_kd = 284.871
#*#
#*#
#*# [extruder]
#*# control = pid
#*# pid_kp = 31.663
#*# pid_ki = 3.909
#*# pid_kd = 64.117
 

---------------

Am I doing something wrong? I've tried manually adding a value for z_offset in the DO NOT EDIT BELOW area, but this does not resolve the issue.  

 

 

 

 

 

Link to comment
Share on other sites

9 hours ago, pfm said:

[probe]
[output_pin PB5]

Take out the brackets from [output_pin] - should just be

output_pin: PB5

What is happening is that klipper sees nothing under [probe] and reads the z-offset as a function of [output_pin]

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...