G0 Z0.254 command not executed?? Repetier host with repetier firmware starts print at 15mm

edited December 2015 in General
Hello,
I replaced marlin with repetier firmware on my SmartCore printer. Version 0.91 - latest download from github
I have all calibration working and bed autolevel too.

I found some issue with start of the print - it prints of with 15mm height on first layer and here are details ( see the end of commands sent to printer with M114 result)
I used Cura for slicing which have the magic line of : G1 Z15.00 F9000.00 - however what ever I leave there or comment it out it doesn't fix printing.
I think issue is that G0/G1 (doesn't matter I tested both) command that is on start of the first layer doesn't lower Z to 0.254 height (weird number? because of 5/16 Z rod I use)
G1 F9000 X59.083 Y60.883 Z0.254

If I pause print and lower to Z0.254 it still goes up after resume to 15mm

Executed echo commands:
> 1:31:10 PM: N3272 M109 S210 *127
> 1:31:10 PM: N3273 G21 *15
> 1:31:10 PM: N3274 G90 *2
> 1:31:10 PM: N3275 M82 *10
> 1:31:10 PM: N3276 M107 *53
> 1:31:10 PM: N3277 G28 X0.00 Y0.00 *3
> 1:31:10 PM: N3278 G32 S0 *69
> 1:31:10 PM: N3279 G1 Z15.00 F9000.00 *38
> 1:31:10 PM: N3280 G92 E0.0000 *112
> 1:31:10 PM: N3281 G1 E3.0000 F200.00 *50
  1:31:10 PM: Printing layer 1 of 80
> 1:31:10 PM: N3282 G92 E0.0000 *114
> 1:31:10 PM: N3283 G1 F9000.00 *115
< 1:31:13 PM: X:0.00 Y:-13.00 Z:21.61 E:34.42
< 1:31:13 PM: Info:Autoleveling disabled
< 1:31:30 PM: Z-probe:10.29 X:150.00 Y:50.00
< 1:31:45 PM: Z-probe:9.44 X:250.00 Y:250.00
< 1:32:01 PM: Z-probe:11.56 X:50.00 Y:250.00
< 1:32:06 PM: Info: 0.99994 0.00001 0.01059 0.00000 1.00000 -0.00109 -0.01059 0.00109 0.99994
< 1:32:06 PM: Info:Autoleveling enabled
< 1:32:06 PM: X:50.12 Y:249.99 Z:11.44 E:34.42
> 1:32:06 PM: N3280 M114 *62
> 1:32:06 PM: M117 Printing...
> 1:32:06 PM: N3279 M107 *58
< 1:32:06 PM: skip 3282
< 1:32:06 PM: skip 3279
< 1:32:06 PM: skip 3279
> 1:32:06 PM: N3280 G1 X59.08 Y60.88 Z0.25 F9000.00 *16
< 1:32:06 PM: skip 3280
> 1:32:06 PM: N3281 G1 X86.28 Y60.88 E1.1489 F1200.00 *6
  1:32:06 PM: Printing layer 2 of 80
< 1:32:06 PM: skip 3279
< 1:32:06 PM: skip 3280
> 1:32:06 PM: N3282 G1 X86.28 Y88.08 E2.2979 *66
> 1:32:06 PM: N3283 G1 X59.08 Y88.08 E3.4468 *73
< 1:32:06 PM: skip 3281
> 1:32:06 PM: N3284 G1 X59.08 Y60.88 E4.5957 *71
< 1:32:06 PM: skip 3282
> 1:32:06 PM: N3285 G0 X59.48 Y61.28 F9000.00 *120
< 1:32:06 PM: skip 3283
> 1:32:06 PM: N3286 G1 X85.88 Y61.28 E5.7109 F1200.00 *12
> 1:32:06 PM: N3287 G1 X85.88 Y87.68 E6.8260 *74
> 1:32:06 PM: N3288 G1 X59.48 Y87.68 E7.9412 *75
> 1:32:06 PM: N3289 G1 X59.48 Y61.28 E9.0563 *70
> 1:32:06 PM: N3290 G1 E4.5563 F2400.00 *4
> 1:32:06 PM: N3291 G0 X63.28 Y65.08 F9000.00 *116
> 1:32:06 PM: N3292 G1 E9.0563 F2400.00 *14
> 1:32:06 PM: N3293 G1 X82.08 Y65.08 E9.8504 F1200.00 *11
> 1:32:06 PM: N3294 G1 X82.08 Y83.88 E10.6446 *118
> 1:32:06 PM: N3295 G1 X63.28 Y83.88 E11.4387 *115
> 1:32:06 PM: N3296 G1 X63.28 Y65.08 E12.2328 *112
> 1:32:06 PM: N3297 G0 X62.88 Y64.68 F9000.00 *126
> 1:32:06 PM: N3298 G1 X82.48 Y64.68 E13.0607 F1200.00 *48
> 1:32:06 PM: N3299 G1 X82.48 Y84.28 E13.8886 *127
> 1:32:06 PM: N3300 G1 X62.88 Y84.28 E14.7165 *112
> 1:32:06 PM: N3301 G1 X62.88 Y64.68 E15.5445 *127
> 1:32:06 PM: N3302 G0 X63.42 Y65.40 F9000.00 *127
> 1:32:08 PM: N3305 G1 X81.76 Y83.74 E16.6399 F1200.00 *62
> 1:32:10 PM: N3307 G0 X81.94 Y83.36 F9000.00 *116
> 1:32:11 PM: N3309 G1 X63.81 Y65.22 E17.7233 F1200.00 *60
> 1:32:12 PM: N3311 G0 X64.37 Y65.22 F9000.00 *124
> 1:32:14 PM: N3313 G1 X81.94 Y82.79 E18.7728 F1200.00 *56
> 1:32:15 PM: N3315 G0 X81.94 Y82.22 F9000.00 *115
> 1:32:15 PM: N3316 G1 X64.94 Y65.22 E19.7885 F1200.00 *56
> 1:32:15 PM: N3317 G0 X65.50 Y65.22 F9000.00 *122
> 1:32:15 PM: N3318 G1 X81.94 Y81.66 E20.7705 F1200.00 *58
> 1:32:15 PM: N3319 G0 X81.94 Y81.09 F9000.00 *117
> 1:33:10 PM: N3373 M114 *51
< 1:33:10 PM: X:81.94 Y:81.09 Z:15.00 E:20.76

Comments

  • edited December 2015
    So I have test script to reproduce this issue (stripped down extrusions) - below:

    When it starts printing my Repetier-Host (0.56) have Z=0.25 but after M114 command goes back to Z=15.
    I inserted M114 before first layer and that updates Repetier-Host app with correct Z and probably the command with G1 Z0.254 isn't ignored

    ;LAYER:0
    M107
    M114 ; enforces Repetier-Host measurments update
    G1 F9000 X59.083 Y60.883 Z0.254

  • 1. You should upgrade to 0.92.7 which has many fixes especially with autoleveling.
    2. I think you might have z move back after home set to 15. This is ok for deltas with z max homing but for cartesian printers should be 0. But that would only be after homing and I'm not sure if you always do autoleveling, which is normally not needed for every print.
    3. With autoprobing check z probe height. Wrong value will give you wrong height and thus wrong moves. Value is stored in eeprom!

  • edited December 2015
    Thank you for response, I updated firmware to 0.92 - latest from the website, however I still have the same issue, my G32 S2 leaves 15mm height above bed and starts print at that height.
    After pausing print and sending command M114 it updates on repetier host Z=15mm from X=0.25mm(not real height) and resume print on correct height.


  • I'm currently reworking the complete bed leveling stuff. It will be more flexible and easier to maintain. So please wait for 0.92.8 coming very soon.

    I do not really understand how M114 can fix the position on the printer side. It only reports the position. I understand that host will then adapt position and show preview correctly. Did you really mean it went down to 0.25 on the printer after M114?
  • edited December 2015
    Great, thank you.
    I am happy to debug this issue more. 
    I do not understand why M114 fixes the Z position, but it also have something to do with "@pause". Without "@pause" even when using OctoPrint (not Repetier-host) and having M114 command in code before starting G1 command of print it still doesn't work. It must pause print, send command M114 and resume printing, so the Z is going back to correct height of 0.25.

    It might have something with remembering Z axis height after "G32 S2" command and reset it to 0, while it is 15mm. However when I do command from terminal (Repetier-host) for G1 Z0.25 it goes to correct height.

    When I get little more time I try to change some z-probe level settings and see if 15mm is being adjusted somehow.
Sign In or Register to comment.