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

Solved Is there a robo3d-specific gcode reference anywhere?

Discussion in 'General Questions' started by Morichalion, Jan 2, 2016.

  1. Morichalion

    Morichalion Member

    Joined:
    Dec 1, 2015
    Messages:
    79
    Likes Received:
    25
    I went looking at the RepRapWiki. There's a lot of information there isn't specific to the Robo3d.
     
  2. mark tomlinson

    mark tomlinson ༼ つ ◕_ ◕ ༽つ
    Staff Member

    Joined:
    Feb 21, 2013
    Messages:
    23,915
    Likes Received:
    7,338
    GCode isn't specific to Robo3D (not even to 3D printers really--CNC machines use it as well as others)
    If you want to get more specific then look at the Marlin website since that is the firmware Robo3D uses.

    https://github.com/MarlinFirmware/Marlin

    Robo doesn't use the current branch/label of Marlin although @WheresWaldo has a thread he started that details how to do that.
     
    Morichalion likes this.
  3. Morichalion

    Morichalion Member

    Joined:
    Dec 1, 2015
    Messages:
    79
    Likes Received:
    25
    My google-fu is weak this morning. Where's @WheresWaldo thread?
     
  4. mark tomlinson

    mark tomlinson ༼ つ ◕_ ◕ ༽つ
    Staff Member

    Joined:
    Feb 21, 2013
    Messages:
    23,915
    Likes Received:
    7,338
  5. mark tomlinson

    mark tomlinson ༼ つ ◕_ ◕ ༽つ
    Staff Member

    Joined:
    Feb 21, 2013
    Messages:
    23,915
    Likes Received:
    7,338
    Long thread (now) it also is up to the latest version of Marlin (or close).
    They have a mailing list (Marlin) that you can subscribe to. There is (sadly) a lot of scuffling that goes on over there...
     
  6. mark tomlinson

    mark tomlinson ༼ つ ◕_ ◕ ༽つ
    Staff Member

    Joined:
    Feb 21, 2013
    Messages:
    23,915
    Likes Received:
    7,338
    The M565 command is one of the more important things that got dropped in later Marlin code so you could say that is Robo specific now. They (Marlin) decided on a different approach to setting the Z offset*. It is documented if you do want to update.



    *Epic arguments over that were had by them...
     
  7. Morichalion

    Morichalion Member

    Joined:
    Dec 1, 2015
    Messages:
    79
    Likes Received:
    25
    I gotcha.

    Really, the only thing I was interested in at present was a command to pause and wait for controller input before resuming, as if the user hit the "Pause" button. M226 seems to be what I was looking for, but is presently (apparently) unsupported. I was hoping to find some method to stop my printer so I could fill little boxes between layers, rather than in between them.
     
  8. mark tomlinson

    mark tomlinson ༼ つ ◕_ ◕ ༽つ
    Staff Member

    Joined:
    Feb 21, 2013
    Messages:
    23,915
    Likes Received:
    7,338
  9. mark tomlinson

    mark tomlinson ༼ つ ◕_ ◕ ༽つ
    Staff Member

    Joined:
    Feb 21, 2013
    Messages:
    23,915
    Likes Received:
    7,338
    Yes, even then some want to use M226 so ... manual intervention might be required :)
    Let me see what I can find on M226
     
  10. mark tomlinson

    mark tomlinson ༼ つ ◕_ ◕ ༽つ
    Staff Member

    Joined:
    Feb 21, 2013
    Messages:
    23,915
    Likes Received:
    7,338
    http://forums.reprap.org/read.php?2,571454

    So it is sort-of supported. There are some things that need looking into.

    If you print from the SD card then it is certainly pausable:

    M25 - Pause SD print
    M24 - Start/resume SD print

    S3D has a pause SD print button on the machine control panel and it does work.
     
    #10 mark tomlinson, Jan 2, 2016
    Last edited: Jan 2, 2016
  11. mark tomlinson

    mark tomlinson ༼ つ ◕_ ◕ ༽つ
    Staff Member

    Joined:
    Feb 21, 2013
    Messages:
    23,915
    Likes Received:
    7,338
  12. Morichalion

    Morichalion Member

    Joined:
    Dec 1, 2015
    Messages:
    79
    Likes Received:
    25
    I'm beginning to think that the only bet, currently, is manual intervention. I think I tried M600, by default it moved in an undesirable way. I might do more research and see if I can't muck about with variables on it. I can't remember if I could restart it without disconnecting the printer or not.

    I can't find any reference to the pin numbers or values that M226 is going to be using. The console in the MatterControl terminal ends up saying "Communication State: Paused" After you hit the pause button. Might be a spot to start.

    M25 doesn't work when included in the gcode file. Well... it WORKS, but there's no way to start up again. :p

    What S3D is doing is sending an M25 command to the printer. Once the printer gets to it, it stops. MatterControl is going to do the same thing.
     
  13. mark tomlinson

    mark tomlinson ༼ つ ◕_ ◕ ༽つ
    Staff Member

    Joined:
    Feb 21, 2013
    Messages:
    23,915
    Likes Received:
    7,338
    M24 - Start/resume SD print
     
  14. Morichalion

    Morichalion Member

    Joined:
    Dec 1, 2015
    Messages:
    79
    Likes Received:
    25
    Anyway, I have to go to sleep. I'll mess with it some more later. :)
     
  15. Morichalion

    Morichalion Member

    Joined:
    Dec 1, 2015
    Messages:
    79
    Likes Received:
    25
    I had to get up and mess with it. Damn printer is costing me sleep. ><

    Anyway...

    The printer seemed to keep skipping the final instruction after I sent it a M24. Apparently the printer likes it's gcode in UTF-8 rather than ANSI.

    Also, TIL that if you don't define the X Y and Z values on your G28, it will move to the center of the bed to home the z axis. That, or it has something to do with the absolute vs relative positioning....

    Anyway, the way to make this thing work the way I want it to is probably to use a M25 to pause it. I won't know if it works until I test it later. I DO need to go to sleep. :p

    Thank you so much for your help!
     
  16. Morichalion

    Morichalion Member

    Joined:
    Dec 1, 2015
    Messages:
    79
    Likes Received:
    25
    Also... I kept waiting for the pause button to change to "Resume" earlier, which is why I didn't think it was working. :p
     
    mark tomlinson likes this.

Share This Page