hyzable opened a new issue, #1538:
URL: https://github.com/apache/plc4x/issues/1538

   ### What happened?
   
   hi:
      PlcReadRequest excute.get() blocked when i connected to a modbus slave 
simulator software.
      I found that there is no packets got by wireshark, only the tcp handshake 
packet.
   ```
    try{
                logger.info("Read to modbus");
                PlcReadRequest.Builder mBuilder = 
mPlcConnection.readRequestBuilder();
                mBuilder.addTagAddress("coil-1", "coil:1:BOOL[1]");
                mBuilder.addTagAddress("coil-2", "coil:2:BOOL");
                   PlcReadRequest mReadRequest = mBuilder.build();
                   PlcReadResponse syncResponse = mReadRequest.execute().get();
                   printResponse(syncResponse);
                   Thread.sleep(2000);
   }
   catch (Exception e){
        logger.error("Failed to read from PLC", e);
   }
   ```
   
   The jar used in my project
   
   
![image](https://github.com/apache/plc4x/assets/167076390/c5ccfd2a-17e2-404a-9868-544ed9682a19)
   
   
   ### Version
   
   v0.12
   
   ### Programming Languages
   
   - [X] plc4j
   - [ ] plc4go
   - [ ] plc4c
   - [ ] plc4net
   
   ### Protocols
   
   - [ ] AB-Ethernet
   - [ ] ADS /AMS
   - [ ] BACnet/IP
   - [ ] CANopen
   - [ ] DeltaV
   - [ ] DF1
   - [ ] EtherNet/IP
   - [ ] Firmata
   - [ ] KNXnet/IP
   - [X] Modbus
   - [ ] OPC-UA
   - [ ] S7


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscr...@plc4x.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to