moo00se

klippy.log 621-415

Jun 21st, 2022
60
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.52 KB | None | 0 0
  1. Start printer at Tue Jun 21 16:14:57 2022 (1655853297.8 332.9)
  2. ===== Config file =====
  3. [virtual_sdcard]
  4. path = /home/pi/gcode_files/
  5.  
  6. [pause_resume]
  7.  
  8. [display_status]
  9.  
  10. [gcode_macro CANCEL_PRINT]
  11. description = Cancel the actual running print
  12. rename_existing = CANCEL_PRINT_BASE
  13. gcode =
  14. TURN_OFF_HEATERS
  15. CANCEL_PRINT_BASE
  16.  
  17. [gcode_macro PAUSE]
  18. description = Pause the actual running print
  19. rename_existing = PAUSE_BASE
  20. variable_extrude = 1.0
  21. gcode =
  22. {% set E = printer["gcode_macro PAUSE"].extrude|float %}
  23. {% set x_park = printer.toolhead.axis_maximum.x|float - 5.0 %}
  24. {% set y_park = printer.toolhead.axis_maximum.y|float - 5.0 %}
  25. {% set max_z = printer.toolhead.axis_maximum.z|float %}
  26. {% set act_z = printer.toolhead.position.z|float %}
  27. {% if act_z < (max_z - 2.0) %}
  28. {% set z_safe = 2.0 %}
  29. {% else %}
  30. {% set z_safe = max_z - act_z %}
  31. {% endif %}
  32. PAUSE_BASE
  33. G91
  34. {% if printer.extruder.can_extrude|lower == 'true' %}
  35. G1 E-{E} F2100
  36. {% else %}
  37. {action_respond_info("Extruder not hot enough")}
  38. {% endif %}
  39. {% if "xyz" in printer.toolhead.homed_axes %}
  40. G1 Z{z_safe} F900
  41. G90
  42. G1 X{x_park} Y{y_park} F6000
  43. {% else %}
  44. {action_respond_info("Printer not homed")}
  45. {% endif %}
  46.  
  47. [gcode_macro RESUME]
  48. description = Resume the actual running print
  49. rename_existing = RESUME_BASE
  50. gcode =
  51. {% set E = printer["gcode_macro PAUSE"].extrude|float %}
  52. {% if 'VELOCITY' in params|upper %}
  53. {% set get_params = ('VELOCITY=' + params.VELOCITY) %}
  54. {%else %}
  55. {% set get_params = "" %}
  56. {% endif %}
  57. {% if printer.extruder.can_extrude|lower == 'true' %}
  58. G91
  59. G1 E{E} F2100
  60. {% else %}
  61. {action_respond_info("Extruder not hot enough")}
  62. {% endif %}
  63. RESUME_BASE {get_params}
  64.  
  65. [mcu]
  66. serial = /dev/ttyAMA0
  67. restart_method = command
  68.  
  69. [printer]
  70. kinematics = none
  71. max_velocity = 1000
  72. max_accel = 1000
  73. =======================
  74. mcu 'mcu': Starting serial connect
  75. webhooks client 3045364840: New connection
  76. webhooks client 3045364840: Client info {'program': 'Moonraker', 'version': 'v0.7.1-589-g4bed314'}
  77. mcu 'mcu': Timeout on connect
  78. mcu 'mcu': Wait for identify_response
  79. Traceback (most recent call last):
  80. File "/home/pi/klipper/klippy/serialhdl.py", line 69, in _get_identify_data
  81. params = self.send_with_response(msg, 'identify_response')
  82. File "/home/pi/klipper/klippy/serialhdl.py", line 258, in send_with_response
  83. return src.get_response([cmd], self.default_cmd_queue)
  84. File "/home/pi/klipper/klippy/serialhdl.py", line 316, in get_response
  85. cmd_queue)
  86. File "/home/pi/klipper/klippy/serialhdl.py", line 250, in raw_send_wait_ack
  87. self._error("Serial connection closed")
  88. File "/home/pi/klipper/klippy/serialhdl.py", line 62, in _error
  89. raise error(self.warn_prefix + (msg % params))
  90. error: mcu 'mcu': Serial connection closed
  91. mcu 'mcu': Timeout on connect
  92. mcu 'mcu': Wait for identify_response
  93. Traceback (most recent call last):
  94. File "/home/pi/klipper/klippy/serialhdl.py", line 69, in _get_identify_data
  95. params = self.send_with_response(msg, 'identify_response')
  96. File "/home/pi/klipper/klippy/serialhdl.py", line 258, in send_with_response
  97. return src.get_response([cmd], self.default_cmd_queue)
  98. File "/home/pi/klipper/klippy/serialhdl.py", line 316, in get_response
  99. cmd_queue)
  100. File "/home/pi/klipper/klippy/serialhdl.py", line 250, in raw_send_wait_ack
  101. self._error("Serial connection closed")
  102. File "/home/pi/klipper/klippy/serialhdl.py", line 62, in _error
  103. raise error(self.warn_prefix + (msg % params))
  104. error: mcu 'mcu': Serial connection closed
  105.  
Advertisement
Add Comment
Please, Sign In to add comment