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

      How do I connect outputs from 6XD to this output driver card?

      From the old controller on this P'n'P machine outputs are on 8-pin ribboncable where one is 24V

      77b41fbe-54ae-490a-b1d1-b3ff2474171a-image.png

      24V via 3.9K resistor to A
      I/O signals to C

      So how to connect to 6XD outputs.

      Cheers
      Bengt

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

        @tecno please clarify what you are asking. Is the PnP output a standard 24V-capabhle NPN or PNP output, or something different? Does the opto isolator you pictured represent one that is in the PnP machine, or one you intend to add, or one already on the 6HC? Why does it have two pins labelled C?

        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

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

          @dc42
          C = pin 2

          PXL_20240917_085540092.jpg PXL_20240917_085626813.jpg

          The optocouplers are on the existing PCB on this PnP machine. All I/O are 24 V

          So I assume I can use io1.out and use io1.in for home etc

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

            Anybody care to advise?

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

              @tecno I need a bit of context. What does this PCB actually do? Does it turn something(s) on and off? Please post an image of the other side of the board, too.

              I'd guess it is an output board, as the optocouplers look like they switch MOSFETs, and control whatever is connected on the green headers on the right. There are 8 pins on the white connector, presumably +V on one pin, and 7 pins to switch each of the 7 optocouplers to GND. There are 9 output terminals; presumably +V and GND, plus the 7 outputs from the MOSFETs?

              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,
                You have observed the board correctly. This bord gets outputsignals from controller via the ribboncable.
                Controlls nozzle vacuum, pin feeder solenoid Air controll, Xross cursor, LED light and vacuum power.

                Cheers
                Bengt

                tecnoundefined droftartsundefined 2 Replies Last reply Reply Quote 0
                • tecnoundefined
                  tecno @tecno
                  last edited by

                  PXL_20240917_085540092.jpg

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

                    @tecno If you can look up the product number of the optocouplers (I can't see the part number on them from you pictures), it may be they don't need 24V to turn them on and off. However, if it's wired like this:

                    There are 8 pins on the white connector, presumably +V on one pin, and 7 pins to switch each of the 7 optocouplers to GND.

                    and

                    C = pin 2

                    i.e. the R22 optocoupler C pin goes to the second pin down on the connector, the first being +V and shared to the A pin on all Optocouplers (please check if there's continuity between pin 1 and the A pin on each optocoupler with a multimeter), then you need to switch the C pin on each optocoupler to GND, which isn't what the io.out pins do (they output a 3.3V signal). I think you'll need to use the OUT pins for that, which do switch to GND. They should also all be able to cope with 24V.

                    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 2 Replies Last reply Reply Quote 0
                    • tecnoundefined
                      tecno @droftarts
                      last edited by

                      @droftarts

                      C2M11

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

                        @droftarts said in 6XD I/O:

                        They should also all be able to cope with 24V.

                        That confirms my question, just wanted to be sure and safe 🙂

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

                          @tecno said in 6XD I/O:

                          C2M11

                          I can't find any optocoupler with that marking.

                          That confirms my question, just wanted to be sure and safe 🙂

                          That's the OUT pins, though, not the IO.out pins, just to be clear! IO.out pins are only 3.3V tolerant, wiring 24V to them will destroy the MCU.

                          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
                            6f05f2d8-26cb-4ade-a342-882d8f31fd3b-image.png

                            These 3 only?

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

                              @tecno You have the 6x fan outputs as well, 3x 4-pin, 3x 2-pin.

                              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

                                Thanks Ian, appreciated.

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

                                  @droftarts
                                  ccb296f8-231c-44d9-9969-2a3087b585e8-image.png

                                  io1.in is capable to take 24V ??

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

                                    @tecno Yes, but io#.in pins don't switch to GND. They are for reading a voltage input, eg endstop, or digital input, eg communications. See https://docs.duet3d.com/Duet3D_hardware/Duet_3_family/Duet_3_Mainboard_6XD_Hardware_Overview#inputoutput-port-capabilities

                                    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
                                      OK, will have to sort out my input I/O's and see how they work.

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

                                        @droftarts

                                        All limits are OPTO's X, Y, Z1 and Z2 + one more that I can not figure out is Lz

                                        Also Emergency switch did go to old driver.

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

                                          @tecno They can connect to the IO headers. See https://docs.duet3d.com/en/User_manual/Connecting_hardware/Sensors_endstops#h-33v-compatible-optical-endstop
                                          You can use 3.3V or 5V for them. Or do they need 24V too?

                                          Emergency stop can go to any IO input, too. See https://docs.duet3d.com/en/User_manual/Connecting_hardware/IO_E_stop

                                          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

                                            24V ;(

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