1. Got a question or need help troubleshooting? Post to the troubleshooting forum or Search the forums!

Community Favorite Marlin 1.1.7 Release for Robo R1, R1+PLUS & Variants

Discussion in 'Mods and Upgrades' started by WheresWaldo, May 4, 2017.

  1. Avrution

    Avrution Member

    Joined:
    Nov 27, 2017
    Messages:
    164
    Likes Received:
    18
  2. WheresWaldo

    WheresWaldo Volunteer ( ͠° ͟ʖ ͡°)
    Staff Member

    Joined:
    Feb 18, 2015
    Messages:
    5,905
    Likes Received:
    3,593
    Not M565, that was deprecated, you have to use M851 if you need a Z offset with MESH.
     
    mark tomlinson likes this.
  3. Avrution

    Avrution Member

    Joined:
    Nov 27, 2017
    Messages:
    164
    Likes Received:
    18
    Is there a reason why Mesh leveling would turn itself off between powering on/off? I had it enabled and sent the M500, but it reverts back to off each time.

    It seems like running G28 turns it off each time
     
    #343 Avrution, Feb 3, 2018
    Last edited: Feb 3, 2018
  4. WheresWaldo

    WheresWaldo Volunteer ( ͠° ͟ʖ ͡°)
    Staff Member

    Joined:
    Feb 18, 2015
    Messages:
    5,905
    Likes Received:
    3,593
    It should not work that way, I have no idea.
     
  5. Avrution

    Avrution Member

    Joined:
    Nov 27, 2017
    Messages:
    164
    Likes Received:
    18
    Apparently G28 disables mesh and you have to issue M420 S1 again each time.
     
  6. mark tomlinson

    mark tomlinson ༼ つ ◕_ ◕ ༽つ
    Staff Member

    Joined:
    Feb 21, 2013
    Messages:
    23,912
    Likes Received:
    7,338
  7. albert3d

    albert3d Member

    Joined:
    Feb 3, 2018
    Messages:
    70
    Likes Received:
    28
    @James Harry

    You got G26 to work? I've tried but it doesn't seem to have a parameter for setting the Z offset. Did you just issue M851 Zn.nn prior? I've tried that in the past and it didn't seem to work. Curious how you got it sorted. I can't post pics yet or I would show you the mess mine makes. :)
     
  8. James Harry

    James Harry Active Member

    Joined:
    Feb 7, 2015
    Messages:
    127
    Likes Received:
    37
    I had the same problem because in the past, the Z offset didn't work with mesh leveling, so I didn't try to set one. Once I issued a M851 and once I had the right height, I was able to do the test print and start adjusting.
     
    albert3d likes this.
  9. albert3d

    albert3d Member

    Joined:
    Feb 3, 2018
    Messages:
    70
    Likes Received:
    28
    Tried it again, but this time did a M500 after the M851 and it worked. They really should just make that a parameter to G26. They have everything else. :) I now have a pretty print. Just need to play with the back corner a bit and a couple other spots. So close. Thanks for posting your results. I was giving up.
     
  10. albert3d

    albert3d Member

    Joined:
    Feb 3, 2018
    Messages:
    70
    Likes Received:
    28
    Anyone here ever use the output from G29 S-1 to reload a UBL mesh after a firmware update? It's a series of M421 commands. I saved mine off just in case (saw it on the LCD menu). I don't want to do a UBL mesh setup manually again. I'm hoping it will work if needed someday.
     
  11. WheresWaldo

    WheresWaldo Volunteer ( ͠° ͟ʖ ͡°)
    Staff Member

    Joined:
    Feb 18, 2015
    Messages:
    5,905
    Likes Received:
    3,593
    M420 S1 will re-enable auto-leveling if off
    G29 Lnnn will load a saved mesh from slot nnn

    M421 is intended to touch up points in an existing mesh

    You have to make sure to save the current memory state to EEPROM with M500 after you finsh creating and adjusting your UBL mesh.
     
  12. albert3d

    albert3d Member

    Joined:
    Feb 3, 2018
    Messages:
    70
    Likes Received:
    28
    Oh...well under the Prepare - UBL - Output Mesh Map LCD menu, there is Off Printer Backup. Was hoping it meant I could reload. So maybe have it do the auto UBL mesh to initially create it and then run the M421 command output from the previous mesh's G29 S-1 to "touch up" all points and save to EEPROM? Auto mesh is always close but seems to need a lot of touch up to tune it in. Just don't want to have to go through all that again.

    Example output:
    M421 I 0 J 0 Z -0.335000 ; X 25.00, Y 5.00
    M421 I 0 J 1 Z -0.420000 ; X 25.00, Y 32.11
    M421 I 0 J 2 Z -0.475000 ; X 25.00, Y 59.22
    M421 I 0 J 3 Z -0.440000 ; X 25.00, Y 86.33
     
  13. James Harry

    James Harry Active Member

    Joined:
    Feb 7, 2015
    Messages:
    127
    Likes Received:
    37
    Yes, I did exactly that. I took out the comments and carriage returns so it was one long line and added it as a macro button on OctoPrint. Worked well

    * I used the "Terminal Commands" plug-in in OctoPrint
     
    albert3d likes this.
  14. albert3d

    albert3d Member

    Joined:
    Feb 3, 2018
    Messages:
    70
    Likes Received:
    28
    Awesome! Thank you for verifying that works! Now I won't care if I update the firmware and it wipes out my MESH down the road.
     
  15. WheresWaldo

    WheresWaldo Volunteer ( ͠° ͟ʖ ͡°)
    Staff Member

    Joined:
    Feb 18, 2015
    Messages:
    5,905
    Likes Received:
    3,593
    Since the LCD doesn't actually store anything and is just a display device, all that is doing is reporting the G-code line necessary to recreate your mesh, point by probe point. You would need to write them down somewhere.
     
  16. albert3d

    albert3d Member

    Joined:
    Feb 3, 2018
    Messages:
    70
    Likes Received:
    28
    Why? It dumps it to the serial monitor on the PC. Copy paste replay man.
     
    James Harry likes this.
  17. WheresWaldo

    WheresWaldo Volunteer ( ͠° ͟ʖ ͡°)
    Staff Member

    Joined:
    Feb 18, 2015
    Messages:
    5,905
    Likes Received:
    3,593
    Still needs to be saved off somewhere, and if you don't have a terminal running you have to use a pen and paper. Just saying.

    Pen & Paper: Old school 'copy and paste'
     
    #357 WheresWaldo, Feb 11, 2018
    Last edited: Feb 11, 2018
  18. James Harry

    James Harry Active Member

    Joined:
    Feb 7, 2015
    Messages:
    127
    Likes Received:
    37
    I think I still did M502, M500, G29 S1, and then ran the M421 lines. If you run them without having a saved mesh, it won't do anything. Even having a blank mesh lets it work.
     
    albert3d likes this.
  19. James Harry

    James Harry Active Member

    Joined:
    Feb 7, 2015
    Messages:
    127
    Likes Received:
    37
    BTW, you can use G29 S-1 and it will print out required M421 commands to recreate.

    Code:
    Send: G29 S-1
    Recv: echo:Home XYZ first
    Recv: G29 I 999
    Recv: M421 I 0 J 0 Z 0.155000 ; X 1.00, Y 1.00
    Recv: M421 I 0 J 1 Z -0.139583 ; X 1.00, Y 40.00
    Recv: M421 I 0 J 2 Z -0.246250 ; X 1.00, Y 79.00
    Recv: M421 I 0 J 3 Z -0.329583 ; X 1.00, Y 118.00
    Recv: M421 I 0 J 4 Z -0.273750 ; X 1.00, Y 157.00
    Recv: M421 I 0 J 5 Z -0.177083 ; X 1.00, Y 196.00
    Recv: M421 I 0 J 6 Z 0.060833 ; X 1.00, Y 235.00
    Recv: M421 I 1 J 0 Z 0.189583 ; X 37.33, Y 1.00
    Recv: M421 I 1 J 1 Z -0.144583 ; X 37.33, Y 40.00
    Recv: M421 I 1 J 2 Z -0.248750 ; X 37.33, Y 79.00
    Recv: M421 I 1 J 3 Z -0.290417 ; X 37.33, Y 118.00
    Recv: M421 I 1 J 4 Z -0.259583 ; X 37.33, Y 157.00
    Recv: M421 I 1 J 5 Z -0.176667 ; X 37.33, Y 196.00
    Recv: M421 I 1 J 6 Z 0.035000 ; X 37.33, Y 235.00
    Recv: M421 I 2 J 0 Z 0.157083 ; X 73.67, Y 1.00
    Recv: M421 I 2 J 1 Z -0.070000 ; X 73.67, Y 40.00
    Recv: M421 I 2 J 2 Z -0.214583 ; X 73.67, Y 79.00
    Recv: M421 I 2 J 3 Z -0.261667 ; X 73.67, Y 118.00
    Recv: M421 I 2 J 4 Z -0.194167 ; X 73.67, Y 157.00
    Recv: M421 I 2 J 5 Z -0.077500 ; X 73.67, Y 196.00
    Recv: M421 I 2 J 6 Z 0.177083 ; X 73.67, Y 235.00
    Recv: M421 I 3 J 0 Z 0.272083 ; X 110.00, Y 1.00
    Recv: M421 I 3 J 1 Z 0.032917 ; X 110.00, Y 40.00
    Recv: M421 I 3 J 2 Z -0.078750 ; X 110.00, Y 79.00
    Recv: M421 I 3 J 3 Z -0.091250 ; X 110.00, Y 118.00
    Recv: M421 I 3 J 4 Z -0.067083 ; X 110.00, Y 157.00
    Recv: M421 I 3 J 5 Z 0.034167 ; X 110.00, Y 196.00
    Recv: M421 I 3 J 6 Z 0.307083 ; X 110.00, Y 235.00
    Recv: M421 I 4 J 0 Z 0.327917 ; X 146.33, Y 1.00
    Recv: M421 I 4 J 1 Z 0.095417 ; X 146.33, Y 40.00
    Recv: M421 I 4 J 2 Z -0.013333 ; X 146.33, Y 79.00
    Recv: M421 I 4 J 3 Z -0.045833 ; X 146.33, Y 118.00
    Recv: M421 I 4 J 4 Z 0.011667 ; X 146.33, Y 157.00
    Recv: M421 I 4 J 5 Z 0.127083 ; X 146.33, Y 196.00
    Recv: M421 I 4 J 6 Z 0.376667 ; X 146.33, Y 235.00
    Recv: M421 I 5 J 0 Z 0.342917 ; X 182.67, Y 1.00
    Recv: M421 I 5 J 1 Z 0.109167 ; X 182.67, Y 40.00
    Recv: M421 I 5 J 2 Z -0.025417 ; X 182.67, Y 79.00
    Recv: M421 I 5 J 3 Z -0.061250 ; X 182.67, Y 118.00
    Recv: M421 I 5 J 4 Z -0.034167 ; X 182.67, Y 157.00
    Recv: M421 I 5 J 5 Z 0.123750 ; X 182.67, Y 196.00
    Recv: M421 I 5 J 6 Z 0.400417 ; X 182.67, Y 235.00
    Recv: M421 I 6 J 0 Z 0.080000 ; X 219.00, Y 1.00
    Recv: M421 I 6 J 1 Z -0.195417 ; X 219.00, Y 40.00
    Recv: M421 I 6 J 2 Z -0.342917 ; X 219.00, Y 79.00
    Recv: M421 I 6 J 3 Z -0.386667 ; X 219.00, Y 118.00
    Recv: M421 I 6 J 4 Z -0.355000 ; X 219.00, Y 157.00
    Recv: M421 I 6 J 5 Z -0.175833 ; X 219.00, Y 196.00
    Recv: M421 I 6 J 6 Z 0.149583 ; X 219.00, Y 235.00
    Recv: ok
     
    albert3d and WheresWaldo like this.
  20. WheresWaldo

    WheresWaldo Volunteer ( ͠° ͟ʖ ͡°)
    Staff Member

    Joined:
    Feb 18, 2015
    Messages:
    5,905
    Likes Received:
    3,593
    Even easier, thanks for the tip.
     

Share This Page