Originally Posted by
A_Camera
Definitely. Just that RS485 is the simplest and very reliable and cheap solution. I dislike RS232 and Ethernet is a bit of an overkill for hobby use, mainly because it demands a more expensive interface to the VFD. My VFD has only an RS485, so the most straight forward interface is a tiny cheap dongle in the PC USB port to convert it to RS485 and then two thin wires to the VFD.
Yes, but the greatest delay is in the VFD and the acceleration/deceleration time, so the . Also remember that the 0-10V is pretty inaccurate and non-linear, at least in the budget version of DA converters, so in the end, I still think Modbus is better. Besides, if the delay is a problem than Ethernet Modbus should be the solution, with that the delay should be negligible. But...
Even with ordinary RS485 or RS232 you can ignore the Modbus delay, at least according to my calculation.
You only need to send 11 bytes to control speed/on/off/CW/CCW commands. 11 bytes = 88 bits + 33 bits for start and stop bits between each bytes, total 121 bits per message. At a rate of 38400bps you will be able to send 317 messages every second, which is 3.15ms per message. Using low speed serial connection (not every VFD can handle 38400bps), say at a more common 9600bps, that message rate is 1/4th, so the message time is 4 x 3.15 = 12.6ms. So, in theory the worst case delay is 12.6ms caused by the serial transfer of command. I don't think that this is going to cause any problems since the accelerating/decelerating changing direction takes a lot more, even with braking resistor.