You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
when using M154 to report position in real time it reports incorrect position, instead of returning the current nozzle position, it returns a position in the future i.e probably the position in the last line loaded into the parser.
Bug Timeline
No response
Expected behavior
I expect the printer to report the correct current position in real time
Actual behavior
The printer reports a position in the future
Steps to Reproduce
1- enable AUTO_REPORT_POSITION and compile the firmware.
2- put this gcode in a file on the sdcard:
3- Connect to the printer from a host pc and send this gcode M154 S2 to turn on auto reporting position
4- Start the print and monitor the serial output, you'll notice that as soon as the printer completes homing it will report the incorrect position (reporting X:235.00 Y:235.00 Z:27.00 E:5.00 while the head is actually in at X10 Y10 Z20)
That is fine. It reports the current_position variable for the benefit of the display, and it doesn't need to be accurate. If you very much need something closer to the current stepper position, calculated from stepper steps in motion, use M114 with extended capabilities. (i.e., Enable M114_REALTIME and use M114 R.)
Did you test the latest
bugfix-2.0.x
code?Yes, and the problem still exists.
Bug Description
when using
M154
to report position in real time it reports incorrect position, instead of returning the current nozzle position, it returns a position in the future i.e probably the position in the last line loaded into the parser.Bug Timeline
No response
Expected behavior
I expect the printer to report the correct current position in real time
Actual behavior
The printer reports a position in the future
Steps to Reproduce
1- enable
AUTO_REPORT_POSITION
and compile the firmware.2- put this gcode in a file on the sdcard:
3- Connect to the printer from a host pc and send this gcode
M154 S2
to turn on auto reporting position4- Start the print and monitor the serial output, you'll notice that as soon as the printer completes homing it will report the incorrect position (reporting
X:235.00 Y:235.00 Z:27.00 E:5.00
while the head is actually in atX10 Y10 Z20
)Version of Marlin Firmware
Marlin bugfix-2.0.x (Sep 24 2021 20:49:57)
Printer model
Creality Ender 3
Electronics
BigTreeTech SKR 1.4 with TMC 2209s
Add-ons
BLTOUCH
Bed Leveling
ABL 3-point
Your Slicer
Cura
Host Software
OctoPrint
Additional information & file uploads
Configurations.zip
The text was updated successfully, but these errors were encountered: