Did you install that protocoll on you windows machine (Network) as an extra protocoll? Otherwise it's just a TCP/IP socket connection. It's more about the data you send. But you should know that as you have a working VB program.
Did you install that protocoll on you windows machine (Network) as an extra protocoll? Otherwise it's just a TCP/IP socket connection. It's more about the data you send. But you should know that as you have a working VB program.
Follow Erel's example (see his post). The modbus device is listenling via TCP/IP to a special port. So try to connect to this port with the example code and send some data.
Follow Erel's example (see his post). The modbus device is listenling via TCP/IP to a special port. So try to connect to this port with the example code and send some data.
A few years ago, I implemented the ModBus protocol on PC under VB 6.0 and in C on an ARM microcontroller. From what I remember, you could reuse a lot of your VB6.0 code to make a B4A implementation using the AsyncStreams library. The most painstaking part is parsing and creating the messages, and that code will be largely the same.