Hemera pause.g warning

Discussion in 'Getting Started' started by Watchmaker, Apr 25, 2021.

  1. Watchmaker

    Watchmaker Member

    Joined:
    Mar 27, 2021
    Messages:
    15
    Likes Received:
    3
    For those of you, like me, who have not noticed, when using the Hemera tools it is very important to edit the pause.g file to have a Y position for the tool when out of the way less than the position specified. Failure to change this will cause tools 1, 2 and 3 to hit the other parked tools if the print is cancelled. I set mine to Y180 after hearing an awful noise and a tool drop on 3 when cancelling after a pause. On checking I realised the position was set with the V6 bowden setup in mind.
     
  2. Spoon Unit

    Spoon Unit Well-Known Member

    Joined:
    Sep 6, 2015
    Messages:
    1,561
    Likes Received:
    483
    Made me wonder what I put in pause.g as I haven't looked at it for a while...

    Code:
    ;echo "start of pause.g"
    ;echo "machinePosition : " ^ move.axes[2].machinePosition ^ ":" ^ "  userPosition : " ^ move.axes[2].userPosition
    ;echo "difference : " ^ (move.axes[2].machinePosition-move.axes[2].userPosition)
    
    M83            ; relative extrusion
    G10            ; fw retract
    G91            ; relative motion
    G1 Z5 F1200    ; up 5mm
    G90            ; absolute motion
    
    ; swap spot
    G1 X150 Y-30 F50000   
    
    ; eject
    if sensors.analog[state.currentTool+1].lastReading > 40
        if state.currentTool == 3 || state.currentTool == 2
            M98 P"eject-hemera.g"
        else
            M98 P"eject.g"
    
    M18 E0            ; disable extruder motors to permit refeeding with wheel
    M18 E1            ; disable extruder motors to permit refeeding with wheel
    ;M18 E2            ; disable extruder motors to permit refeeding with wheel
    ;M18 E3            ; disable extruder motors to permit refeeding with wheel
    
    ;echo "end of pause.g"
    ;echo "machinePosition : " ^ move.axes[2].machinePosition ^ ":" ^ "  userPosition : " ^ move.axes[2].userPosition
    ;echo "difference : " ^ (move.axes[2].machinePosition-move.axes[2].userPosition)
     

Share This Page