Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Machine Z axis position report incorrect #921

Closed
dc42 opened this issue Oct 13, 2023 · 1 comment
Closed

Machine Z axis position report incorrect #921

dc42 opened this issue Oct 13, 2023 · 1 comment
Assignees
Labels
bug Bug that has been reproduced
Milestone

Comments

@dc42
Copy link
Collaborator

dc42 commented Oct 13, 2023

The machine position reported in the object model is out of date immediately after executing M400 following a G1 move.
To reproduce, after homing, run this macro:

G1 Z2
G1 Z20 F300
M400
echo "Z machine position is",move.axes[2].machinePosition

The position reported by the echo command is les than 20.000. This is probably because the machine position it not updated if it's been updated within the last 200ms.

This also affects the reported position immediately after a homing or probing move.

Original report: https://forum.duet3d.com/topic/33834/minor-problem-with-access-to-object-model-after-g1-commands

@dc42 dc42 added the bug Bug that has been reproduced label Oct 13, 2023
@dc42 dc42 self-assigned this Oct 13, 2023
@dc42 dc42 transferred this issue from Duet3D/DuetSoftwareFramework Oct 13, 2023
@dc42 dc42 added this to the 3.5.0 milestone Oct 13, 2023
@dc42
Copy link
Collaborator Author

dc42 commented Oct 13, 2023

Fixed in 3.5-dev source.

@dc42 dc42 closed this as completed Oct 13, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Bug that has been reproduced
Projects
None yet
Development

No branches or pull requests

1 participant