|
|
|
@ -1,4 +1,5 @@
|
|
|
|
|
using HslCommunication;
|
|
|
|
|
using HslCommunication.Profinet.Inovance;
|
|
|
|
|
|
|
|
|
|
using System;
|
|
|
|
|
using System.Collections.Generic;
|
|
|
|
@ -71,7 +72,10 @@ namespace DataBlockHelper.DBHelpers
|
|
|
|
|
con = content[1];
|
|
|
|
|
result.Add(con.GetBit(0));
|
|
|
|
|
result.Add(con.GetBit(1));
|
|
|
|
|
result.Add(con.GetBit(2));
|
|
|
|
|
|
|
|
|
|
var bbbb=con.GetBit(2);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
db = PlcConnect.Instance.Read("M1202.0", 1);
|
|
|
|
@ -82,6 +86,9 @@ namespace DataBlockHelper.DBHelpers
|
|
|
|
|
result.Add(con.GetBit(1));
|
|
|
|
|
result.Add(con.GetBit(2));
|
|
|
|
|
result.Add(con.GetBit(3));
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
result.Add(bbbb);
|
|
|
|
|
return result;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|