Help in errors between Duet 3 6hc & 1XD
-
Hi,
I have Duet 3 6hc connected to four 1XD that is connected to Odrive and motor. To set the CAN addresses, I have been powering up one at a time and connected to the CAN bus.
When i sent M115 B122, i got an error, so I tried placing a jumper on the CAN_RST pins and powering up, then powering down and removing the jumper before powering up again.Nevertheless, I am still getting the error and noticed that Green LED is not on. This mean the CAN-FD bus is not active or the LED is malfunctioning? V5 Red LED has solid light on, and STATUS Red LED blinks quite fast.
Do you have advice in setting up the communication between Duet 3 6hc & 1XD?
-
@Sophiechka The red status LED should be blinking in time with the 1HZ status LED on the 6HC. I would start with one board plugged in to the 6HC, without the other boards on the bus. and with the can termination jumpers fitted on the single 1XD. See if you get communication with that setup. If not then check the CAN-FD wiring to ensure _H foes to _H and _L goes to _L
-
@Sophiechka I see you have started another thread here:
https://forum.duet3d.com/topic/31862/how-to-fix-led-behaviour-data-not-going-through-can
I have locked that and coped your post content here:
Sophiechka 20 Mar 2023, 21:12
Hi,
I have Duet 3 Expansion 1XD connected to Duet 3 Mainboard 6HC.DWC wasn't recognising the 1XD, I thought i has something to do with can address, so I have tried to reset the 1XD to factory setting with jumper. But i don't think it got reset as during the process, I got LED behaviour and error codes - 4 times flesh.
The power of the main board is fine, and the status LED on the main board works, flashing per second. I think the CAN connection between the main board and the expansion board is ok as well. This is RJ11 I am using. it is not the High-Speed ADSL cables but i read this is not a problem. When I tested it with a cable test, it worked.
when I restarted the board without the jumper , status LED on the 1XD was flashing continuously and rapidly. DWC doesn't recognised 1XD.
What can i do to fix this?
-
-
@Sophiechka it does look like the cable is wired correctly. Please try what I mentioned above and have only 1 of the 1XDs on the bus at one with its termination resistors set.
Also how long is the cable?
-
@Sophiechka from https://docs.duet3d.com/en/User_manual/Machine_configuration/CAN_connection the error code (4 flashes) means that the tool board requested a firmware block but the main board didn't respond. Assuming you didn't get a message in DWC saying that the firmware file wasn't found on the main board, this does indeed indicate a CAN connection issue. So I suggest you test the 1XD boards one at a time, as Tony suggested.
-
Hi, Thank you for the advice.
I have managed to changed all the address of the 1XD and they all work when then are individually connected to the main board. But when i connect then all four of them together, first two works (first image), LED from them sync with the main board and i can find them through DWC. But the other two 1XD board doesn't work. LED from these boards flash rapidly and continuously. I believe the wiring is correct. could there be another reason? -
@Sophiechka the possible reasons for that behaviour that occur to me are:
- Bad cable between the last working board and the first non working board. Try swapping that cable with a different one.
- Bad solder joint on one of the sockets that cable is plugged into. Do those joints look OK?
- Bent contacts in one of those sockets
Also please confirm that you now have the termination jumpers installed on the last 1XD only.
-
@dc42
hi,
Got it to work. There was issue with bent contacts in one of those sockets.
Thank you for the advice. -
@Sophiechka thanks for confirming the issue. will marked this as resolved.
-
-