Toolboard 1LC V1.2 will not connect
-
@Jimok
your photos appear to show yellow and white at the mainboard end connected to the can header rather than the red and black wires.
are you able to confirm this?
I suggest checking against this image here https://docs.duet3d.com/en/Duet3D_hardware/Duet_3_family/Duet_3_Toolboard_1LC#can-connection-1 -
Oh.... Poo
It appears that the cable that came with my toolboard may have been wired differently to the cable in the documentation?
My blue, I should have looked more closely at the instructions
I will rewire in the morning and have another go.....
-
@Jimok it doesn't matter whether you use the 2 wires at one end of the connector or the two wires at the other; but you do need to get CANH and CANL the right way round. Try swapping the red and black wires. You can use fine tip tweezers to lift the plastic barb in the connector and slide the pin out. Do that for both pins, then re-insert them swapped over.
-
@Jimok
Thanks.
It appears that in the documentation that the connector is inverted from the way it actually plugs in. I made my cables on the bench and just made it as per the photo, and red, black.
I did check the resitance across the yellow and white wires to confirm the integrity of my soldering and the resistance is 120 Ohms. I'm assuming that the resistance across the other two wires is the same then?
Hopefully this will be a simple fix and I can grow back some of whatever hair I have left! -
@Jimok on the TOOL1LC pins 1 and 3 of that socket are connected together, and pins 2 and 4 are connected together.
-
Good Morning,
I have been through and checked every thing again and still the same issue, "M122 B121
Error: M122: Response timeout: CAN addr 121, req type 6024, RID=15"
I believe I had it wired correctly in the first place. CAN-H on the mainboard to CAN-H Pin 4 onthe Toolboard, CAN-L on the mainboard to CAN-L pin 3 on the toolboard.
I also connected to pins 1 and 2 with the same result.
I have checked contrinuity of the cable from the back side of the mainboard to the back side of the toolboard to rule out connector issues and all good.
Resistance on both wires on the cable is 1 Ohm.
On the toolboard, Pins 1 & 3, and 2 & 4 are connected together and the resistance across each pair is 120 Ohms.
I have a new toolboard coming from the dealer in Melbourne and hopefully it will be here on Friday. (I am right at the other end of the country!). -
@Jimok you haven't shown how the read and black wires connect to the orange/white wires f the CAN cable, so I can't check that they are connected the right way round.
Does the Status LED on the Duet blink once a second, and the Status LED on the tool board blink faster than that?
-
@Jimok
Good Evening dc42,
I can assure you that the red wire is connected to the orange wire of the CAN cable and the black wire is connected to the white wire of the CAN cable.
As a diesel fitter by trade, I have some experience with CANBUS systems in automotive, mining, industrial and agricultural eqipment and a better than average understanding of AC and DC electrical systems. Firmware and g-code is something I am still learning. I have had four 3D printers, including 2 that I built myself, albeit with proprietary code, (Flashforge, Lerdge), so this is really my first foray into open source.
I have checked the wiring multiple times and can assure you that CAN -H is connected to CAN-H and CAN-L is connected to CAN-L.
If you need more photos, I can get them tomorrow as I have shut the shed up for tonight.
As best my tired old eyes can tell, the LED's on the mainboard and the Toolboard are flashing in sync, approximately once a second, with maybe a slight lag on the toolboard.
The only time the LED's are not in sync is if I attempt to do a factory reset by pressing both buttons on the toolboard at power-up, and this only lasts for a few seconds.
Always comes back to the timeout error as in my previous post.
I have wired the DUET board to run the extruder etc. in the conventional manner and whilst not having printed anything yet, is running as expected. -
@Jimok have you tried resetting the toolboard by holding both buttons down when powering it up?
-
@Jimok said in Toolboard 1LC V1.2 will not connect:
As best my tired old eyes can tell, the LED's on the mainboard and the Toolboard are flashing in sync, approximately once a second, with maybe a slight lag on the toolboard.
If they are flashing in sync then the CAN connection is working. If you unplug the CAN cable (at the Duet is easiest) then you should see the LED on the tool board flashing much faster.
Does M115 B121 also return a CAN timeout message?
Perhaps the tool board is not at address 121. If you send M409 K"boards" does the response list just board 0 (the Duet main board) or does it list the tool board too?
-
@jay_s_uk yep, seems like hundreds of times!
-
@dc42 said in Toolboard 1LC V1.2 will not connect:
If they are flashing in sync then the CAN connection is working. If you unplug the CAN cable (at the Duet is easiest) then you should see the LED on the tool board flashing much faster.
It is only the "STATUS" LED that is flashing. I have not once once seen the "ACT" LED (Green?) light up. I will try disconnecting the cable at the DUET board tommorow.
@dc42 said in Toolboard 1LC V1.2 will not connect:
Does M115 B121 also return a CAN timeout message?
Yes, every time.
@dc42 said in Toolboard 1LC V1.2 will not connect:
Perhaps the tool board is not at address 121. If you send M409 K"boards" does the response list just board 0 (the Duet main board) or does it list the tool board too?
I will try this tomorrow as well.
-
Good Evening,
I think I can gladly report that this issue is solved.
As suggested by dc42..@dc42 said in Toolboard 1LC V1.2 will not connect:
Perhaps the tool board is not at address 121. If you send M409 K"boards" does the response list just board 0 (the Duet main board) or does it list the tool board too?
Well it did recognise the board and its address was 20.
So looking back through the documentation and specifically,Set the CAN address
Send command M115 B# to verify that the main board can communicate with the Toolboard, where # is the original CAN address (normally 121)
Send command M952 B# A## where ## is the new address you want to use. We suggest you use addresses starting at 20 for Toolboards. So for the first Toolboard, if your new CAN board was at address 121, send M952 B121 A20.
Power the system down and up again, or send M999 B121. This will cause the Toolboard to restart with the new address.
Send command M122 B20 (or whatever address you chose) to verify that you can communicate with the Toolboard at its new address
You can now power up the next Toolboard and commission it in the same way, choosing a different CAN address for it.Thinking back, I would have followed the documentation and changed the address to 20 and then promptly forgot that I had done it.
This led to countless hours of trying to sort the problem out, the cost of another toolboard and taking up others time to try and solve a problem of my own making!Anyway, thanks to dc42 and jay-s-uk for the help and please dont curse me too much!
-
-
-
@Jimok no cursing here, just glad you got sorted!