update SDK x configurazione memorie Centerfrigo
- FLoat BaDc --> RealLH
This commit is contained in:
@@ -59,8 +59,8 @@
|
||||
<Reference Include="ICSharpCode.SharpZipLib, Version=1.3.1.9, Culture=neutral, PublicKeyToken=1b03e6acf1164f73, processorArchitecture=MSIL">
|
||||
<HintPath>..\packages\SharpZipLib.1.3.1\lib\net45\ICSharpCode.SharpZipLib.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="MapoSDK, Version=6.14.2205.2808, Culture=neutral, processorArchitecture=MSIL">
|
||||
<HintPath>..\packages\MapoSDK.6.14.2205.2808\lib\MapoSDK.dll</HintPath>
|
||||
<Reference Include="MapoSDK, Version=6.14.2207.1318, Culture=neutral, processorArchitecture=MSIL">
|
||||
<HintPath>..\packages\MapoSDK.6.14.2207.1318\lib\MapoSDK.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="Microsoft.Bcl.AsyncInterfaces, Version=6.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51, processorArchitecture=MSIL">
|
||||
<HintPath>..\packages\Microsoft.Bcl.AsyncInterfaces.6.0.0\lib\net461\Microsoft.Bcl.AsyncInterfaces.dll</HintPath>
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<packages>
|
||||
<package id="MapoSDK" version="6.14.2205.2808" targetFramework="net462" />
|
||||
<package id="MapoSDK" version="6.14.2207.1318" targetFramework="net462" />
|
||||
<package id="Microsoft.Bcl.AsyncInterfaces" version="6.0.0" targetFramework="net462" />
|
||||
<package id="Newtonsoft.Json" version="13.0.1" targetFramework="net462" />
|
||||
<package id="NLog" version="4.7.13" targetFramework="net462" />
|
||||
|
||||
@@ -1,88 +1,64 @@
|
||||
{
|
||||
"mMapWrite": {
|
||||
"TestWrite01": {
|
||||
"name": "TestWrite01",
|
||||
"description": "Test Scrittura 01",
|
||||
"SetPoint_Tunnel_Req": {
|
||||
"name": "SetPoint_Tunnel_Req",
|
||||
"description": "Setpoint Tunnel",
|
||||
"memAddr": "44010",
|
||||
"tipoMem": "FloatBADC",
|
||||
"tipoMem": "RealLH",
|
||||
"index": 4010,
|
||||
"size": 2,
|
||||
"func": "MEDIAN",
|
||||
"period": 60,
|
||||
"factor": 1,
|
||||
"minVal": 0,
|
||||
"minVal": -5,
|
||||
"maxVal": 15,
|
||||
"unit": "°C"
|
||||
},
|
||||
"TestWrite02": {
|
||||
"name": "TestWrite02",
|
||||
"description": "Test Scrittura 02",
|
||||
"SetPoint_Cella_01_Req": {
|
||||
"name": "SetPoint_Cella_01_Req",
|
||||
"description": "Setpoint Cella 01",
|
||||
"memAddr": "44012",
|
||||
"tipoMem": "FloatBADC",
|
||||
"tipoMem": "RealLH",
|
||||
"index": 4012,
|
||||
"size": 2,
|
||||
"func": "MEDIAN",
|
||||
"period": 60,
|
||||
"factor": 1,
|
||||
"minVal": 0,
|
||||
"minVal": -5,
|
||||
"maxVal": 15,
|
||||
"unit": "°C"
|
||||
},
|
||||
"TestWrite03": {
|
||||
"name": "TestWrite03",
|
||||
"description": "Test Scrittura 03",
|
||||
"SetPoint_Cella_02_Req": {
|
||||
"name": "SetPoint_Cella_02_Req",
|
||||
"description": "Setpoint Cella 02",
|
||||
"memAddr": "44014",
|
||||
"tipoMem": "FloatBADC",
|
||||
"tipoMem": "RealLH",
|
||||
"index": 4014,
|
||||
"size": 2,
|
||||
"func": "MEDIAN",
|
||||
"period": 60,
|
||||
"factor": 1,
|
||||
"minVal": 0,
|
||||
"minVal": -5,
|
||||
"maxVal": 15,
|
||||
"unit": "°C"
|
||||
},
|
||||
"TestWrite04": {
|
||||
"name": "TestWrite04",
|
||||
"description": "Test Scrittura 04",
|
||||
"SetPoint_Cella_03_Req": {
|
||||
"name": "SetPoint_Cella_03_Req",
|
||||
"description": "Setpoint Cella 03",
|
||||
"memAddr": "44016",
|
||||
"tipoMem": "FloatBADC",
|
||||
"tipoMem": "RealLH",
|
||||
"index": 4016,
|
||||
"size": 2,
|
||||
"func": "MEDIAN",
|
||||
"period": 60,
|
||||
"factor": 1,
|
||||
"minVal": 0,
|
||||
"minVal": -5,
|
||||
"maxVal": 15,
|
||||
"unit": "°C"
|
||||
},
|
||||
"TestWrite05": {
|
||||
"name": "TestWrite05",
|
||||
"description": "Test Scrittura 05",
|
||||
"SetPoint_Cella_04_Req": {
|
||||
"name": "SetPoint_Cella_04_Req",
|
||||
"description": "Setpoint Cella 04",
|
||||
"memAddr": "44018",
|
||||
"tipoMem": "FloatBADC",
|
||||
"tipoMem": "RealLH",
|
||||
"index": 4018,
|
||||
"size": 2,
|
||||
"func": "MEDIAN",
|
||||
"period": 60,
|
||||
"factor": 1,
|
||||
"minVal": 0,
|
||||
"minVal": -5,
|
||||
"maxVal": 15,
|
||||
"unit": "°C"
|
||||
},
|
||||
"SetPoint_Tunnel": {
|
||||
"name": "SetPoint_Tunnel",
|
||||
"description": "Setpoint Tunnel",
|
||||
"memAddr": "41560",
|
||||
"tipoMem": "Real",
|
||||
"index": 1560,
|
||||
"size": 2,
|
||||
"func": "MEDIAN",
|
||||
"period": 60,
|
||||
"factor": 1,
|
||||
"minVal": -100,
|
||||
"maxVal": 100,
|
||||
"unit": "°C"
|
||||
}
|
||||
},
|
||||
"mMapRead": {
|
||||
|
||||
@@ -112,8 +112,8 @@
|
||||
<SpecificVersion>False</SpecificVersion>
|
||||
<HintPath>ExtLib\krcc.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="MapoSDK, Version=6.14.2206.2718, Culture=neutral, processorArchitecture=MSIL">
|
||||
<HintPath>..\packages\MapoSDK.6.14.2206.2718\lib\MapoSDK.dll</HintPath>
|
||||
<Reference Include="MapoSDK, Version=6.14.2207.1318, Culture=neutral, processorArchitecture=MSIL">
|
||||
<HintPath>..\packages\MapoSDK.6.14.2207.1318\lib\MapoSDK.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="MathNet.Numerics, Version=4.15.0.0, Culture=neutral, processorArchitecture=MSIL">
|
||||
<HintPath>..\packages\MathNet.Numerics.4.15.0\lib\net461\MathNet.Numerics.dll</HintPath>
|
||||
|
||||
@@ -817,12 +817,14 @@ namespace IOB_WIN_NEXT
|
||||
// break;
|
||||
|
||||
case plcDataType.Real:
|
||||
case plcDataType.RealHL:
|
||||
valDouble = getScaledDouble(currMem);
|
||||
CurrVal = ModbusClient.ConvertFloatToRegisters((float)valDouble, ModbusClient.RegisterOrder.HighLow);
|
||||
fatto = writeInputReg(currMem.index, CurrVal);
|
||||
break;
|
||||
|
||||
case plcDataType.FloatBADC:
|
||||
case plcDataType.RealLH:
|
||||
valDouble = getScaledDouble(currMem);
|
||||
CurrVal = ModbusClient.ConvertFloatToRegisters((float)valDouble, ModbusClient.RegisterOrder.LowHigh);
|
||||
fatto = writeInputReg(currMem.index, CurrVal);
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
<package id="EgwProxy.MultiCncLib" version="3.6.2207.1211" targetFramework="net462" />
|
||||
<package id="EgwProxy.OsaiCncLib" version="3.6.2205.2015" targetFramework="net462" />
|
||||
<package id="EntityFramework" version="6.4.4" targetFramework="net462" />
|
||||
<package id="MapoSDK" version="6.14.2206.2718" targetFramework="net462" />
|
||||
<package id="MapoSDK" version="6.14.2207.1318" targetFramework="net462" />
|
||||
<package id="MathNet.Numerics" version="4.15.0" targetFramework="net462" />
|
||||
<package id="Microsoft.CodeAnalysis.NetAnalyzers" version="6.0.0" targetFramework="net462" developmentDependency="true" />
|
||||
<package id="Microsoft.VisualStudio.SlowCheetah" version="4.0.8" targetFramework="net462" developmentDependency="true" />
|
||||
|
||||
Reference in New Issue
Block a user