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

   ### What happened?
   
   When I try to get the value from one Modbus address, the program will be 
blocked.
   
   code:
               PlcReadRequest.Builder plcBuilder = plcConn.readRequestBuilder();
               plcBuilder.addTagAddress(point.getId(), tagAddress);
               PlcReadRequest request = plcBuilder.build();
               PlcReadResponse response = request.execute().get();
               LOGGER.debug("Get response");
   
   the log will never print out.
   
   1. This issue will happen after running the program for a long time, maybe 
after one hour.
   2. I use new DefaultPlcDriverManager().getConnection(serverUrl); to create 
modus connection.
   3. I create multiple connection instances for the same Modbus server with 
different slaveId (more than 10) for different value readers.
   
   Is there anyway to set read timeout?
   
   
   
   
   
   
   ### Version
   
   v0.12.0
   
   ### 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