diff --git a/Actions/ChemicalWeighing/Mesnac.Action.ChemicalWeighing/LjDeliver/DeliverInitAction.cs b/Actions/ChemicalWeighing/Mesnac.Action.ChemicalWeighing/LjDeliver/DeliverInitAction.cs index d7255e5..3b4920a 100644 --- a/Actions/ChemicalWeighing/Mesnac.Action.ChemicalWeighing/LjDeliver/DeliverInitAction.cs +++ b/Actions/ChemicalWeighing/Mesnac.Action.ChemicalWeighing/LjDeliver/DeliverInitAction.cs @@ -243,10 +243,12 @@ namespace Mesnac.Action.ChemicalWeighing.LjDeliver ControlsImprot.SetSwitchLight(SwitchlightE.HSiloI, list[8]); ControlsImprot.SetSwitchLight(SwitchlightE.HSiloJ, list[9]); + ControlsImprot.SetSwitchLight(SwitchlightE.HSiloK, list[10]); ControlsImprot.SetSwitchLight(SwitchlightE.HSiloL, list[11]); ControlsImprot.SetSwitchLight(SwitchlightE.HSiloM, list[12]); ControlsImprot.SetSwitchLight(SwitchlightE.HSiloN, list[13]); + ControlsImprot.SetSwitchLight(SwitchlightE.HSiloO, list[14]); diff --git a/DataBlockHelper/DBHelpers/DB139Helper.cs b/DataBlockHelper/DBHelpers/DB139Helper.cs index 2469195..e2f5358 100644 --- a/DataBlockHelper/DBHelpers/DB139Helper.cs +++ b/DataBlockHelper/DBHelpers/DB139Helper.cs @@ -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; } }