src/main/java/com/zy/core/thread/MelsecCrnThread.java
@@ -147,8 +147,7 @@ melsecMcNet.ConnectClose(); try { Thread.sleep(1000); } catch (InterruptedException e) { } } catch (InterruptedException ignore) {} return result; } @@ -223,6 +222,7 @@ } if (command.getAckFinish() == 1) { command.setTaskSend((short) 0); command.setTaskNo((short) 0); } else if (command.getAckFinish() == 0) { command.setTaskSend((short) 1); }