projekte:3d-printing:anycubic-mega-s:klipper
Unterschiede
Hier werden die Unterschiede zwischen zwei Versionen angezeigt.
| Beide Seiten der vorigen RevisionVorhergehende ÜberarbeitungNächste Überarbeitung | Vorhergehende Überarbeitung | ||
| projekte:3d-printing:anycubic-mega-s:klipper [2021/12/05 01:52] – [Calibrate PID settings] daniel | projekte:3d-printing:anycubic-mega-s:klipper [2023/06/22 15:53] (aktuell) – daniel | ||
|---|---|---|---|
| Zeile 2: | Zeile 2: | ||
| ===== Klipper Config Check ===== | ===== Klipper Config Check ===== | ||
| + | |||
| + | [[https:// | ||
| [[https:// | [[https:// | ||
| Zeile 27: | Zeile 29: | ||
| <code python printer.cfg [enable_line_numbers=" | <code python printer.cfg [enable_line_numbers=" | ||
| + | |||
| # This file contains pin mappings for the Anycubic i3 Mega with | # This file contains pin mappings for the Anycubic i3 Mega with | ||
| # Ultrabase from 2017. (This config may work on an Anycubic i3 Mega v1 | # Ultrabase from 2017. (This config may work on an Anycubic i3 Mega v1 | ||
| Zeile 37: | Zeile 40: | ||
| [stepper_x] | [stepper_x] | ||
| step_pin: PF0 | step_pin: PF0 | ||
| - | dir_pin: | + | dir_pin: PF1 |
| enable_pin: !PD7 | enable_pin: !PD7 | ||
| microsteps: 16 | microsteps: 16 | ||
| Zeile 49: | Zeile 52: | ||
| [stepper_y] | [stepper_y] | ||
| step_pin: PF6 | step_pin: PF6 | ||
| - | dir_pin: PF7 | + | dir_pin: |
| enable_pin: !PF2 | enable_pin: !PF2 | ||
| microsteps: 16 | microsteps: 16 | ||
| Zeile 60: | Zeile 63: | ||
| [stepper_z] | [stepper_z] | ||
| step_pin: PL3 | step_pin: PL3 | ||
| - | dir_pin: PL1 | + | dir_pin: |
| enable_pin: !PK0 | enable_pin: !PK0 | ||
| microsteps: 16 | microsteps: 16 | ||
| Zeile 71: | Zeile 74: | ||
| [stepper_z1] | [stepper_z1] | ||
| step_pin: PC1 | step_pin: PC1 | ||
| - | dir_pin: PC3 | + | dir_pin: |
| enable_pin: !PC7 | enable_pin: !PC7 | ||
| microsteps: 16 | microsteps: 16 | ||
| Zeile 79: | Zeile 82: | ||
| [extruder] | [extruder] | ||
| step_pin: PA4 | step_pin: PA4 | ||
| - | dir_pin: PA6 | + | dir_pin: |
| enable_pin: !PA2 | enable_pin: !PA2 | ||
| microsteps: 16 | microsteps: 16 | ||
| - | #rotation_distance: | + | rotation_distance: |
| - | rotation_distance: | + | |
| nozzle_diameter: | nozzle_diameter: | ||
| filament_diameter: | filament_diameter: | ||
| Zeile 89: | Zeile 91: | ||
| sensor_type: | sensor_type: | ||
| sensor_pin: PK5 | sensor_pin: PK5 | ||
| - | control: pid | + | #control: pid |
| - | pid_Kp: 15.717 | + | #pid_Kp: 15.717 |
| - | pid_Ki: 0.569 | + | #pid_Ki: 0.569 |
| - | pid_Kd: 108.451 | + | #pid_Kd: 108.451 |
| min_temp: 0 | min_temp: 0 | ||
| max_temp: 245 | max_temp: 245 | ||
| Zeile 103: | Zeile 105: | ||
| sensor_type: | sensor_type: | ||
| sensor_pin: PK6 | sensor_pin: PK6 | ||
| - | control: pid | + | #control: pid |
| - | pid_Kp: 74.883 | + | #pid_Kp: 74.883 |
| - | pid_Ki: 1.809 | + | #pid_Ki: 1.809 |
| - | pid_Kd: 775.038 | + | #pid_Kd: 775.038 |
| min_temp: 0 | min_temp: 0 | ||
| max_temp: 110 | max_temp: 110 | ||
| Zeile 114: | Zeile 116: | ||
| [mcu] | [mcu] | ||
| - | serial: /dev/ttyUSB0 | + | serial: /dev/serial/ |
| [printer] | [printer] | ||
| Zeile 125: | Zeile 127: | ||
| [heater_fan stepstick_fan] | [heater_fan stepstick_fan] | ||
| pin: PH4 | pin: PH4 | ||
| + | |||
| + | # additional manual config | ||
| + | # see https:// | ||
| [virtual_sdcard] | [virtual_sdcard] | ||
| - | path: ~/gcode_files | + | path:/home/ |
| [display_status] | [display_status] | ||
| [pause_resume] | [pause_resume] | ||
| + | |||
| + | [gcode_macro PAUSE] | ||
| + | description: | ||
| + | rename_existing: | ||
| + | # change this if you need more or less extrusion | ||
| + | variable_extrude: | ||
| + | gcode: | ||
| + | ##### read E from pause macro ##### | ||
| + | {% set E = printer[" | ||
| + | ##### 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 == ' | ||
| + | G1 E-{E} F2100 | ||
| + | {% else %} | ||
| + | {action_respond_info(" | ||
| + | {% endif %} | ||
| + | {% if " | ||
| + | G1 Z{z_safe} F900 | ||
| + | G90 | ||
| + | G1 X{x_park} Y{y_park} F6000 | ||
| + | {% else %} | ||
| + | {action_respond_info(" | ||
| + | {% endif %} | ||
| + | |||
| + | [gcode_macro RESUME] | ||
| + | description: | ||
| + | rename_existing: | ||
| + | gcode: | ||
| + | ##### read E from pause macro ##### | ||
| + | {% set E = printer[" | ||
| + | #### get VELOCITY parameter if specified #### | ||
| + | {% if ' | ||
| + | {% set get_params = (' | ||
| + | {%else %} | ||
| + | {% set get_params = "" | ||
| + | {% endif %} | ||
| + | ##### end of definitions ##### | ||
| + | {% if printer.extruder.can_extrude|lower == ' | ||
| + | G91 | ||
| + | G1 E{E} F2100 | ||
| + | {% else %} | ||
| + | {action_respond_info(" | ||
| + | {% endif %} | ||
| + | RESUME_BASE {get_params} | ||
| [gcode_macro CANCEL_PRINT] | [gcode_macro CANCEL_PRINT] | ||
| Zeile 149: | Zeile 211: | ||
| G92 E0 ; zero the extruded length again | G92 E0 ; zero the extruded length again | ||
| M117 Printing... | M117 Printing... | ||
| + | |||
| [gcode_macro END_PRINT] | [gcode_macro END_PRINT] | ||
| gcode: | gcode: | ||
| Zeile 166: | Zeile 228: | ||
| _TIMELAPSE_NEW_FRAME | _TIMELAPSE_NEW_FRAME | ||
| M300 ; Beep | M300 ; Beep | ||
| + | |||
| + | #*# < | ||
| + | #*# DO NOT EDIT THIS BLOCK OR BELOW. The contents are auto-generated. | ||
| + | #*# | ||
| + | #*# [extruder] | ||
| + | #*# control = pid | ||
| + | #*# pid_kp = 20.315 | ||
| + | #*# pid_ki = 0.748 | ||
| + | #*# pid_kd = 137.890 | ||
| + | #*# | ||
| + | #*# [heater_bed] | ||
| + | #*# control = pid | ||
| + | #*# pid_kp = 73.517 | ||
| + | #*# pid_ki = 1.696 | ||
| + | #*# pid_kd = 796.738 | ||
| </ | </ | ||
projekte/3d-printing/anycubic-mega-s/klipper.1638665544.txt.gz · Zuletzt geändert: 2021/12/05 01:52 von daniel