Gotcha @drilling-vagueness, roger that! I’ll put in some changes and let you know once it’s done so you can tell me if it’s helped future users at all. Regarding the pin behaviour I’ll try to see if I can address that too.
When it comes to the universality of VFD control you’ve certainly hit the nail on the head with what different units expect. What a lot of people don’t know as well is that VFDs themselves are like mini, customizable systems so more than likely the 24V signal it’s expecting can also likely be customized to match the controller you’re wanting to use to control it. It all becomes such a large landscape of variables that it’s easy to become overwhelmed, especially with the typical state of VFD documentation. That’s why we tried to study all this and provide the two most common options, and also why out of those two options we still try to push people toward RS485 since it eliminates basically all those variables and makes wiring super easy too.
One way or another, I’d love to see a writeup whenever you do get things working. Any gotchas people run into if I feel we can elaborate docs to help point to those areas too then I think it benefits anyone even if they’re not necessarily planning to make the same setup as you. Thanks for the great back-and-forth thus far and have a great weekend!
Well after many side-quests, I determined that the spindle PWM leg on the output buffer chip U3 / SN74LVC2G17 of my SLB had failed - it came off as I was replacing the part. This is what caused some of my confusion while trying to understand all of this. Finally replaced today and I think we’re back in business.
I’ve subsequently figured out how to program a VFD to enable/disable based on PWM alone. I guess at some point I’ll see if I can get the direction signal to work as well, but for now I think this thread is resolved.
As promised, here’s a work-in-progress writeup for converting a C3D Shapeoko 5 Pro 4x4 table to utilize a SuperLongBoard controller. After waaaay too long, I’m almost at parity with the stock controller, just the front plate / probe / tool lenth sensor left to go
Hopefully these docs help someone else make this conversion with way less headaches.
Wow what a journey that is looking to be so far
, I’m very impressed you’ve been able to push through, and also thankful you’ve noted down the friction points - hopefully I’ll have the time to add it to our SLB transition docs sometime. Sucks about the PWM spindle. It really grinded my gears trying to look around at all the things that VFDs expected and they were all over the place, which is what was so appealing about going for MODBUS over RS485 instead. It’s interesting to see the % deviation you measured, perhaps there’s something more to that, but your workaround seems valid as a fix as well.
Keep on keeping on! And if you have any future questions to ask you know to ask 'em. The TLS stuff should be a fully solved problem at this point since I’ve seen many other threads on the topic
Happy Friday
Yep, will definitely be looking for modbus support for my next spindle. Trying to control all of this via PWM just feels so … 80s (not that RS485 is much newer).
The TLS should be relatively straightforward (I hope) aside from yet another interposer board that I may need to bypass, as well as the ganged use of TLS and probe in a stock C3D setup. I guess if you’re really hard up on inputs on your uC that makes sense, but in 2020+ aren’t digital inputs basically free??