Non-blocking MELSEC Communication protocol for Java.
MelsecClientConfig config = new MelsecClientConfig.Builder("localhost", 6000).build();
MelsecTcpClient client = MelsecTcpClient.create3EBinary(config);
client.batchRead("D100", 3)
.thenAccept(response -> {
System.out.println(response.readShort());
System.out.println(response.readShort());
System.out.println(response.readShort());
});
See the examples project for more.
- QnA compatible 3E Ascii
- QnA compatible 3E Binary
- 4E Ascii (TODO)
- 4E Binary (TODO)
Apache License, Version 2.0