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

    6XD I/O >> Issue solved

    Scheduled Pinned Locked Moved
    Duet Hardware and wiring
    4
    121
    5.4k
    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.
    • droftartsundefined
      droftarts administrators @tecno
      last edited by

      @tecno For driver 5 not working:

      I think you have swapped those around cables and drivers to show that driver 5 output on the 6XD isn't working correctly. Can you:

      • check if you are using the enable signal. If you are, disconnect it (most external drivers are enabled by default) and check if it works. If not, check if there is any dip switches on the driver for default enable/disable, and/or set the dip switches the same as the other nozzle driver. Maybe post a picture of any dip switches.
      • If you have a multimeter, check you are getting 5V on the driver 5 5V pin. Then check for continuity between 5V and the enable pin, and direction pin when a command is sent. Using a multimeter to check if step pulses are sent usually doesn't work, as the step pulses are too fat for a multimeter. If you have an oscilloscope, you can check them that way, though.
      • If the above still doesn't work, check the soldering of the driver 5 connector on the 6XD, both sides. It may be a dry solder joint or something bridging or grounding the pins. Post photos if you're not sure.

      How can I check ON/OFF on above outputs?

      Sending 'M43 P0' or 'M280 P0' doesn't report the current PWM setting (@dc42 perhaps it should?) but you can check the current setting in the Object Model. Defined outputs are listed in the Object Model under state > gpOut[#], where # is the GPIO number defined by the M950 command. eg:

      M950 P1 C"exp.heater5" ; tested on Duet 2 WiFi
      M42 P1 S1
      echo state.gpOut[1].pwm
      1.00
      M42 P1 S0.5
      echo state.gpOut[1].pwm
      0.50
      M42 P1 S0
      echo state.gpOut[1].pwm
      0.00
      

      So that should let you query them. Or is it that you want to display their status in DWC?

      Ian

      Bed-slinger - Mini5+ WiFi/1LC | RRP Fisher v1 - D2 WiFi | Polargraph - D2 WiFi | TronXY X5S - 6HC/Roto | CNC router - 6HC | Tractus3D T1250 - D2 Eth

      tecnoundefined 1 Reply Last reply Reply Quote 0
      • tecnoundefined
        tecno @droftarts
        last edited by

        @droftarts
        Hi Ian,

        @droftarts said in 6XD I/O >> Faulty Driver 5:

        Or is it that you want to display their status in DWC

        No I just wanted to know if the outputs work, and OUT 2 is NOT ( 0 and 1 works)

        Yet another output not working

        Cheers
        Bengt

        tecnoundefined 1 Reply Last reply Reply Quote 0
        • tecnoundefined
          tecno @tecno
          last edited by

          @droftarts

          f55ad8d0-c3fb-449f-9281-7c6b71650945-image.png

          Top is P1 bottom is P2

          droftartsundefined 1 Reply Last reply Reply Quote 0
          • droftartsundefined
            droftarts administrators @tecno
            last edited by

            @tecno Can you post your whole config.g as it currently is, please. Also run M98 P"config.g" from the console and post the response.

            Ian

            Bed-slinger - Mini5+ WiFi/1LC | RRP Fisher v1 - D2 WiFi | Polargraph - D2 WiFi | TronXY X5S - 6HC/Roto | CNC router - 6HC | Tractus3D T1250 - D2 Eth

            tecnoundefined 1 Reply Last reply Reply Quote 0
            • tecnoundefined
              tecno @droftarts
              last edited by

              @droftarts said in 6XD I/O >> Faulty Driver 5:

              M98 P"config.g"

              b8ecd474-b838-45c2-8029-4066eb993dfd-image.png

              config240923.txt

              droftartsundefined 1 Reply Last reply Reply Quote 0
              • droftartsundefined
                droftarts administrators @tecno
                last edited by

                @tecno You've set out2 as a fan!

                M950 F2 C"out2" ;	Q500	;Drag PIN Actuator
                

                Changle "F2" to "P2".

                Ian

                Bed-slinger - Mini5+ WiFi/1LC | RRP Fisher v1 - D2 WiFi | Polargraph - D2 WiFi | TronXY X5S - 6HC/Roto | CNC router - 6HC | Tractus3D T1250 - D2 Eth

                tecnoundefined 1 Reply Last reply Reply Quote 0
                • tecnoundefined
                  tecno @droftarts
                  last edited by

                  @droftarts
                  06b79b43-550e-4bef-b4a1-63444edbe6d7-image.png

                  Corrected
                  ;***Outputs
                  M950 P0 C"out0" ; Q500 ;#1 Nozzle Vacuum
                  M950 P1 C"out1" ; Q500 ;#2 Nozzle Vacuum
                  M950 P2 C"out2" ; Q500 ;Drag PIN Actuator
                  M950 P3 C"out3" ; Q500 ;ENA Nozzle 1/2 Up
                  M950 P4 C"out4" ; Q500 ;Xross cursor
                  M950 P5 C"out5" ; Q500 ;LED light
                  M950 P6 C"out6" ; Q500 ;Vacuum power

                  droftartsundefined 1 Reply Last reply Reply Quote 0
                  • droftartsundefined
                    droftarts administrators @tecno
                    last edited by

                    @tecno Did you reset or run config.g before running the macro again?

                    Ian

                    Bed-slinger - Mini5+ WiFi/1LC | RRP Fisher v1 - D2 WiFi | Polargraph - D2 WiFi | TronXY X5S - 6HC/Roto | CNC router - 6HC | Tractus3D T1250 - D2 Eth

                    tecnoundefined 1 Reply Last reply Reply Quote 0
                    • tecnoundefined
                      tecno @droftarts
                      last edited by

                      @droftarts

                      Yes

                      ae09a260-9fe7-4b60-8b3a-f813ac490774-image.png

                      droftartsundefined 1 Reply Last reply Reply Quote 0
                      • droftartsundefined
                        droftarts administrators @tecno
                        last edited by

                        @tecno Please post the macro.

                        Ian

                        Bed-slinger - Mini5+ WiFi/1LC | RRP Fisher v1 - D2 WiFi | Polargraph - D2 WiFi | TronXY X5S - 6HC/Roto | CNC router - 6HC | Tractus3D T1250 - D2 Eth

                        tecnoundefined 1 Reply Last reply Reply Quote 0
                        • tecnoundefined
                          tecno @droftarts
                          last edited by

                          @droftarts

                          M42 P2 S1
                          echo state.gpOut[1].pwm

                          M42 P2 S0.5
                          echo state.gpOut[1].pwm

                          M42 P2 S0
                          echo state.gpOut[1].pwm

                          droftartsundefined 1 Reply Last reply Reply Quote 0
                          • droftartsundefined
                            droftarts administrators @tecno
                            last edited by

                            @tecno said in 6XD I/O >> Faulty Driver 5:

                            echo state.gpOut[1].pwm

                            Wrong pin. Use:

                            echo state.gpOut[2].pwm

                            Ian

                            Bed-slinger - Mini5+ WiFi/1LC | RRP Fisher v1 - D2 WiFi | Polargraph - D2 WiFi | TronXY X5S - 6HC/Roto | CNC router - 6HC | Tractus3D T1250 - D2 Eth

                            tecnoundefined 1 Reply Last reply Reply Quote 0
                            • tecnoundefined
                              tecno @droftarts
                              last edited by

                              @droftarts

                              2024-09-23 13:52:19 M98 P"0:/macros/TEST"
                              1.000
                              0.500
                              0.000

                              Still DEAD output

                              droftartsundefined 1 Reply Last reply Reply Quote 0
                              • droftartsundefined
                                droftarts administrators @tecno
                                last edited by

                                @tecno said in 6XD I/O >> Faulty Driver 5:

                                Still DEAD output

                                How are you measuring that?

                                Ian

                                Bed-slinger - Mini5+ WiFi/1LC | RRP Fisher v1 - D2 WiFi | Polargraph - D2 WiFi | TronXY X5S - 6HC/Roto | CNC router - 6HC | Tractus3D T1250 - D2 Eth

                                tecnoundefined 1 Reply Last reply Reply Quote 0
                                • tecnoundefined
                                  tecno @droftarts
                                  last edited by

                                  @droftarts

                                  Now suddenly the OUT2 works, so go figure what is going on. Cold soldering seems far away but could be.
                                  Been take out plugs and inserted them testing.

                                  Whole day yesterday I did not see the LED light up but OUT1 and OUT0 was working.

                                  So DRIVER5 is still an issue here.

                                  tecnoundefined 1 Reply Last reply Reply Quote 0
                                  • tecnoundefined
                                    tecno @tecno
                                    last edited by

                                    @dc42 @droftarts

                                    Driver 5 is still DEAD !! How do you want to solve this?

                                    Cheers
                                    Bengt

                                    droftartsundefined 1 Reply Last reply Reply Quote 0
                                    • droftartsundefined
                                      droftarts administrators @tecno
                                      last edited by

                                      @tecno Can you post a good picture of both sides of the board, please. There's so very little to go wrong with these ports, I feel like it's something obvious. Did you check it with a multimeter, like I asked you to?

                                      out2 is still working correctly? Does the LED come on when active?

                                      Also, please send M586 and post the response, to see what network protocols are enabled, because your config doesn't have any set.

                                      Ian

                                      Bed-slinger - Mini5+ WiFi/1LC | RRP Fisher v1 - D2 WiFi | Polargraph - D2 WiFi | TronXY X5S - 6HC/Roto | CNC router - 6HC | Tractus3D T1250 - D2 Eth

                                      tecnoundefined 1 Reply Last reply Reply Quote 0
                                      • tecnoundefined
                                        tecno @droftarts
                                        last edited by

                                        @droftarts
                                        Hi Ian,
                                        Re multimeter = no as you can see it is not so accessible in the video. Later on today.
                                        https://photos.app.goo.gl/L56Zn79kaww26Q4U6

                                        out2 is OK

                                        2024-09-25 09:26:27 m586
                                        CORS disabled
                                        HTTP is enabled on port 80
                                        FTP is disabled
                                        TELNET is disabled
                                        Multicast Discovery is disabled
                                        MQTT is disabled

                                        Cheers
                                        Bengt

                                        tecnoundefined 1 Reply Last reply Reply Quote 0
                                        • tecnoundefined
                                          tecno @tecno
                                          last edited by

                                          Pictures of 6XD board https://photos.app.goo.gl/6ME2iY7CesXBjeKPA

                                          droftartsundefined 1 Reply Last reply Reply Quote 0
                                          • droftartsundefined
                                            droftarts administrators @tecno
                                            last edited by

                                            @tecno Were you able to do any tests with a multimeter? I can't see anything obvious from the pictures.

                                            Ian

                                            Bed-slinger - Mini5+ WiFi/1LC | RRP Fisher v1 - D2 WiFi | Polargraph - D2 WiFi | TronXY X5S - 6HC/Roto | CNC router - 6HC | Tractus3D T1250 - D2 Eth

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