Hello everyone, Here a modbus TCP master library, fully programmed in b4j. This library is asynchronous, by use of the asyncstreams and Callback method. The response is an event, a separate sub, different then your sub where you did the request. This has the advantage that an unresponsive...
Hello everyone, Here a modbus TCP master library, fully programmed in b4j. This library is asynchronous, by use of the asyncstreams and Callback method. The response is an event, a separate sub, different then your sub where you did the request. This has the advantage that an unresponsive...
The examples contain a class named MB_TCP_MASTER, I think this is what you're looking for.
As @Coldrestart stated in the description of the class, you can compile it as a library if you wish but it's left as a class so that it's easy to see the methods.