Skip to content

Latest commit

 

History

History
28 lines (23 loc) · 653 Bytes

README.md

File metadata and controls

28 lines (23 loc) · 653 Bytes

Non-blocking MELSEC Communication protocol for Java.

Quick Start

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.

Supported format

  • QnA compatible 3E Ascii
  • QnA compatible 3E Binary
  • 4E Ascii (TODO)
  • 4E Binary (TODO)

License

Apache License, Version 2.0