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
      last edited by

      Hi, I have successfully connected a duet to a raspberry with repetier server 0.93.1.
      What I can't to do is saving modified parameters in config.g
      For example I tried M503 than I sent M143 H3 S290 and sent M500, I resent M503 but the modified parameter didn't change at all, it was M143 H3 S300 and it still is M143 H3 S300...
      I already added M501 at the end of config.g
      Any suggestions? Thanks.

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

        M503 just dumps the contents of config.g. It does NOT dump the "live" settings. M500 saves certain settings like PID settings to config-override.g which M503 does not print. M501 just loads settings from config-override.g. Does Repetier server do something "special" that would make you think that parameters set with M143 would be saved somehow?

        Which Duet board are you using and which version of RRF is it running?

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

          The behaviour of M500 in RRF is not the same as the save to eeprom behaviour in Marlin, repetier, etc.

          https://duet3d.dozuki.com/Wiki/Gcode#Section_M500_Store_parameters

          Z-Bot CoreXY Build | Thingiverse Profile

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

            @Phaedrux I know, but they have added RRF firmware compatibility as I can see. Anyways it's not repetier problem cause I tried directly from DWC via console and I've got the same problem. I think that I'm doing wrong with gcodes, could you tell me the method to show my parameters, change one and save it again via console? thanks

            A Former User? 1 Reply Last reply Reply Quote 0
            • Dario02undefined
              Dario02 @gtj0
              last edited by

              @gtj0 duet 2 ethernet, RRF version... I'm not sure cause it's not mine and who ask me for this didn't know. He told me that it should be the last one for duet 2

              1 Reply Last reply Reply Quote 0
              • A Former User?
                A Former User @Dario02
                last edited by A Former User

                @Dario02 said in Repetier server and duet:

                could you tell me the method to show my parameters

                most (if not all?) of what gets saved with M500 is stored in /sys/config-override.g

                to review your current settings M503 will do the trick.
                https://duet3d.dozuki.com/Wiki/Gcode#Section_M503_Print_settings

                Dario02undefined 1 Reply Last reply Reply Quote 0
                • Dario02undefined
                  Dario02 @A Former User
                  last edited by Dario02

                  @bearer thanks but I don't want to use sys path cause I can't from repetier
                  I mean that I can't like everyone do from DWC I have to do it via console

                  1 Reply Last reply Reply Quote 0
                  • A Former User?
                    A Former User
                    last edited by

                    Then afaik your last option is to run each of the setting gcodes without parameters one by one and they'll spit out the current settings for that gcode. (for the most part at least). Or use DWC instead of repeteir server, its not the best utilization of the duet in any case.

                    Dario02undefined 1 Reply Last reply Reply Quote 0
                    • 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