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

    Expansion board setup on Duet3D wifi using external controller

    Scheduled Pinned Locked Moved
    Tuning and tweaking
    5
    31
    2.5k
    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.
    • Billsrfundefined
      Billsrf @dc42
      last edited by

      @dc42 says only 3 axis visable? 0_1559313385893_M584 B.JPG

      www.dpp3d.com , pellet fed large format 3d printers

      dc42undefined 1 Reply Last reply Reply Quote 0
      • dc42undefined
        dc42 administrators @Billsrf
        last edited by

        I'm sorry, I haven't yet found a way to view a .g file on an Android tablet. If anyone knows how to, please tell me. Otherwise I'll look at this tomorrow.

        Duet WiFi hardware designer and firmware engineer
        Please do not ask me for Duet support via PM or email, use the forum
        http://www.escher3d.com, https://miscsolutions.wordpress.com

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

          @dc42 said in Expansion board setup on Duet3D wifi using external controller:

          I'm sorry, I haven't yet found a way to view a .g file on an Android tablet. If anyone knows how to, please tell me. Otherwise I'll look at this tomorrow.

          I don't use Android myself, but one of these perhaps? https://techwiser.com/android-text-editor-for-programming/

          Z-Bot CoreXY Build | Thingiverse Profile

          dc42undefined 1 Reply Last reply Reply Quote 0
          • dc42undefined
            dc42 administrators @Phaedrux
            last edited by

            @phaedrux said in Expansion board setup on Duet3D wifi using external controller:

            @dc42 said in Expansion board setup on Duet3D wifi using external controller:

            I'm sorry, I haven't yet found a way to view a .g file on an Android tablet. If anyone knows how to, please tell me. Otherwise I'll look at this tomorrow.

            I don't use Android myself, but one of these perhaps? https://techwiser.com/android-text-editor-for-programming/

            The problem seems to be that the app has to declare to Android what file extensions it supports, and I haven't yet found an editor that declares .g and/or .gcode as a supported extension.

            Duet WiFi hardware designer and firmware engineer
            Please do not ask me for Duet support via PM or email, use the forum
            http://www.escher3d.com, https://miscsolutions.wordpress.com

            1 Reply Last reply Reply Quote 0
            • dc42undefined
              dc42 administrators @Billsrf
              last edited by dc42

              @billsrf said in Expansion board setup on Duet3D wifi using external controller:

              @dc42 im using the remapping M code to set the pulse dir. But, it will not accept it. I upload it, reset the firmware and go back to check it and the step timing is not there, its not updating the settings. I am getting 3.8 volts+ and 3.7V- across the DIR+ and -. The little blue light flashes when I hit extrude like it is getting the command pulse. The motor is active mode, ie.. when it is powered, i cannot move the motor by hand. 0_1559312541048_config (1).g 0_1559312553022_M569.JPG

              From the config.g file that you posted:

              ; Drives
              M569 P0 S1 ; Physical drive X goes forwards
              M569 P1 S1 ; Physical drive Y goes forwards
              M569 P2 S1 ; Physical drive Z goes forwards
              M569 P5 S0 ; Physical drive EXT goes backwards
              M584 X0 Y1 Z2 E5 ; Apply custom drive mapping

              So you have not set the step pulse timing on driver 5.

              Your earlier posts suggested that when you sent M569 P5 T2.5:2.5:2.5:2.5 from the command line, it wasn't sticking, or possibly the board was resetting. Which firmware version are you using?

              Duet WiFi hardware designer and firmware engineer
              Please do not ask me for Duet support via PM or email, use the forum
              http://www.escher3d.com, https://miscsolutions.wordpress.com

              Billsrfundefined 1 Reply Last reply Reply Quote 0
              • Billsrfundefined
                Billsrf @dc42
                last edited by

                @dc42 here is the firmware version.0_1559596852707_Firmware version.JPG

                www.dpp3d.com , pellet fed large format 3d printers

                1 Reply Last reply Reply Quote 0
                • dc42undefined
                  dc42 administrators
                  last edited by

                  Please upgrade to firmware 2.02 and then try the M569 command again: send M569 P5 T2.5:2.5:2.5:2.5 from the command line or in config,g, then send M569 P5 from the command line and see if the correct parameters are reported.

                  Duet WiFi hardware designer and firmware engineer
                  Please do not ask me for Duet support via PM or email, use the forum
                  http://www.escher3d.com, https://miscsolutions.wordpress.com

                  Billsrfundefined 4 Replies Last reply Reply Quote 0
                  • Billsrfundefined
                    Billsrf @dc42
                    last edited by

                    @dc42 said in Expansion board setup on Duet3D wifi using external controller:

                    M569 P5 T2.5:2.5:2.5:2.5

                    I did as you said and it updated, but not what I typed in..??? still does not move. I went to a better driver controller but still no movement.0_1559655166957_M569.JPG 0_1559655180593_ACE-102_Manual_Rev_1.07.pdf 0_1559655190635_config (2).g

                    www.dpp3d.com , pellet fed large format 3d printers

                    1 Reply Last reply Reply Quote 0
                    • Billsrfundefined
                      Billsrf @dc42
                      last edited by

                      @dc42 is my tool map correct?0_1559659225614_Tool Select.JPG

                      www.dpp3d.com , pellet fed large format 3d printers

                      1 Reply Last reply Reply Quote 0
                      • Billsrfundefined
                        Billsrf @dc42
                        last edited by

                        @dc42 @phaedrux it will not allow up date to active high setting either. Im very confused why it will not change settings??? I set the R to 1 as it says in the wiki, M569 P5 R1 T2.5:2.5:5.0 and it does't change anything. 0_1559665353230_M569-2.JPG

                        www.dpp3d.com , pellet fed large format 3d printers

                        dc42undefined 1 Reply Last reply Reply Quote 0
                        • Billsrfundefined
                          Billsrf @dc42
                          last edited by

                          @dc42 @phaedrux Sorry to be a bother, but, It takes the M569 command till you reset the firmware, ie.. shut off and back on. Then it goes back to original settings.0_1559672716402_M569-3.JPG

                          www.dpp3d.com , pellet fed large format 3d printers

                          1 Reply Last reply Reply Quote 0
                          • dc42undefined
                            dc42 administrators @Billsrf
                            last edited by dc42

                            @billsrf said in Expansion board setup on Duet3D wifi using external controller:

                            @dc42 @phaedrux it will not allow up date to active high setting either. Im very confused why it will not change settings??? I set the R to 1 as it says in the wiki, M569 P5 R1 T2.5:2.5:5.0 and it does't change anything. 0_1559665353230_M569-2.JPG

                            R1 on the M569 command is needed when connecting stepstick and similar drivers directly to the expansion connector of the Duet. It is not needed when connecting large external drivers via the breakout board.

                            The test for whether the R parameter is correct is to see whether the stepper motors are locked. With the correct setting, the motor shafts should be free to move after power up, but each motor should lock the first time you try to move it.

                            The step pulse timings get rounded up to the next multiple of whole step clocks. That is why the values reported by M569 are a little larger than the values you commanded.

                            Duet WiFi hardware designer and firmware engineer
                            Please do not ask me for Duet support via PM or email, use the forum
                            http://www.escher3d.com, https://miscsolutions.wordpress.com

                            Billsrfundefined 2 Replies Last reply Reply Quote 0
                            • Billsrfundefined
                              Billsrf @dc42
                              last edited by

                              @dc42 @Phaedrux the external motor is locked when you power up the board before activating that Extruder. So what is the next step?

                              www.dpp3d.com , pellet fed large format 3d printers

                              1 Reply Last reply Reply Quote 0
                              • Billsrfundefined
                                Billsrf @dc42
                                last edited by

                                @dc42 @Phaedrux I restarted the controller and checked the M569 and this it what it said. but, the motor is still in lock mode 0_1559681362446_M569-4.JPG

                                www.dpp3d.com , pellet fed large format 3d printers

                                1 Reply Last reply Reply Quote 0
                                • dc42undefined
                                  dc42 administrators
                                  last edited by

                                  I suspect there is an error in the M569 P5 command in your config.g file, because it looks like it has not been executed.

                                  Duet WiFi hardware designer and firmware engineer
                                  Please do not ask me for Duet support via PM or email, use the forum
                                  http://www.escher3d.com, https://miscsolutions.wordpress.com

                                  Billsrfundefined 2 Replies Last reply Reply Quote 0
                                  • Billsrfundefined
                                    Billsrf @dc42
                                    last edited by

                                    @dc42 ok, how do we fix the error? also, i disconnected the enable wires and it now turns CW when extrude or retract is activated.

                                    www.dpp3d.com , pellet fed large format 3d printers

                                    1 Reply Last reply Reply Quote 0
                                    • Billsrfundefined
                                      Billsrf @dc42
                                      last edited by

                                      @dc42 ok, disconnected the enable + & -. Now it works like it is supposed to. Why is this happening?

                                      www.dpp3d.com , pellet fed large format 3d printers

                                      dc42undefined 1 Reply Last reply Reply Quote 0
                                      • dc42undefined
                                        dc42 administrators @Billsrf
                                        last edited by

                                        @billsrf said in Expansion board setup on Duet3D wifi using external controller:

                                        @dc42 ok, disconnected the enable + & -. Now it works like it is supposed to. Why is this happening?

                                        It sounds to me that the MF input of the driver is actually a disable input, not an enable input. Either add R1 to the M569 command, or swap the MF+ and MF- wires over.

                                        Duet WiFi hardware designer and firmware engineer
                                        Please do not ask me for Duet support via PM or email, use the forum
                                        http://www.escher3d.com, https://miscsolutions.wordpress.com

                                        Billsrfundefined 1 Reply Last reply Reply Quote 0
                                        • Billsrfundefined
                                          Billsrf @dc42
                                          last edited by

                                          @dc42 swapping the wires worked, I added the R1 to the code but it didn't work so I swapped the wires. Still confused, but at least it is working now. Thank you. How do we fix the M569 code string?

                                          www.dpp3d.com , pellet fed large format 3d printers

                                          dc42undefined 1 Reply Last reply Reply Quote 0
                                          • dc42undefined
                                            dc42 administrators @Billsrf
                                            last edited by dc42

                                            @billsrf said in Expansion board setup on Duet3D wifi using external controller:

                                            @dc42 swapping the wires worked, I added the R1 to the code but it didn't work so I swapped the wires. Still confused, but at least it is working now. Thank you. How do we fix the M569 code string?

                                            Can you confirm that you added R1 to the M569 commands for all the external drivers? For example, to the M569 P5 command. Using a separate command such as M569 P5 R1 should also have worked (and similarly for the other drivers). When you send e.g. M569 P5 to report the driver parameters, the report should change to include "active high enable".

                                            Duet WiFi hardware designer and firmware engineer
                                            Please do not ask me for Duet support via PM or email, use the forum
                                            http://www.escher3d.com, https://miscsolutions.wordpress.com

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