Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Start printer at Tue Jun 21 16:14:57 2022 (1655853297.8 332.9)
- ===== Config file =====
- [virtual_sdcard]
- path = /home/pi/gcode_files/
- [pause_resume]
- [display_status]
- [gcode_macro CANCEL_PRINT]
- description = Cancel the actual running print
- rename_existing = CANCEL_PRINT_BASE
- gcode =
- TURN_OFF_HEATERS
- CANCEL_PRINT_BASE
- [gcode_macro PAUSE]
- description = Pause the actual running print
- rename_existing = PAUSE_BASE
- variable_extrude = 1.0
- gcode =
- {% set E = printer["gcode_macro PAUSE"].extrude|float %}
- {% set x_park = printer.toolhead.axis_maximum.x|float - 5.0 %}
- {% set y_park = printer.toolhead.axis_maximum.y|float - 5.0 %}
- {% 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 %}
- PAUSE_BASE
- G91
- {% if printer.extruder.can_extrude|lower == 'true' %}
- G1 E-{E} F2100
- {% else %}
- {action_respond_info("Extruder not hot enough")}
- {% endif %}
- {% if "xyz" in printer.toolhead.homed_axes %}
- G1 Z{z_safe} F900
- G90
- G1 X{x_park} Y{y_park} F6000
- {% else %}
- {action_respond_info("Printer not homed")}
- {% endif %}
- [gcode_macro RESUME]
- description = Resume the actual running print
- rename_existing = RESUME_BASE
- gcode =
- {% set E = printer["gcode_macro PAUSE"].extrude|float %}
- {% if 'VELOCITY' in params|upper %}
- {% set get_params = ('VELOCITY=' + params.VELOCITY) %}
- {%else %}
- {% set get_params = "" %}
- {% endif %}
- {% if printer.extruder.can_extrude|lower == 'true' %}
- G91
- G1 E{E} F2100
- {% else %}
- {action_respond_info("Extruder not hot enough")}
- {% endif %}
- RESUME_BASE {get_params}
- [mcu]
- serial = /dev/ttyAMA0
- restart_method = command
- [printer]
- kinematics = none
- max_velocity = 1000
- max_accel = 1000
- =======================
- mcu 'mcu': Starting serial connect
- webhooks client 3045364840: New connection
- webhooks client 3045364840: Client info {'program': 'Moonraker', 'version': 'v0.7.1-589-g4bed314'}
- mcu 'mcu': Timeout on connect
- mcu 'mcu': Wait for identify_response
- Traceback (most recent call last):
- File "/home/pi/klipper/klippy/serialhdl.py", line 69, in _get_identify_data
- params = self.send_with_response(msg, 'identify_response')
- File "/home/pi/klipper/klippy/serialhdl.py", line 258, in send_with_response
- return src.get_response([cmd], self.default_cmd_queue)
- File "/home/pi/klipper/klippy/serialhdl.py", line 316, in get_response
- cmd_queue)
- File "/home/pi/klipper/klippy/serialhdl.py", line 250, in raw_send_wait_ack
- self._error("Serial connection closed")
- File "/home/pi/klipper/klippy/serialhdl.py", line 62, in _error
- raise error(self.warn_prefix + (msg % params))
- error: mcu 'mcu': Serial connection closed
- mcu 'mcu': Timeout on connect
- mcu 'mcu': Wait for identify_response
- Traceback (most recent call last):
- File "/home/pi/klipper/klippy/serialhdl.py", line 69, in _get_identify_data
- params = self.send_with_response(msg, 'identify_response')
- File "/home/pi/klipper/klippy/serialhdl.py", line 258, in send_with_response
- return src.get_response([cmd], self.default_cmd_queue)
- File "/home/pi/klipper/klippy/serialhdl.py", line 316, in get_response
- cmd_queue)
- File "/home/pi/klipper/klippy/serialhdl.py", line 250, in raw_send_wait_ack
- self._error("Serial connection closed")
- File "/home/pi/klipper/klippy/serialhdl.py", line 62, in _error
- raise error(self.warn_prefix + (msg % params))
- error: mcu 'mcu': Serial connection closed
Advertisement
Add Comment
Please, Sign In to add comment