qinqi 2 жил өмнө
parent
commit
aa01f83cf5

+ 1 - 0
wwwroot/API/PLC/gaiXi3_plc/gaixi6381.ashx

@@ -96,6 +96,7 @@ public class gaixi6381 : IHttpHandler
         int i = 0;
         while ( !isSuccess && i<repeat )
         {
+            s7.IS_OPEN = false;
             isSuccess = s7.Write<T>(db, (T)(value));
             result.Add(new JObject(new JProperty("PLC写入数据(重写第" + i.ToString() + "次):", db + "=" + value.ToString())));
             i++;

BIN
wwwroot/DOC/恒洁PLC及扫码头-对接设置.xlsx