Support forPWM Conversion
-
@jay_s_uk RS485 is something we may support in future. We're already looking at making a daughterboard to support it.
-
Sadly, I'm not at the cutting edge of any of these technologies. I just want my machine to work with as few complications as possible - and the PWM converter is presenting those issues, i.e. not really controlling the speed.
As I said in the other thread, I'll check the voltage output from the converter to see what's being provided against what is needed.
I guess the overall answer to my question is a "No", then
-
@Nightowl the PWM converter is working well for some other users, so if you persevere you may get it working.
-
Thanks @dc42
Perseverence, by the way, was my school motto!
-
@dc42 said in Support forPWM Conversion:
...
TBH I'm amazed that spindle controllers still use something as primitive as a 0-10V analog input to control the motor speed. It would make much more sense for the spindle controller to provide an optically isolated PWM input.I guess it's the simplicity of analog OP-amps against microcontrollers. They don't need to boot up and init I/O stuff, they work right away.
While the PWM signal would need digital processing, right? -
@o_lampe said in Support forPWM Conversion:
While the PWM signal would need digital processing, right?
They could use a smoothing network, just as the PWM to analog converters do.
-
@dc42
Just some food for your thought, another open source project has implemented RS485 communication to spindles in a CNC controller called the CNC xPro v5. RRF is definitely better developed overall, and it could be very powerful to port that feature. I am guessing your daughter board would be using a MAX485 style uart to RS485? I have one of those modules and could test if you were to implement it.This is a board I have that I am planning on hooking up to a spare UART: UART to RS485 Board
The CNC xPRO V5 has a list of spindles that they have already integrated and you would be able to use those for references in your implementation (src/spindles folder). Obviously an RRF implementation would allow for the interface of way more than VFDs, and I think if done right could make it a very capable tool for more industrial hardware.
-
@timothyz i definitely agree. I have been asking for this feature for ages!
-
@jay_s_uk It's so close to being capable I can taste it, maybe to start, we could allow M118 to optionally send data instead of pure strings. Though, I really don't grasp the deeper functionality of M118 so I'm not really sure. It may be best to change M260, but dc42 always seems to know the inner details and how to make things work.
-
@timothyz M260 would be a better bet for sending binary data.
-
@dc42 said in Support forPWM Conversion:
@jay_s_uk RS485 is something we may support in future. We're already looking at making a daughterboard to support it.
FYI
Supporting RS485 also opens the door to controlling the output of a plasma cutting system from the cnc controller.
Here is the programmers refererence for Hypertherm RS485 implementation