Jump to content

Klipper Buttons for unload and load filament


Wick

Recommended Posts

made me buttons for triggering unload and load filament as its fiddly to get there via Touchscreen for colour change

Buttons are triggering via my unused Octopus inputs PG12 and PG13 to ground and are only active if not currently printing or print is paused

[gcode_button UNL_FILA]
pin: ^!PG12
press_gcode:
    {% if printer.idle_timeout.state != 'Printing' or printer.pause_resume.is_paused %}  ; unload if not printing OR printing but paused
      UNLOAD_FILAMENT
    {% endif %}

[gcode_button L_FILA]
pin: ^!PG13
press_gcode:
    {% if printer.idle_timeout.state != 'Printing' or printer.pause_resume.is_paused %}  ; unload if not printing OR printing but paused
      LOAD_FILAMENT
    {% endif %}

 

pinout.jpg.c8b2452a5e4012f6bee79b09e8b15e3b.jpg

pushbuttons.thumb.jpg.7c9c868a2318a29160870559eee89b0a.jpg

  • Like 3
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...