Duet3D Logo Duet3D
    • Tags
    • Documentation
    • Order
    • Register
    • Login

    Repetier server and duet

    Scheduled Pinned Locked Moved
    General Discussion
    7
    19
    1.1k
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • Dario02undefined
      Dario02 @A Former User
      last edited by

      @bearer it's not my choice xD

      1 Reply Last reply Reply Quote 0
      • Phaedruxundefined
        Phaedrux Moderator
        last edited by

        Well what you're asking to do isn't really possible.

        To change settings on the Duet you must edit config.g for them to be persistent between resets.

        Maybe I'm misunderstanding what you're trying to do.

        Z-Bot CoreXY Build | Thingiverse Profile

        1 Reply Last reply Reply Quote 0
        • Danalundefined
          Danal
          last edited by Danal

          @Dario02 said in Repetier server and duet:

          a duet to a raspberry with repetier server 0.93.1

          I assume that means the Pi has a USB serial port plugged into the Duet Board USB port, and that the Pi is running repetier.

          The configuration above can send G-Codes to the Duet, and therefore could potentially print things, etc.

          The configuration above CANNOT be used to fully manage and configure a Duet printer. Configuration requires obtaining, editing, and saving, the config.g file. There are many ways to do this, none of them are by way of the USB connection.

          The ways that work include:

          • Access the Duet board via a network and use the provided web interface (DWC - Duet Web Control). The fetch/edit/save capability is built in to this interface.
          • Turn on FTP in the configuration of the printer (one time) and FTP the config.g, change it, FTP it back (and reset the printer).
          • Physically remove the SD card and edit (there are a lot of variants here, depending on the exact configuration, ask more questions if this would work for you.)
          • Access the Duet board via the network via documented web APIs, download, edit, and upload the file (and reset the printer)
          • Keep a copy of config.g somewhere and "M28/M29" it onto the SD to make changes.

          There are probably a few others that I've missed... but... again, NONE of them are via USB.

          Delta / Kossel printer fanatic

          1 Reply Last reply Reply Quote 0
          • Danalundefined
            Danal
            last edited by

            And, as mentioned, feeding G-Codes for print jobs to Duet via USB with repetier (or any other USB serial drip feed) bypasses a very large chunk of the value of the Duet.

            You say you have no choice, and this does happen... but again, a Duet can be made to print via USB, bypassing most value... it cannot be configured by USB.

            Delta / Kossel printer fanatic

            Phaedruxundefined 1 Reply Last reply Reply Quote 0
            • gtj0undefined
              gtj0
              last edited by gtj0

              Well, you could use M28 and M29 to write a file to the SD card. I think that still works via USB.

              1 Reply Last reply Reply Quote 0
              • Danalundefined
                Danal
                last edited by Danal

                Edited into the list above.

                Delta / Kossel printer fanatic

                1 Reply Last reply Reply Quote 0
                • Phaedruxundefined
                  Phaedrux Moderator @Danal
                  last edited by

                  @Danal said in Repetier server and duet:

                  it cannot be configured by USB.

                  Well I guess it could... If you fed it all the commands that would have come from config.g it would work, but it would have to resend at every power up. If the homing files already existed they could be called, or you could probably send those manually too, but you'd get an error if some of your gcode ever called a homing file with G28.

                  I guess I just don't understand why.

                  Z-Bot CoreXY Build | Thingiverse Profile

                  Dario02undefined 1 Reply Last reply Reply Quote 0
                  • Dario02undefined
                    Dario02 @Phaedrux
                    last edited by

                    @Phaedrux I have connected with a bridge raspberry pi and duet eth so that I can have both DWC and Repetier server, DWC to change configurations and debugging, repetier as GUI for raspberry touchscreen. Thank you guys.

                    Marcossfundefined 1 Reply Last reply Reply Quote 3
                    • Marcossfundefined
                      Marcossf @Dario02
                      last edited by

                      @dario02 said in Repetier server and duet:

                      I have connected with a bridge raspberry pi and duet eth so that I can have both DWC and Repetier server, DWC to change configurations and debugging, repetier as GUI for raspberry touchscreen. Thank you guys.

                      Can you explain any detail how you have done this?
                      We would like to have DWC and Repetier Server in our configuration at the same time on Raspberry PI. We have installed both successfully, but we are not able to get Repetier Server to communicate with the Duet (6HC), although we can see both interfaces running on the same RPI.

                      We have developed a Repetier server frontend touch interface for our client end users* (foolproof), which we would like to maintain, and at the same time, having DWC for technicians, developers and support engineers.

                      *End user: In our particular case, operators just trained on press buttons without any 3D printing knowledge nor technical skill at all.

                      lbtqsbundefined 1 Reply Last reply Reply Quote 0
                      • lbtqsbundefined
                        lbtqsb @Marcossf
                        last edited by

                        @marcossf

                        Hi,

                        I am looking forward to maybe do the same here at work, where we have anycubics converted to duet, but maybe need a simpler frontend like repetier-server or astroprint or octoprint or so (have not yet dug into it, would be future work to look if the interfaces of them are simpler and kind of foolproof).

                        Could you elaborate a bit on how you achieved your setup/configuration

                        Thanks in advance!

                        L

                        Marcossfundefined 1 Reply Last reply Reply Quote 0
                        • Marcossfundefined
                          Marcossf @lbtqsb
                          last edited by

                          @lbtqsb It's very simple.

                          • Install the Repetier Server raspberry PI image from here: https://www.repetier-server.com/download-images/
                            The image include all the Duet software preinstalled.

                          • Edit the file /boot/repetier-image-setup.txt file in the image using Putty, and modify these lines from "0" to "1":

                          # Newer duet boards support a connection method called SBC where all communication is done via
                          # SPI. It needs the DuetControlServer to control it. Set value to 1 to start the DuetControlServer
                          # at boot and connect via SPI. Do this only if the spi pins are not connected with anything else!
                          RUN_DSC=1
                          
                          # Duet also provides a DuetWebServer to control the printer or install updates. We have configured
                          # it to run on port 3000. To activate this as well set value to 1.
                          RUN_DWS=1
                          
                          • Save it and restart the Pi.

                          After this setup, you can access Repetier Server frontend at http://your_ip:3344 or Duet DWC frontend at http://your_ip:3000

                          1 Reply Last reply Reply Quote 0
                          • First post
                            Last post
                          Unless otherwise noted, all forum content is licensed under CC-BY-SA