Skip to content

Saved Z axis value wrong when Pause button clicked whilst Z axis in motion #96

Open
@gb0101010101

Description

@gb0101010101

When the Pause button is clicked whilst Z axis is in motion, it saves the current Z axis position, which is then wrong when Resume button is clicked as the Z axis continues to move until gcode command has completed. The resumeRun() action restores the wrong Z position which can cause big problems if the next gcode line does not set the correct Z height.

Right now the only way I see to fix this is to:

  1. Stop all UI interaction, after Pause button click, until the Maslow has stopped moving
  2. Get a position update from controller when Maslow has stopped and update the Paused Z height
  3. Enable UI interaction and resume as normal

Unfortunately I don't know how to do point 2. If anyone can point me it the right direction I can work on a fix.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions