• Tags
  • Documentation
  • Order
  • Register
  • Login
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.
  • undefined
    Billsrf
    last edited by 28 May 2019, 20:39

    @dc42 @Phaedrux I need to run my extruder with an external drive. I have the expansion board plugged in with all the step, dir, ena wiring correct. In my config.g file I have set my M569 to P5 S1 T2.5. i get no response when I try to extrude or use G1 to move the motor. I have read several postings but nothing has worked for me yet. I am missing something obvious. 0_1559075826296_ACE-102_Manual_Rev_1.07 (1).pdf

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

    undefined 1 Reply Last reply 13 May 2020, 11:06 Reply Quote 0
    • undefined
      dc42 administrators
      last edited by 28 May 2019, 20:54

      Have you used M584 to map your extruder to driver 5 ?

      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

      undefined 1 Reply Last reply 29 May 2019, 14:13 Reply Quote 0
      • undefined
        Billsrf
        last edited by 29 May 2019, 13:52

        Yes, I followed the wiki instructions

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

        1 Reply Last reply Reply Quote 0
        • undefined
          Billsrf @dc42
          last edited by 29 May 2019, 14:13

          @dc42 here is my config and a screen shot of my M5840_1559139181955_config.g 0_1559139196218_M584.JPG

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

          undefined 1 Reply Last reply 29 May 2019, 20:05 Reply Quote 0
          • undefined
            T3P3Tony administrators @Billsrf
            last edited by 29 May 2019, 20:05

            @billsrf you will not get extruder movement if the extruder is cold, unless you enable the override:
            https://duet3d.dozuki.com/Wiki/Gcode#Section_M302_Allow_cold_extrudes

            www.duet3d.com

            undefined 1 Reply Last reply 29 May 2019, 20:56 Reply Quote 0
            • undefined
              Billsrf @T3P3Tony
              last edited by 29 May 2019, 20:56

              @t3p3tony I did enable the heater on my test bench. I can remap it to E0 (3) on the board and it works fine. I remap it to Expansion (5) and no movement

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

              1 Reply Last reply Reply Quote 0
              • undefined
                dc42 administrators
                last edited by dc42 30 May 2019, 08:19

                When you try to extrude, do you get about 4V between pins 5 and 6 (MF+ and MF-) on the external driver, with pin 5 being positive?

                Likewise you can check that you are getting 4V between DIR+ and DIR- and that the polarity reverses when you reverse the direction.

                It's harder to test STEP, but you should have -4V on STEP+ relative to STEP-. The step pulses themselves will be too short to measure with a multimeter.

                Try increasing the T2.5 parameter to a higher value such as T10. If that fixes it then you can try lower values.

                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

                undefined 2 Replies Last reply 31 May 2019, 14:23 Reply Quote 0
                • undefined
                  Billsrf @dc42
                  last edited by 31 May 2019, 14:23

                  @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

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

                  undefined 1 Reply Last reply 1 Jun 2019, 09:00 Reply Quote 0
                  • undefined
                    Billsrf @dc42
                    last edited by 31 May 2019, 14:37

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

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

                    undefined 1 Reply Last reply 31 May 2019, 19:39 Reply Quote 0
                    • undefined
                      dc42 administrators @Billsrf
                      last edited by 31 May 2019, 19:39

                      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

                      undefined 1 Reply Last reply 31 May 2019, 21:13 Reply Quote 0
                      • undefined
                        Phaedrux Moderator @dc42
                        last edited by 31 May 2019, 21:13

                        @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

                        undefined 1 Reply Last reply 1 Jun 2019, 08:48 Reply Quote 0
                        • undefined
                          dc42 administrators @Phaedrux
                          last edited by 1 Jun 2019, 08:48

                          @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
                          • undefined
                            dc42 administrators @Billsrf
                            last edited by dc42 6 Apr 2019, 07:35 1 Jun 2019, 09:00

                            @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

                            undefined 1 Reply Last reply 3 Jun 2019, 21:20 Reply Quote 0
                            • undefined
                              Billsrf @dc42
                              last edited by 3 Jun 2019, 21:20

                              @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
                              • undefined
                                dc42 administrators
                                last edited by 4 Jun 2019, 07:36

                                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

                                undefined 4 Replies Last reply 4 Jun 2019, 13:33 Reply Quote 0
                                • undefined
                                  Billsrf @dc42
                                  last edited by 4 Jun 2019, 13:33

                                  @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
                                  • undefined
                                    Billsrf @dc42
                                    last edited by 4 Jun 2019, 14:40

                                    @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
                                    • undefined
                                      Billsrf @dc42
                                      last edited by 4 Jun 2019, 16:25

                                      @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

                                      undefined 1 Reply Last reply 4 Jun 2019, 20:34 Reply Quote 0
                                      • undefined
                                        Billsrf @dc42
                                        last edited by 4 Jun 2019, 18:25

                                        @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
                                        • undefined
                                          dc42 administrators @Billsrf
                                          last edited by dc42 6 Apr 2019, 20:35 4 Jun 2019, 20:34

                                          @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

                                          undefined 2 Replies Last reply 4 Jun 2019, 20:40 Reply Quote 0
                                          1 out of 31
                                          • First post
                                            1/31
                                            Last post
                                          Unless otherwise noted, all forum content is licensed under CC-BY-SA