Quote Originally Posted by Dan911 View Post
I didn't no much about Modbus standard until I started on this project, but isn't Modbus standard just a universal form of communication??
That's just it. Modbus is a well defined standard, but the HY is NOT talking Modbus, it is talking a misinterpreted Modbus. If you need to send read commands to write and must create a special interface to handle that then that is totally wrong and twisted and is NOT Modbus. That's why you could not make it work with UCCNC or Mach3. Both of those have Modbus interfaces but both assumes that the connected units use Modbus, not a twisted form of communication.

Quote Originally Posted by Dan911 View Post
If I modified the string in script to communicate with any other VFD wouldn't that be somewhat Modbus standard?
I don't know if it ever can be modified to become Modbus standard, but why would anyone do that when there is already a nice interface in UCCNC which supports Real Modbus? Using that interface reduces the macro complexity and the number of lines to very few, so why would this be an interesting solution to any REAL Modbus unit users? It is OK for the HY, and perhaps a few more, but any standard Modbus device is better handled by UCCNC.

Quote Originally Posted by Dan911 View Post
I spent a good amount of time monitoring how HY plugin, SpindleTalker and the Modbus plugin in UCCNC communicated through serial port and you wouldn't no the difference if just monitoring with a serial port monitor with all including script.
I am not sure I understand what you mean. I know you spent a great amount of time on this, but what you mean by no difference?

Quote Originally Posted by Dan911 View Post
If you or anyone feel sending frequency just once is not good then edit script to send 2x,5x,10x or just remove the compare and have it send continually.

It you or anyone thinks a macroloop is to fast add "exec.Wait(??);" to each string send to your preference.
Of course it is possible to modify the macro, I was just point it out that by sending the message only once you are taking a risk and remove a safety feature which is built in in Modbus by default. It is absolutely NOT safe to send a message only once and ASSUME that it is received without error in 100% of the cases. If you do that you need to read back the answer also and check for confirmation, that is the least you can do if you are concerned about the data.

Quote Originally Posted by Dan911 View Post
I was never completely happy with opening and closing of port but it hasn't caused any problems. If there's noise problems on system its going to cause problems everywhere.
Communication issues are not always connected to noise, so there is no warranty that you will get problems elsewhere just because you occasionally would miss a beat.. I mean, in serial communication it is enough if a single bit is changed and the checksum will be wrong so the whole message will be discarded by the VFD, assuming it checks the checksum.