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

### 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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]