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

Trouble setting CAN Addresses for two 1HCL Boards.

Scheduled Pinned Locked Moved Solved
General Discussion
5
20
739
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
    chrishamm administrators @toddwagner
    last edited by 18 Dec 2022, 16:00

    @toddwagner Make sure your Duet board is on the latest v3.4.5. Then upgrade the firmware on each expansion board by sending M997 B50 (or B123 depending on what board you have powered up). You can also use the CAN Manager plugin once you have updated the boards.

    Duet software engineer

    undefined 1 Reply Last reply 18 Dec 2022, 18:21 Reply Quote 0
    • undefined
      toddwagner @chrishamm
      last edited by 18 Dec 2022, 18:21

      @chrishamm I updated the Duet board to 3.4.5 and the 1HCLs to 3.4.4.

      Now board one is recognized as b50 and reports 3.4.4. Board two is not being recognized as either 50 or 123.

      eac81e6d-38d7-40cf-b766-2372bd54a62f-image.png

      The plugin isn't working with my machine at the moment, trying to get it installed.

      undefined undefined 2 Replies Last reply 18 Dec 2022, 20:53 Reply Quote 0
      • undefined
        CNCModeller @toddwagner
        last edited by 18 Dec 2022, 20:53

        @toddwagner there is a can bus address reset jumper at the rear of the two rj11 sockets so you can reset the ID to default. See commissioning in the link below.

        https://docs.duet3d.com/Duet3D_hardware/Duet_3_family/Duet_3_Expansion_1HCL

        Hopefully that will get you back to basics!

        Polar Duet3 Mini + 1HCL
        https://youtube.com/playlist?list=PLWjZVEdMv1BY82izahK45qKh-hp3NFkix
        Wanhao D4S: Duet2
        https://forum.duet3d.com/post/296755
        K40 Laser, Duet2
        https://forum.duet3d.com/post/312082
        Wanhao D5S
        https://www.youtube.com/CNCModellerUK

        1 Reply Last reply Reply Quote 2
        • undefined
          dc42 administrators @toddwagner
          last edited by 19 Dec 2022, 14:55

          @toddwagner assuming the Status LEDs on both EXP1HCL boards are flashing in sync with the main board, both boards should show up in the 'boards' section of the Object Model Browser in DWC unless they have the same address.

          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 21 Dec 2022, 15:08 Reply Quote 0
          • undefined
            toddwagner @dc42
            last edited by 21 Dec 2022, 15:08

            @dc42 Thanks, I’ll take a look. Do I need to have the CAN pass through terminated at each board to set the addresses, then remove the jumpers when I hook them up in series?

            undefined undefined 2 Replies Last reply 21 Dec 2022, 15:10 Reply Quote 0
            • undefined
              jay_s_uk @toddwagner
              last edited by 21 Dec 2022, 15:10

              @toddwagner yes. the termination goes on the last board on the bus, so if connecting individually, they should have the termination

              Owns various duet boards and is the main wiki maintainer for the Teamgloomy LPC/STM32 port of RRF. Assume I'm running whatever the latest beta/stable build is

              1 Reply Last reply Reply Quote 0
              • undefined
                dc42 administrators @toddwagner
                last edited by dc42 21 Dec 2022, 16:01

                @toddwagner yes, although in practice if the cables are short then it's not critical. If the command finishes and doesn't report an error, then you can assume it has been executed.

                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 22 Dec 2022, 14:16 Reply Quote 1
                • undefined
                  toddwagner @dc42
                  last edited by 22 Dec 2022, 14:16

                  @dc42 @jay_s_uk Thanks for the help so far. I have connected my 1HCL to the Duet 3 mini and have the termination jumpers in place. The Object Model reports a board at CAN 123 but running a M122 B123 reports a response timeout for that address. 1f7b1841-0ea6-4165-b436-fbd1340ba30f-image.png

                  undefined 1 Reply Last reply 22 Dec 2022, 14:21 Reply Quote 0
                  • undefined
                    jay_s_uk @toddwagner
                    last edited by 22 Dec 2022, 14:21

                    @toddwagner what type and length of cable are you using to connect the two?

                    Owns various duet boards and is the main wiki maintainer for the Teamgloomy LPC/STM32 port of RRF. Assume I'm running whatever the latest beta/stable build is

                    undefined 1 Reply Last reply 22 Dec 2022, 14:43 Reply Quote 0
                    • undefined
                      toddwagner @jay_s_uk
                      last edited by 22 Dec 2022, 14:43

                      @jay_s_uk I cored some Ethernet cable and am using one twisted pair of wire. 6” in length.

                      undefined 1 Reply Last reply 22 Dec 2022, 16:13 Reply Quote 0
                      • undefined
                        dc42 administrators @toddwagner
                        last edited by 22 Dec 2022, 16:13

                        @toddwagner are the 1HCL and the main board running compatible firmware versions? Check in the object model.

                        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 24 Dec 2022, 15:52 Reply Quote 0
                        • undefined
                          toddwagner @dc42
                          last edited by toddwagner 24 Dec 2022, 15:52

                          @dc42 This is what I am receiving in the object model for both boards. I did do the firmware update before they stopped responding so they should be compatible.
                          702f5386-1b6a-4738-9eaf-2eaa7b6f6edb-image.png
                          I just did a address reset on both boards, but I am still not able to communicate with the board with M122, M115, or M997.

                          When the boards were communicating with me, it said the 12v rail was at 18v. Does that contribute anything to the solution search?

                          undefined 1 Reply Last reply 25 Dec 2022, 10:17 Reply Quote 0
                          • undefined
                            dc42 administrators @toddwagner
                            last edited by 25 Dec 2022, 10:17

                            @toddwagner said in Trouble setting CAN Addresses for two 1HCL Boards.:

                            When the boards were communicating with me, it said the 12v rail was at 18v. Does that contribute anything to the solution search?

                            Interesting! Does the other board report the correct 12V voltage?

                            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 25 Dec 2022, 18:04 Reply Quote 0
                            • undefined
                              toddwagner @dc42
                              last edited by 25 Dec 2022, 18:04

                              @dc42 both boards had said 18v for the 12v rail. I am having this connection issue with both boards currently.

                              undefined 1 Reply Last reply 1 Jan 2023, 15:18 Reply Quote 0
                              • undefined
                                dc42 administrators @toddwagner
                                last edited by dc42 1 Jan 2023, 15:19 1 Jan 2023, 15:18

                                @toddwagner I'm sorry for the delay since my previous reply.

                                Are you able to connect to one board via CAN if you have nothing connected to the board except CAN and VIN?

                                Which country are you in?

                                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 Jan 2023, 16:26 Reply Quote 0
                                • undefined
                                  toddwagner @dc42
                                  last edited by 3 Jan 2023, 16:26

                                  @dc42 I have disconnected everything from the Mini 3+ and from the 1HCL boards except for power and the CAN cable. I am still getting a board reported at 123 on the object model but when I send a M115 B123 I receive an error out.

                                  I am in the US.

                                  undefined 1 Reply Last reply 3 Jan 2023, 18:02 Reply Quote 0
                                  • undefined
                                    dc42 administrators @toddwagner
                                    last edited by 3 Jan 2023, 18:02

                                    @toddwagner the fact that both boards show the same symptoms suggests that the problem is not a hardware error. However, you are running firmware 3.4.5 on a Duet 3 Mini. The initial release of this had the incorrect firmware binary in the zip file. Therefore I would like you to reinstall firmware as follows:

                                    1. Download the Duet3Firmware-Mini5plus.bin and Duet3Firmware-EXP1HCL.bin files from the 3.4.5 release on github via DWC. Decline the offer to update firmware.

                                    2. Run M997 to update the firmware on the Duet 3 Mini.

                                    3. Fit the CAN reset jumper to one of the 1HCL boards and then power the system up, so that it loads new firmware over CAN. When it has completed, see if you can communicate with it. Remove the jumper before you power up again.

                                    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 Jan 2023, 20:02 Reply Quote 0
                                    • undefined
                                      toddwagner @dc42
                                      last edited by 3 Jan 2023, 20:02

                                      @dc42 said in Trouble setting CAN Addresses for two 1HCL Boards.:

                                      Thanks! That procedure worked perfectly. I am now happily sitting with the HCL's at CAN 50 and 51!

                                      You're the best.

                                      undefined 1 Reply Last reply 4 Jan 2023, 08:19 Reply Quote 2
                                      • undefined Phaedrux marked this topic as a question 3 Jan 2023, 20:03
                                      • undefined Phaedrux has marked this topic as solved 3 Jan 2023, 20:03
                                      • undefined
                                        dc42 administrators @toddwagner
                                        last edited by 4 Jan 2023, 08:19

                                        @toddwagner I'm glad it worked for you, and I'm sorry it took so long to get here.

                                        Does M122 B50 or B51 report the correct 12V rail voltage now?

                                        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 dlein referenced this topic 24 May 2024, 06:02
                                        11 out of 20
                                        • First post
                                          11/20
                                          Last post
                                        Unless otherwise noted, all forum content is licensed under CC-BY-SA