Skip to content

Adds line force readouts for Hangprinter ODrive - #564

Merged
dc42 merged 2 commits into
Duet3D:3.5-devfrom
tobbelobb:3.5-dev-hpflex-readodrivecurrent
Mar 29, 2022
Merged

dc42 merged 2 commits into
Duet3D:3.5-devfrom
tobbelobb:3.5-dev-hpflex-readodrivecurrent

Conversation

@tobbelobb

Copy link
Copy Markdown
Contributor

... And also changes units when setting torque mode, from Nm to N.

These readouts can be useful for detecting slack lines or over
tight lines during print or calibration.
They can also enable automatic homing, since homing a Hangprinter
includes setting the correct pre-tension.

The change of units when setting torque mode is to be consistent
across interfaces. Newtons of force are also much easier to
understand and harder to mis-type.

New usable torque mode values are in the range ~10,
instead of around ~0.05 like we had before, which invited the
typos "0.5" and "5.0", who could both create dangerous situations.

... And also changes units when setting torque mode, from Nm to N.

These readouts can be useful for detecting slack lines or over
tight lines during print or calibration.
They can also enable automatic homing, since homing a Hangprinter
includes setting the correct pre-tension.

The change of units when setting torque mode is to be consistent
across interfaces. Newtons of force are also much easier to
understand and harder to mis-type.

New usable torque mode values are in the range ~10,
instead of around ~0.05 like we had before, which invited the
typos "0.5" and "5.0", who could both create dangerous situations.
@tobbelobb

Copy link
Copy Markdown
Contributor Author

I wrote on the reprap gcode wiki page: https://reprap.org/wiki/G-code#M569.8:_Read_Axis_Force

tobbelobb added a commit to tobbelobb/hangprinter that referenced this pull request Mar 24, 2022
@dc42

dc42 commented Mar 25, 2022 •

Copy link
Copy Markdown
Collaborator

Your new code in GCodes3.cpp function ConfigureLocalDriver doesn't appear to me to cover subfunction 8 yet. (EDIT: or subfunction 4).

@tobbelobb

Copy link
Copy Markdown
Contributor Author

Yes, you're right. Will fix.

@dc42
dc42 merged commit eee2e0c into Duet3D:3.5-dev Mar 29, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants