Close



Page 4 of 76 FirstFirst ... 234561454 ... LastLast
Results 31 to 40 of 757
  1. #31
    Super Moderator Roxy's Avatar
    Join Date
    Apr 2014
    Location
    Lone Star State
    Posts
    2,182
    Did you cut and paste that? Or type it by hand? Because ProterFace said:

    >>>g29 n 4
    SENDING:G29 N 4

    It should be a lower case n and an uppercase G.

    G29 n 4 T



    And you should disconnect and reconnect. If you use an uppercase N you get PronterFace all messed up and the communications becomes unreliable.
    Last edited by Roxy; 06-25-2014 at 05:47 PM.

  2. #32
    cut and pasted it, you can see I typed lower case n into the command line but it says sending in all caps. I cant change that.

    Sorry my bad i just switched everything back on and tried it again, i didnt realise that it would auto capitalize the whole line if the G was lower case. That was why the other parameters were still working as they work in upper and lower case. Id been putting it in as g29 n5 as this has never been an issue before. Next thing is to try a test print and see what it does. Thank you so much.
    Last edited by brainscan; 06-25-2014 at 06:23 PM. Reason: Im an idiot

  3. #33
    Super Moderator Roxy's Avatar
    Join Date
    Apr 2014
    Location
    Lone Star State
    Posts
    2,182
    Yes, but I think it was already sick at that point. Once it gets sick... It really doesn't matter what you type in. It is possible that 'n' is a bad choice and that should be changed to some other letter.

    This is a cut & paste from my PronterFace:

    >>>G29 n2
    SENDING:G29 n2
    Eqn coefficients: a: -0.00 b: 0.02 d: 4.11
    planeNormal x: 0.00 y: -0.02 z: 1.00

    It echos a lower case n and not an upper case N.

  4. #34
    Quote Originally Posted by Roxy View Post
    Yes, but I think it was already sick at that point. Once it gets sick... It really doesn't matter what you type in. It is possible that 'n' is a bad choice and that should be changed to some other letter.

    This is a cut & paste from my PronterFace:

    >>>G29 n2
    SENDING:G29 n2
    Eqn coefficients: a: -0.00 b: 0.02 d: 4.11
    planeNormal x: 0.00 y: -0.02 z: 1.00

    It echos a lower case n and not an upper case N.
    Yeah thats how mine looks now, if I send it all lower case it goes weird so maybe changing it to another letter would be good, or just stop idiots like me wasting your time. I'll let you know how the print goes and if I have any problems. Ill also add the M48 code and add my results to that thread. I think you're right about it being sick already, so fresh marlin and your lovely code is much better, plus I really dont know why I was using Repetier over pronterface.

  5. #35
    Super Moderator Roxy's Avatar
    Join Date
    Apr 2014
    Location
    Lone Star State
    Posts
    2,182
    The G has to be uppercase. I've modified my firmware to accept upper and lower case G's. But in the normal case... If you send it an upper case G29 and the rest lowercase, it should be fine.

  6. #36
    >>>G29 n3 T
    SENDING:G29 n3 T
    Eqn coefficients: a: 0.00 b: -0.00 d: -0.78


    Bed Height Topography:
    --0.02856 +0.03824 --0.04965
    --0.14106 --0.00473 +0.05894
    --0.01372 +0.07261 +0.06793


    planeNormal x: -0.00 y: 0.00 z: 1.00


    Bed Level Correction Matrix:
    1.000000 0.000000 0.000530
    0.000000 1.000000 -0.000309
    -0.000530 0.000309 1.000000
    echo:endstops hit: Z:-0.81
    SENDING:M81
    SENDING:M114
    X:166.00 Y:190.00 Z:-0.77 E:0.00 Count X: 166.00 Y:190.00 Z:-0.74

    This was my latest bed map hope it helps as i'm stuck.

  7. #37
    Super Moderator Roxy's Avatar
    Join Date
    Apr 2014
    Location
    Lone Star State
    Posts
    2,182
    I answered in the other thread also... But this shouldn't be that hard to figure out. The numbers coming back from the M48 are 1/10 of what your Z_PROBE_OFFSET_FROM_EXTRUDER is.

    How about you do a G29 n3 T V 4 so we can verify the G29 is seeing the same Z Probe numbers...

  8. #38
    echo:Home offset (mm):
    echo: M206 X0.00 Y0.00 Z0.00
    echo:PID settings:
    echo: M301 P17.97 I1.25 D64.48
    echo:SD card ok
    SENDING:M80
    >>>G29 n3 T V4
    SENDING:G29 n3 T V4
    Roxy's Enhanced G29 Auto_Bed_Leveling Code V1.01:
    Bed x: 15.00 y: 10.00 z: -0.78
    Bed x: 97.00 y: 10.00 z: -0.70
    Bed x: 179.00 y: 10.00 z: -0.71
    Bed x: 15.00 y: 100.00 z: -0.92
    Bed x: 97.00 y: 100.00 z: -0.78
    Bed x: 179.00 y: 100.00 z: -0.73
    Bed x: 15.00 y: 190.00 z: -0.84
    Bed x: 97.00 y: 190.00 z: -0.79
    Bed x: 179.00 y: 190.00 z: -0.89
    Eqn coefficients: a: 0.00 b: -0.00 d: -0.77
    Mean of sampled points: -0.793750


    Bed Height Topography:
    --0.04648 +0.00000 --0.09336
    --0.13008 +0.01484 +0.06523
    +0.01484 +0.09570 +0.07930


    planeNormal x: -0.00 y: 0.00 z: 1.00


    Bed Level Correction Matrix:
    1.000000 0.000000 0.000433
    0.000000 1.000000 -0.000611
    -0.000433 0.000611 1.000000
    echo:endstops hit: Z:-0.89

    Any good?

    *I just did another one but using the safe homing where it homes in the middle of the bed, not so safe! It didn't do z lift before extending probe, luckily I already had enough space.

    >>>G29 n3 T V4
    SENDING:G29 n3 T V4
    Roxy's Enhanced G29 Auto_Bed_Leveling Code V1.01:
    Bed x: 15.00 y: 10.00 z: -0.71
    Bed x: 97.00 y: 10.00 z: -0.70
    Bed x: 179.00 y: 10.00 z: -0.76
    Bed x: 15.00 y: 100.00 z: -0.82
    Bed x: 97.00 y: 100.00 z: -0.77
    Bed x: 179.00 y: 100.00 z: -0.77
    Bed x: 15.00 y: 190.00 z: -0.75
    Bed x: 97.00 y: 190.00 z: -0.74
    Bed x: 179.00 y: 190.00 z: -0.89
    Eqn coefficients: a: -0.00 b: -0.00 d: -0.70
    Mean of sampled points: -0.770009


    Bed Height Topography:
    +0.02431 +0.02548 --0.11984
    --0.05265 --0.00421 --0.00226
    +0.05712 +0.06688 +0.00516


    planeNormal x: 0.00 y: 0.00 z: 1.00


    Bed Level Correction Matrix:
    1.000000 0.000000 -0.000296
    0.000000 1.000000 -0.000369
    0.000296 0.000369 1.000000
    echo:endstops hit: Z:-0.89
    Last edited by brainscan; 06-28-2014 at 08:42 PM. Reason: added another result

  9. #39
    Super Moderator Roxy's Avatar
    Join Date
    Apr 2014
    Location
    Lone Star State
    Posts
    2,182
    It's way past my bed time... But in the morning I'll take a closer look at it. I'll figure out where to add a few extra lines of debugging code so we can zero in on where the problem is...

    Update:

    OK, I took your Marlin_main.cpp and dropped it into my build environment. I recompiled and flashed my firmware. Here is what I got when I sent it a G28 and then an M114 and a M48 command:

    Connecting...
    Printer is now online.
    >>>G28
    SENDING:G28
    >>>M114
    SENDING:M114
    X:76.00 Y:73.00 Z:4.20 E:0.00 Count X: 76.00 Y:73.00 Z:4.20
    >>>M48 V 4
    SENDING:M48 V 4
    M48 Z-Probe Repeatability test. Version 1.85
    Positioning probe for the test.
    1 of 10 z: 4.225065 mean: 4.225065 sigma: 0.000000
    2 of 10 z: 4.214812 mean: 4.219938 sigma: 0.005126
    3 of 10 z: 4.221096 mean: 4.220324 sigma: 0.004221
    4 of 10 z: 4.217458 mean: 4.219607 sigma: 0.003860
    5 of 10 z: 4.221426 mean: 4.219971 sigma: 0.003529
    6 of 10 z: 4.213820 mean: 4.218946 sigma: 0.003954
    7 of 10 z: 4.209851 mean: 4.217647 sigma: 0.004851
    8 of 10 z: 4.206213 mean: 4.216217 sigma: 0.005906
    9 of 10 z: 4.198276 mean: 4.214224 sigma: 0.007925
    10 of 10 z: 4.203898 mean: 4.213191 sigma: 0.008131
    Mean: 4.213191
    Standard Deviation: 0.008131
    echo:endstops hit: Z:4.20

    My Z Probe offset is defined as:

    #define Z_PROBE_OFFSET_FROM_EXTRUDER -4.20

    so the code is returning a 'correct' value. Let's see a cut & paste of you doing the same 3 commands.
    Last edited by Roxy; 06-29-2014 at 08:00 AM.

  10. #40
    >>>G28
    SENDING:G28
    >>>M114
    SENDING:M114
    X:84.00 Y:97.00 Z:-0.78 E:0.00 Count X: 84.00 Y:97.00 Z:-0.78
    >>>M48 V4
    SENDING:M48 V4
    M48 Z-Probe Repeatability test. Version 1.85
    Positioning probe for the test.
    1 of 10 z: -0.767578 mean: -0.767578 sigma: 0.000000
    2 of 10 z: -0.768359 mean: -0.767969 sigma: 0.000391
    3 of 10 z: -0.767969 mean: -0.767969 sigma: 0.000319
    4 of 10 z: -0.769531 mean: -0.768359 sigma: 0.000731
    5 of 10 z: -0.771094 mean: -0.768906 sigma: 0.001274
    6 of 10 z: -0.771094 mean: -0.769271 sigma: 0.001420
    7 of 10 z: -0.771875 mean: -0.769643 sigma: 0.001600
    8 of 10 z: -0.772266 mean: -0.769971 sigma: 0.001730
    9 of 10 z: -0.772656 mean: -0.770269 sigma: 0.001836
    10 of 10 z: -0.773047 mean: -0.770547 sigma: 0.001931
    Mean: -0.770547
    Standard Deviation: 0.001931
    echo:endstops hit: Z:-0.77
    >>>M114
    SENDING:M114
    X:84.00 Y:97.00 Z:-0.77 E:0.00 Count X: 84.00 Y:97.00 Z:9.23

    I just thought i'd do another M114 to see where it thinks it is after the M48 and its totally different!?

    **Just thought i'd run it again to make sure its a consistent result
    >>>G28
    SENDING:G28
    >>>M114
    SENDING:M114
    X:84.00 Y:97.00 Z:-0.78 E:0.00 Count X: 84.00 Y:97.00 Z:-0.78
    >>>M48 V4
    SENDING:M48 V4
    M48 Z-Probe Repeatability test. Version 1.85
    Positioning probe for the test.
    1 of 10 z: -0.767969 mean: -0.767969 sigma: 0.000000
    2 of 10 z: -0.767578 mean: -0.767773 sigma: 0.000195
    3 of 10 z: -0.769531 mean: -0.768359 sigma: 0.000844
    4 of 10 z: -0.769141 mean: -0.768555 sigma: 0.000805
    5 of 10 z: -0.769531 mean: -0.768750 sigma: 0.000819
    6 of 10 z: -0.768750 mean: -0.768750 sigma: 0.000748
    7 of 10 z: -0.769141 mean: -0.768806 sigma: 0.000706
    8 of 10 z: -0.768750 mean: -0.768799 sigma: 0.000661
    9 of 10 z: -0.768359 mean: -0.768750 sigma: 0.000638
    10 of 10 z: -0.769922 mean: -0.768867 sigma: 0.000700
    Mean: -0.768867
    Standard Deviation: 0.000700
    echo:endstops hit: Z:-0.77
    >>>M114
    SENDING:M114
    X:84.00 Y:97.00 Z:-0.77 E:0.00 Count X: 84.00 Y:97.00 Z:9.23
    Last edited by brainscan; 06-29-2014 at 10:48 AM. Reason: Added second result

Page 4 of 76 FirstFirst ... 234561454 ... LastLast

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •