Skip to content

Question about stopping in position ramp mode #5

@jonjedlicka

Description

@jonjedlicka

Not a issue, more of a question about what is the most appropriate way to stop/pause motion while in position ramp mode. Say I set target position, but half way through I would like the motion to stop (pause).

Tested some "harsh" implementations

  • disabling driver (DRV_ENN) - TMC still thinks its moving, so position is lost
  • setting stop_enable in gconf (then driving ENCA_DCIN pin high) - when its time to resume (ENCA_DCIN driven low), TMC doesn't gently accelerate toward target (simply resumes same velocity)
  • setting target to current position, but this feels like a hack, since stepper slows down and actually travels back (unless I calculate some offset)

Any suggestions? Thank you

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