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

    Duet3 Expansion Board 3HC - No CAN-Connection

    Scheduled Pinned Locked Moved
    Duet Hardware and wiring
    6
    50
    2.0k
    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.
    • JoergS5undefined
      JoergS5 @CR3D
      last edited by JoergS5

      @CR3D but now this could be valid? "Endstop switches connected to the main board cannot control motors on an expansion board. This is planned to be fixed in release 3.2.0." from https://duet3d.dozuki.com/Wiki/Duet_3_firmware_configuration_limitations

      Endstops are on the main board, the steppers for U and Y on the expansion board. X is both on main board. Would explain X working, U and Y not.

      1 Reply Last reply Reply Quote 0
      • CR3Dundefined
        CR3D
        last edited by

        Yes that´s right! But i tested the endstops on the Expansion board too! see the config i posted above...

        Christian from CR-3D
        Homepage:
        www.cr-3d.de

        Facebook:
        https://www.facebook.com/cr3d.official

        Our Discord Server
        https://discord.gg/SxRaPNuRdA

        Thingiverse Profile:
        https://www.thingiverse.com/cr-3d_official/about

        JoergS5undefined A Former User? 2 Replies Last reply Reply Quote 0
        • JoergS5undefined
          JoergS5 @CR3D
          last edited by JoergS5

          @CR3D I lost the overview, which config you mean. But maybe this was when you still used the S0 parameter? 000 sorry, now I saw it...

          yes, that's strange!

          1 Reply Last reply Reply Quote 0
          • A Former User?
            A Former User @CR3D
            last edited by

            @CR3D said in Duet3 Expansion Board 3HC - No CAN-Connection:

            But i tested the endstops on the Expansion board too!

            and they change state if you manipulate them by hand?

            CR3Dundefined 1 Reply Last reply Reply Quote 0
            • CR3Dundefined
              CR3D @A Former User
              last edited by

              @bearer

              Yes!

              Christian from CR-3D
              Homepage:
              www.cr-3d.de

              Facebook:
              https://www.facebook.com/cr3d.official

              Our Discord Server
              https://discord.gg/SxRaPNuRdA

              Thingiverse Profile:
              https://www.thingiverse.com/cr-3d_official/about

              1 Reply Last reply Reply Quote 0
              • CR3Dundefined
                CR3D
                last edited by

                If I set the Y-Axis to zero with G92 Y0, then i can move it...

                Christian from CR-3D
                Homepage:
                www.cr-3d.de

                Facebook:
                https://www.facebook.com/cr3d.official

                Our Discord Server
                https://discord.gg/SxRaPNuRdA

                Thingiverse Profile:
                https://www.thingiverse.com/cr-3d_official/about

                1 Reply Last reply Reply Quote 0
                • A Former User?
                  A Former User
                  last edited by

                  call a the doctor, an exorcist, or "just" dc42 methinks.

                  1 Reply Last reply Reply Quote 1
                  • CR3Dundefined
                    CR3D
                    last edited by

                    @dc42 perhabs you can help me ....

                    I have some other phenomenons too... for example i can not control Fan P3 for example...

                    Christian from CR-3D
                    Homepage:
                    www.cr-3d.de

                    Facebook:
                    https://www.facebook.com/cr3d.official

                    Our Discord Server
                    https://discord.gg/SxRaPNuRdA

                    Thingiverse Profile:
                    https://www.thingiverse.com/cr-3d_official/about

                    1 Reply Last reply Reply Quote 0
                    • deckingmanundefined
                      deckingman
                      last edited by

                      Just stumbled across this thread and I haven't read every post so might have missed something. However, I did notice quite a few things that are wrong with the config.g.

                      Firstly, the commands M350, M92, M566 M203, M201 and M906 are per axis, not per motor so all those colon separators need to be removed. (But keep the colons between the extruders because extruders are treated like individual axes).

                      Secondly, you have created an additional "U" axis but you have not set any of those above parameter for that U axis. So all those M350 through to M906 commands need to have U values as well as XYZ, and E.

                      Ian
                      https://somei3deas.wordpress.com/
                      https://www.youtube.com/@deckingman

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

                        Are you definitely running firmware 3.1.1 on the main board, and 3.1.0 on the expansion board? Use M115 to check.

                        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
                        • CR3Dundefined
                          CR3D @deckingman
                          last edited by

                          @deckingman said in Duet3 Expansion Board 3HC - No CAN-Connection:

                          Just stumbled across this thread and I haven't read every post so might have missed something. However, I did notice quite a few things that are wrong with the config.g.
                          Firstly, the commands M350, M92, M566 M203, M201 and M906 are per axis, not per motor so all those colon separators need to be removed. (But keep the colons between the extruders because extruders are treated like individual axes).
                          Secondly, you have created an additional "U" axis but you have not set any of those above parameter for that U axis. So all those M350 through to M906 commands need to have U values as well as XYZ, and E.

                          Ok... you are absolutely rigth! Shame on me!

                          I changed this now....

                          @dc42
                          You are also right... there is an older firmware ... now I want to Upload with Bossa but there is no connection... The board is erased now...

                          Christian from CR-3D
                          Homepage:
                          www.cr-3d.de

                          Facebook:
                          https://www.facebook.com/cr3d.official

                          Our Discord Server
                          https://discord.gg/SxRaPNuRdA

                          Thingiverse Profile:
                          https://www.thingiverse.com/cr-3d_official/about

                          A Former User? 1 Reply Last reply Reply Quote 0
                          • A Former User?
                            A Former User @CR3D
                            last edited by

                            @CR3D said in Duet3 Expansion Board 3HC - No CAN-Connection:

                            now I want to Upload with Bossa

                            thats usually a recovery option, and a few people have struggled due to bad usb cables and/or ports, as well as there seems to be a bug in Bossa affecting some users, but not all. M997 and/or DuetWebControl is the preferred option.

                            have you tried other cables/ports? can you try a different computer (/operating system)? some have found it helps using a USB hub.

                            I've generally found it works well from Raspberry Pi's, but others have also had encounters with the aforementioned bug there.

                            CR3Dundefined 1 Reply Last reply Reply Quote 0
                            • CR3Dundefined
                              CR3D @A Former User
                              last edited by

                              @bearer

                              Yes i tested a new USB Cable and it worked!

                              @dc42 Now the Main Board and the Expansion Board hast the newest firmware.... Thank you!

                              The Homing of the X-Axis and U-Axis works well now, but the Y-Axis doesn´t...

                              e8265571-8bf9-439b-8cbb-7a07f959dae2-image.png

                              the y-motors turn but do not yet react to the end stop. The Y axis works with 2 motors and an end stop (connected to 1.io2.in). the endstop is read out correctly, I have already checked that if I unplug it, of course it does not react, so it is properly connected. where do I still have the error here?

                              .

                              Christian from CR-3D
                              Homepage:
                              www.cr-3d.de

                              Facebook:
                              https://www.facebook.com/cr3d.official

                              Our Discord Server
                              https://discord.gg/SxRaPNuRdA

                              Thingiverse Profile:
                              https://www.thingiverse.com/cr-3d_official/about

                              1 Reply Last reply Reply Quote 0
                              • CR3Dundefined
                                CR3D
                                last edited by

                                Any ideas here?

                                I can not find a mistake till now....

                                Christian from CR-3D
                                Homepage:
                                www.cr-3d.de

                                Facebook:
                                https://www.facebook.com/cr3d.official

                                Our Discord Server
                                https://discord.gg/SxRaPNuRdA

                                Thingiverse Profile:
                                https://www.thingiverse.com/cr-3d_official/about

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

                                  Does DWC display the correct triggered/not triggered status for the Y endstop, or not?

                                  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

                                  CR3Dundefined 1 Reply Last reply Reply Quote 0
                                  • CR3Dundefined
                                    CR3D @dc42
                                    last edited by

                                    @dc42

                                    Yes... if i manually move the axis the signal is shown right...

                                    The sensor is correctly connected and also correctly mapped to the Y axis.

                                    The sensor is correctly connected and also correctly connected to the Y axis.

                                    If I actuate the limit switch of the Y axis before homing (i.e. put the axis in home position), the Y axis reacts and sets the axis as referenced.

                                    If the limit switch is not actuated when homing, so the axis should move in the direction of the limit switch, the message "Homing failed" appears. I configured it so that my bed moves down a distance first. If homing failed occurs, the bed moves back to the starting position but the Y motors continue to rotate and do not react to the limit switch.

                                    f4e13738-92a3-48b1-8590-9d08b2109311-image.png

                                    If I reference the axis manually with G92 Y0, I can also move the axis correctly.

                                    Everything seems to be correct, but the normal homing of the Y axis does not work.

                                    The config was created with the configuration tool. The homing of the other axes also works perfectly.

                                    ; homey.g
                                    ; called to home the Y axis
                                    ;
                                    ; generated by RepRapFirmware Configuration Tool v3.1.3 on Fri Jun 19 2020 21:08:48 GMT+0200 (Mitteleuropäische Sommerzeit)
                                    G91              ; relative positioning
                                    G1 H2 Z5 F6000   ; lift Z relative to current position
                                    G1 H1 Y455 F1800 ; move quickly to Y axis endstop and stop there (first pass)
                                    G1 H2 Y-5 F6000  ; go back a few mm
                                    G1 H1 Y455 F360  ; move slowly to Y axis endstop once more (second pass)
                                    G1 H2 Z-5 F6000  ; lower Z again
                                    G90              ; absolute positioning
                                    

                                    Christian from CR-3D
                                    Homepage:
                                    www.cr-3d.de

                                    Facebook:
                                    https://www.facebook.com/cr3d.official

                                    Our Discord Server
                                    https://discord.gg/SxRaPNuRdA

                                    Thingiverse Profile:
                                    https://www.thingiverse.com/cr-3d_official/about

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

                                      @CR3D said in Duet3 Expansion Board 3HC - No CAN-Connection:

                                      If the limit switch is not actuated when homing, so the axis should move in the direction of the limit switch, the message "Homing failed" appears. I configured it so that my bed moves down a distance first. If homing failed occurs, the bed moves back to the starting position but the Y motors continue to rotate and do not react to the limit switch.

                                      1. I'm not clear about which bit is going wrong, so please can you tell me:
                                      • If the switch is already actuated when you give the home command, does the axis move, do you get the "Homing failed" message, and if so does the message appear before or after the Y axis stops moving?
                                      • If the switch is not already actuated, does the axis move, if so what happens when you trigger the switch, and exactly when do you get the "Homing failed" message?
                                      1. Also, please confirm that M115 B0 reports firmware 3.1.1, and M115 B# (where # is the expansion board address) reports firmware 3.1.0.

                                      2. Please post your complete config.g file.

                                      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
                                      • CR3Dundefined
                                        CR3D
                                        last edited by

                                        The Firmware is the newest one:

                                        dd438fe7-8996-4045-88fe-184341b26635-image.png

                                        So for Case 1: Endstop triggerd before homing

                                        The engine turns very briefly in the direction away from the end stop (which is normal in my opinion)
                                        I get no Homing failed message

                                        Case 2: End stop not triggered before homing

                                        Z axis moves down
                                        Y-axis moves towards end stop
                                        Z axis moves up again
                                        Homing failed is displayed
                                        Y-axis continues to move and does not react!
                                        However, the screen shows that the state of the end stop is changing!

                                        config.g

                                        ; Configuration file for Duet 3 (firmware version 3)
                                        
                                        
                                        ; General preferences
                                        G90            ; send absolute coordinates...
                                        M82            ; and absolute extruder moves
                                        M550 P"I444-S" ; set printer name
                                        
                                        ; Network
                                        M552 S1        ; enable network 
                                        M586 P0 S1     ; enable HTTP
                                        M586 P1 S0     ; disable FTP
                                        M586 P2 S0     ; disable Telnet
                                        
                                        ; Drives
                                        
                                        M569 P0.0 S1   ; physical drive 0.0 goes forwards Z0
                                        M569 P0.1 S1   ; physical drive 0.1 goes forwards Z1
                                        M569 P0.2 S1   ; physical drive 0.2 goes forwards Z2
                                        M569 P0.3 S0   ; physical drive 0.3 goes backwards X1 (U)
                                        M569 P0.4 S0   ; physical drive 0.4 goes backwards E0
                                        M569 P0.5 S0   ; physical drive 0.5 goes backwards E1
                                        
                                        M569 P1.0 S0   ; physical drive 1.0 goes forwards X0
                                        M569 P1.1 S0   ; physical drive 1.0 goes backwards Y0
                                        M569 P1.2 S1   ; physical drive 1.0 goes forwards Y1
                                        
                                        
                                        M584 X1.0 Y1.1:1.2 U0.3 Z0.0:0.1:0.2 E0.4:0.5  ; set drive mapping
                                        M350 X16 Y16 U16 Z16 E16:16 I1  ; configure microstepping 
                                        M92 X80.00 Y35.56 U80 Z800 E415:415 ;set steps per mm
                                        M566 X900 Y900 U900 Z12 E120:120   ;set maximum instantaneous speed changes (mm/min)
                                        M203 X30000 Y30000 U30000 Z300 E9000:9000      ;set maximum speeds (mm/min)
                                        M201 X1000 Y1000 U1000 Z20 E1000:1000            ;set accelerations (mm/s^2)
                                        M906 X1400 Y4200 U1200 Z1200 E1000:1000 I30  ;set motor currents (mA)
                                        M84 S30               ; Set idle timeout
                                        
                                        ; Axis Limits
                                        M208 X0 Y0 U0 Z0 S1   ; set axis minima
                                        M208 X500 Y450 U600 Z420 S0         ; set axis maxima
                                        
                                        ; Endstops
                                        M574 X1 S1 P"!1.io1.in" ; active-high endstop for low end on X via pin io0.in
                                        M574 U2 S1 P"!io0.in" ; active-high endstop for high end on U via pin 1.io1.in
                                        M574 Y2 S1 P"!1.io2.in" ; active-high endstop for high end on Y via pin 1.io2.in
                                        
                                        
                                        
                                        ; Z-Probe (Piezo)
                                        M558 P5 I1 C"!io3.in" R1.0 H5 F200 6000 ; Z probe type -> Piezo
                                        
                                        M557 X120:400 Y20:400 P04:04      ; define mesh grid
                                        
                                        ; Heaters
                                        M308 S0 P"temp0" Y"thermistor" T100000 B4092          ; configure sensor 0 as thermistor on pin temp0
                                        M950 H0 C"out0" T0                                    ; create bed heater output on out0 and map it to sensor 0
                                        M307 H0 B0 S1.00                                      ; disable bang-bang mode for the bed heater and set PWM limit
                                        M140 H0                                               ; map heated bed to heater 0
                                        M143 H0 S120                                          ; set temperature limit for heater 0 to 120C
                                        
                                        M308 S1 P"temp1" Y"thermistor" T100000 B4725 C7.06e-8 ; configure sensor 1 as thermistor on pin temp1
                                        M950 H1 C"out1" T1                                    ; create nozzle heater output on out1 and map it to sensor 1
                                        M307 H1 B0 S1.00                                      ; disable bang-bang mode for heater  and set PWM limit
                                        
                                        M308 S2 P"temp2" Y"thermistor" T100000 B4725 C7.06e-8 ; configure sensor 2 as thermistor on pin temp2
                                        M950 H2 C"out2" T2                                    ; create nozzle heater output on out2 and map it to sensor 2
                                        M307 H2 B0 S1.00                                      ; disable bang-bang mode for heater  and set PWM limit
                                        
                                        ; Fans
                                        M950 F0 C"out7"                                   ; create fan 0 on pin out7 and set its frequency
                                        M106 P0 S0 H1 T50                                     ; set fan 0 value. Thermostatic control is turned on
                                        M950 F1 C"out8"                                  ; create fan 1 on pin out8 and set its frequency
                                        M106 P1 S1 H2 T50                                     ; set fan 1 value. Thermostatic control is turned on
                                        M950 F2 C"out4"                                   ; create fan 2 on pin out4 and set its frequency
                                        M106 P2 S1 H-1                                        ; set fan 2 value. Thermostatic control is turned off
                                        M950 F3 C"out5"                                  ; create fan 3 on pin out5 and set its frequency
                                        M106 P3 S1 H-1                                        ; set fan 3 value. Thermostatic control is turned off
                                        
                                        ; Tools
                                        M563 P0 S"Links" D0 H1 F0:2  ; define tool 0
                                        G10 P0 X0 Y0 Z0 S0 R0        ; set tool 0 axis offsets
                                        G10 P0 R0 S0                 ; active and standby temperatures 
                                        M563 P1 S"Rechts" D1 H2 X3 F1:3   ; define tool 1
                                        G10 P1 Y0 U0 Z0 S0 R0        ; set tool 1 axis offsets
                                        G10 P1 R0 S0                 ; active and standby temperatures 
                                        
                                        
                                        
                                        ; Custom settings are not defined
                                        
                                        ; Open Door Switch
                                        M581 T0 C"1.io3.in"  S0 C0		;trigger #2 (calls trigger2.g)
                                        
                                        
                                        ; LED
                                        M950 F3 C"out3" Q500  ; create fan 3 on pin out5 and set its frequency
                                        M106 P3 S1     ;set fan 3 value. Thermostatic control is turned off
                                        
                                        
                                        
                                        
                                        
                                        
                                        ; Miscellaneous
                                        
                                        M501          ; load saved parameters from non-volatile memory
                                        
                                        T0            ; select first tool
                                        
                                        M572 D0 S0.03
                                        

                                        Home.y

                                        ; homey.g
                                        ; called to home the Y axis
                                        ;
                                        ; generated by RepRapFirmware Configuration Tool v3.1.3 on Fri Jun 19 2020 21:08:48 GMT+0200 (Mitteleuropäische Sommerzeit)
                                        G91              ; relative positioning
                                        G1 H2 Z5 F6000   ; lift Z relative to current position
                                        G1 H1 Y455 F1800 ; move quickly to Y axis endstop and stop there (first pass)
                                        G1 H2 Y-5 F6000  ; go back a few mm
                                        G1 H1 Y455 F360  ; move slowly to Y axis endstop once more (second pass)
                                        G1 H2 Z-5 F6000  ; lower Z again
                                        G90              ; absolute positioning
                                        

                                        Christian from CR-3D
                                        Homepage:
                                        www.cr-3d.de

                                        Facebook:
                                        https://www.facebook.com/cr3d.official

                                        Our Discord Server
                                        https://discord.gg/SxRaPNuRdA

                                        Thingiverse Profile:
                                        https://www.thingiverse.com/cr-3d_official/about

                                        1 Reply Last reply Reply Quote 0
                                        • CR3Dundefined
                                          CR3D
                                          last edited by

                                          now i have the same phenomenon with the x axis. This axis is also controlled from the 3HC.
                                          Here it is a bit different ... the end stop reacts to the first hint, then reduces the speed and then it no longer reacts to the second trigger ...
                                          The other axes, which are controlled by the main board, work perfectly ...

                                          I really have no idea what is the problem here ...

                                          Christian from CR-3D
                                          Homepage:
                                          www.cr-3d.de

                                          Facebook:
                                          https://www.facebook.com/cr3d.official

                                          Our Discord Server
                                          https://discord.gg/SxRaPNuRdA

                                          Thingiverse Profile:
                                          https://www.thingiverse.com/cr-3d_official/about

                                          deckingmanundefined 1 Reply Last reply Reply Quote 0
                                          • deckingmanundefined
                                            deckingman @CR3D
                                            last edited by

                                            @CR3D Bit of a long shot here but try this. After the first G1 H1 (first pass), the axes will (should) be flagged as homed. So after that, you don't need to use the H2 parameter to move away from the end stop. Try taking out that H2 in those G1 Y-5 and X-5 moves( but you ned to leave it in for the Z moves).

                                            Ian
                                            https://somei3deas.wordpress.com/
                                            https://www.youtube.com/@deckingman

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