LP modifiche al pescaggio dei dati per M155 multiprocesso siemens.

This commit is contained in:
ext_luca.pansa@cms.it
2020-11-12 10:53:48 +01:00
parent dac18783e5
commit 6e10822743
2 changed files with 6 additions and 4 deletions
+2 -2
View File
@@ -103,8 +103,8 @@
<SpecificVersion>False</SpecificVersion>
<HintPath>libs\CndexLinkDotNet.dll</HintPath>
</Reference>
<Reference Include="S7.Net, Version=0.4.0.0, Culture=neutral, PublicKeyToken=d5812d469e84c693, processorArchitecture=MSIL">
<HintPath>..\packages\S7netplus.0.4.0\lib\net452\S7.Net.dll</HintPath>
<Reference Include="S7.Net">
<HintPath>..\..\..\..\..\Workspace\CMS_CORE_LIBRARY\CMS_CORE_Application\bin\x86\Debug\S7.Net.dll</HintPath>
</Reference>
<Reference Include="Siemens.Sinumerik.Operate.Services, Version=4.7.3.2, Culture=neutral, PublicKeyToken=bdd90fa02fd1c4ee, processorArchitecture=x86">
<SpecificVersion>False</SpecificVersion>
+4 -2
View File
@@ -1416,7 +1416,8 @@ namespace CMS_CORE_Library.Siemens
DataSvc dataSvc = new DataSvc();
Item item = new Item()
{
Path = string.Format("/channel/parameter/r[c{0} , 155]", processId),
//Path = string.Format("/channel/parameter/r[c{0} , 155]", processId),
Path = string.Format("/channel/parameter/rpa[u{0} , 155]", processId),
};
dataSvc.Read(item);
@@ -1467,7 +1468,8 @@ namespace CMS_CORE_Library.Siemens
DataSvc dataSvc = new DataSvc();
Item item = new Item()
{
Path = string.Format("/channel/parameter/r[c{0} , 155]", process),
//Path = string.Format("/channel/parameter/r[c{0} , 155]", process),
Path = string.Format("/channel/parameter/rpa[u{0} , 155]", process),
Value = responseVal
};