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

    6XD I/O >> Issue solved

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

      @droftarts

      3.5.1

      No homeing yet M564 H0

      Edit config

      ;***Axis/Drives

      M569 P0 S0 T5:5:10:10 ; X
      M569 P1 S0 T5:5:10:10 ; Y
      M569 P2 S0 T5:5:10:10 ; RECEIVE MATERIAL
      M569 P3 S1 T5:5:10:10 ; NOZZLE 1 OR 2
      M569 P4 S1 T5:5:10:10 ; ROTATE NOZZLE 2
      M569 P5 S1 T5:5:10:10 ; ROTATE NOZZLE 1

      M584 X0 R0 ; X LIN
      M584 Y1 R0 ; Y LIN
      M584 C2 R0 ; RECEIVE MATERIAL
      M584 Z3 R1 ; NOZZLE 1 OR 2
      M584 A4 R1 ; ROTATE NOZZLE 2
      M584 B5 R1 ; ROTATE NOZZLE 1

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

        @tecno you changed the S0/S1 in M569, I said to add it to M584.

        Please answer these questions:
        You swapped the cable, external stepper driver and motor from 6XD driver 4, where it was working, to driver 5, where it didn't work?
        When you send a move command, does the axis value in DWC change?
        Is any error reported?
        Are all the external stepper drivers the same?
        What make and model are they?

        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 tecno

          @droftarts
          Hi Ian,
          Will try to get my Swedinglish on track 🙂

          6DX Chinese driver Chinese motor

          Driver 5 ---------------A-------------------------A NO GO
          Driver 4 ---------------B-------------------------B WORKING OK

          Cable from Driver 4 to Chinese driver A Working OK
          Cable from Driver 5 to Chinese driver B NO GO

          Switching cables same result

          DWC = yes

          No errors

          External drivers are the same as are motors, rotating nozzles No model on these drivers.

          There is a blue LED showing direction, goes on/off changing direction. But not from Driver 5

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

            @droftarts

            ;***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

            How can I check ON/OFF on above outputs?

            droftartsundefined tecnoundefined 2 Replies Last reply Reply Quote 0
            • 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
                                            • First post
                                              Last post
                                            Unless otherwise noted, all forum content is licensed under CC-BY-SA