Toolboard onboard configuration
-
I'm just curious if it's plausible to store a tool's configuration file on the Duet Toolboard itself through the DWC?
While I know I can have several configurations stored on the duet SDCard, I'm moving to streamline my toolsets. There are situations where I might pull a tool out, say a "Revo6," and swap in a tool such as a Mosquito into the same location. While I could utilize a different CAN address, the complication comes with determining which tool slot it's in specifically.
Without having to add more hardware to detect tools in the slot. I thought it might work to be able to pull the config straight from the tool and utilize the CAN addresses to assign the tool numbers accordingly.I'm already detecting if a tool is loaded successfully using a TCRT5000 on my tool changer so it seems a bit overkill to have to now detect the tool in the tool slot. But that might be the next direction I go.
-
@Gamefanatic3D no, there's no way to store the toolboards information on the toolboard itself.
You could have multiple configs. See M505 -
@Gamefanatic3D as @jay_s_uk said there is currently no facility to store information on a tool board. We are looking to provide a way to store information in future. Only a small amount of information would be stored, for example enough to identify which of several tools is loaded.
Meanwhile, if your tool boards have a spare analog input (the same one on each tool board) then you arrange for different voltages to be present on that pin for each tool board. For example, if the TEMP1 pin is free then you can connect a different value resistor across it on each tool board. Use the same CAN address for all the tool boards. Configure the TEMP1 pin as a temperature sensor, then read the "temperature" of that sensor to determine which tool is connected and configure it appropriately.
-
@dc42 That's an interesting idea. I do have io3 available on each board that I could put to some use.