post processing paus and resume



  • I am working with creality cr 6 se.
    I am trying to pause the extruder at a certain height in order to change filament.
    Using Cura 4.8 I opened the post processing app (Extensions - post processing - Modify G-Code)![alt text](image url)
    post processing.jpg
    the added script is:
    ;added code by post processing
    ;script: PauseAtHeight.py
    ;current z: 1.1
    ;current height: 1.1
    M83 ; switch to relative E values for any needed retraction
    G1 F300 Z2.1 ; move up a millimeter to get out of the way
    G1 F9000 X190 Y190
    G1 F300 Z15 ; too close to bed--move to at least 15mm
    M104 S200 ; standby temperature
    M0 ; Do the actual pause
    M300 S440 P200
    M109 S200 ; resume temperature
    G1 F300 Z2.1
    The extrude pauses and moves as ordered but after few seconds resumes the printing.
    what instruction do I have to add in order to have enough time to change the filament.

    thanks
    Dov



  • https://marlinfw.org/docs/gcode/M000-M001.html

    This might explain a thing or two about what you are trying to accomplish.



Copyright © 2020 Shenzhen Creality 3D Technology Co., Ltd All Rights Reserved.