chenxy 5 سال پیش
والد
کامیت
aa1a0f11b8
1فایلهای تغییر یافته به همراه1 افزوده شده و 1 حذف شده
  1. 1 1
      Curtain.Net.Sockets/PLC/Model/Siemens/SiemensS7_1200Model.cs

+ 1 - 1
Curtain.Net.Sockets/PLC/Model/Siemens/SiemensS7_1200Model.cs

@@ -938,7 +938,7 @@ Boolean[]
                 plc_m.CommandBytes[13] = 0;
                 plc_m.CommandBytes[14] = 14;
                 plc_m.CommandBytes[15] = 0;//(byte)((4 + 1) / 256);
-                plc_m.CommandBytes[16] = 4;//(byte)((4 + 1) % 256);
+                plc_m.CommandBytes[16] = 5;//(byte)((4 + 1) % 256);
                 plc_m.CommandBytes[17] = 5;
                 plc_m.CommandBytes[18] = 1;
                 plc_m.CommandBytes[19] = 18;