Repetier-Host loses track of X and Y axis values after M114 D gcode.

I am running v2.2.4 of RH under Windows 7 x64 Pro with 8Gb of memory.
The printer is a Geetech i3 Pro C running Marlin v2.0.9-3 firmware.
If I click the Home All Axies button on RH then issue the "M114 D" gcode command it causes RH to clear the X & Y axies to 0 - they SHOULD be the same as after the Home.
The firmware still has the correct X and Y values but the zero values cause erroneous manual moves generated by RH.
M114 D is a debug command used to examine the firmware bed leveling parameters and doesnt change any settings or statii.
NB This happens under v2.2.4 of RH - it also happens under earlier versions (eg 2.2.2)
Regards, Dave

Comments

  • Can you please provide a response from M114 D to log? I have seen variants e.g. with 2 lines bus same markers X: Y: on some firmwares, so need to know the special case to verify it against our parser solution.
  • > After "home"
    22:51:58.135 : X:129.00 Y:95.00 Z:10.50 E:0.00 Count X:10370 Y:7626 Z:4200
    >RH Shows the correct X: Y: Z: values

    > After "M114 D"
    >The first line shows where the firmware think it is at start of command
    22:52:22.411 : X:129.00 Y:95.00 Z:10.50 E:0.00 Count X:10370 Y:7626 Z:4200
    22:52:22.414 : Logical: X: 129.000 Y: 95.000 Z: 10.500
    22:52:22.415 : Raw:     X: 129.000 Y: 95.000 Z: 10.500
    22:52:22.416 : Leveled: X: 129.000 Y: 95.000 Z: 10.500
    22:52:22.418 : UnLevel: X: 129.000 Y: 95.000 Z: 10.500
    22:52:22.419 : Stepper: X:10370 Y:7626 Z:4200 E:0
    22:52:22.422 : FromStp: X: 128.996 Y: 95.004 Z: 10.500 E: 0.000
    22:52:22.423 : Diff:    X:-0.004 Y: 0.004 Z: 0.000 E: 0.000
    >RH Shows X:0 Y:0 Z:0 values

    > After a second "M114 D"
    >The first line shows where the firmware think it is at start of command
    22:54:30.829 : X:129.00 Y:95.00 Z:10.50 E:0.00 Count X:10370 Y:7626 Z:4200
    22:54:30.832 : Logical: X: 129.000 Y: 95.000 Z: 10.500
    22:54:30.833 : Raw:     X: 129.000 Y: 95.000 Z: 10.500
    22:54:30.834 : Leveled: X: 129.000 Y: 95.000 Z: 10.500
    22:54:30.836 : UnLevel: X: 129.000 Y: 95.000 Z: 10.500
    22:54:30.837 : Stepper: X:10370 Y:7626 Z:4200 E:0
    22:54:30.840 : FromStp: X: 128.996 Y: 95.004 Z: 10.500 E: 0.000
    22:54:30.841 : Diff:    X:-0.004 Y: 0.004 Z: 0.000 E: 0.000

    I hope this helps

  • Makes sense - we search for X: and we then use the last line. Have see it in same line after "Count:" as in first line with -D but not such a mess. Need to add exceptions ignoring all the worts at start. Also wonder why there is no "echo:" as marlin adds it to every line normally.
Sign In or Register to comment.