3HC Documenation
-
https://duet3d.dozuki.com/Wiki/CAN_connection#Section_Setting_CAN_addresses
You'll need to configure the dip switches on the 3HC to define the address of the board. By default it's 126, but it makes more sense to configure it to 1 if it's your first and only expansion board.
Then in your config.g you need to modify any config commands that target that board.
For example, in M584 to setup a driver as X on the expansion board you would use M584 X1.0
This is automatically done by the config tool if you've chosen to add it and assign things to it. And this seems to be the case because your config already has similar things:
M950 F3 C"1.out7" Q500 ; create fan 3 on pin 1.out7 and set its frequency
1.out7 for instance.
Once you set the dip switches to set the can address to 1 your config shouldn't give so many errors when you send M98 P"config.g"
Hope that makes sense.
-
I have it set that way I think? Pin one is on and pin 2,3,4 are off. Is that not correct?
-
-
@Work-Horse-XL also the Diag LED just flashes rapidly and never pauses.
-
You're using SBC mode, can you please try updating?
sudo apt update && sudo apt full-upgrade
That looks correct in the photo.
-
Is that where you hook a keyboard,mouse and monitor to the pi and use the tremial window after you put the files on the sd card with DWC? I'm powering the pi with the duet3. Will that work for power? I do not really understand the PI process. I just use it for WIFI on the board.
Thank you for the help.
-
You don't have to connect a keyboard, mouse, monitor to the Pi. You can also use remote terminal software (SSH) to connect to the command line terminal and update it that way.
Powering the Pi from the Duet may work for a Pi3, but is not recommended for a Pi4, or if you have any USB peripherals attached to the Pi.
I suggest you review the getting started guides
https://duet3d.dozuki.com/Wiki/Getting_Started_With_Duet_3
https://duet3d.dozuki.com/Wiki/SBC_Setup_for_Duet_3 -
@Phaedrux I have update the main board to 3.2 and put all the 3HC files in the system folder. There is still no can bus communication to the 3HC board.
-
Did the can bus cable come with the Duet or was it procured separately?
-
@Phaedrux The cable did not come with it but that was the problem. It was bad. I found a 15' cable and hooked it up and it is working now. Wow! what a mess. Thank you for helping me.
-
Glad you got it working.