@@ -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++;