MangoAutomation / modbus4j

A high-performance and ease-of-use implementation of the Modbus protocol written in Java. Supports ASCII, RTU, TCP, and UDP transports as slave or master, automatic request partitioning and response data type parsing.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Send an instruction every 5 seconds to read the data, after a period of time, IO error

sheng930920 opened this issue · comments

commented

Send an instruction every 5 seconds to read the data, after a period of time, IO error

java.io.IOException: I/O error
 W/System.err:     at java.io.FileInputStream.available0(Native Method)
 W/System.err:     at java.io.FileInputStream.available(FileInputStream.java:323)
 W/System.err:     at java.io.BufferedInputStream.available(BufferedInputStream.java:399)
 W/System.err:     at com.serotonin.modbus4j.sero.messaging.InputStreamListener.run(InputStreamListener.java:91)
 W/System.err:     at java.lang.Thread.run(Thread.java:761)