Merge branch 'release/FixModBusSend01'

This commit is contained in:
Samuele Locatelli
2021-10-28 18:46:00 +02:00
3 changed files with 131 additions and 2 deletions
-1
View File
@@ -27,7 +27,6 @@ CMDREBO=/IOB/sendReboot?idxMacchina=
ADDR_READ=40001
ADDR_WRITE=40401
SIZE_READ=34
;SIZE_READ=5046
SIZE_WRITE=358
+130
View File
@@ -1,4 +1,50 @@
{
"mMapWrite": {
"SetLowTempGNC": {
"name": "SetLowTempGNC",
"description": "Set point di avviso per bassa temperatura all'uscita del vaporizzatore GNC",
"memAddr": "40489",
"tipoMem": "Real",
"index": 489,
"size": 2,
"minVal": -200,
"maxVal": 200,
"unit": "C"
},
"SetHighTempGNC": {
"name": "SetHighTempGNC",
"description": "Set point di avviso per alta temperatura all'uscita del vaporizzatore GNC",
"memAddr": "40491",
"tipoMem": "Real",
"index": 491,
"size": 2,
"minVal": -200,
"maxVal": 200,
"unit": "C"
},
"SetLowTempAmb": {
"name": "SetLowTempAmb",
"description": "Set point di avviso per bassa temperatura ambiente nell'impianto",
"memAddr": "40421",
"tipoMem": "Real",
"index": 421,
"size": 2,
"minVal": -200,
"maxVal": 200,
"unit": "C"
},
"SetHighTempAmb": {
"name": "SetHighTempAmb",
"description": "Set point di avviso per alta temperatura ambiente nell'impianto",
"memAddr": "40423",
"tipoMem": "Real",
"index": 423,
"size": 2,
"minVal": -200,
"maxVal": 200,
"unit": "C"
}
},
"mMapRead": {
"Level": {
"name": "Level",
@@ -55,6 +101,90 @@
"minVal": 0,
"maxVal": 400,
"unit": "bar"
},
"TempGNC": {
"name": "TempGNC",
"description": "Temperatura all'uscita del vaporizzatore GNC",
"memAddr": "40027",
"tipoMem": "Real",
"index": 27,
"size": 2,
"func": "MAX",
"period": 60,
"factor": 1,
"minVal": -200,
"maxVal": 200,
"unit": "C"
},
"TempAmb": {
"name": "TempAmb",
"description": "Temperatura ambiente nell'impianto",
"memAddr": "40011",
"tipoMem": "Real",
"index": 11,
"size": 2,
"func": "MAX",
"period": 60,
"factor": 1,
"minVal": -200,
"maxVal": 200,
"unit": "C"
},
"SetLowTempGNC": {
"name": "SetLowTempGNC",
"description": "Set point di avviso per bassa temperatura all'uscita del vaporizzatore GNC",
"memAddr": "40489",
"tipoMem": "Real",
"index": 489,
"size": 2,
"func": "MAX",
"period": 60,
"factor": 1,
"minVal": -200,
"maxVal": 200,
"unit": "C"
},
"SetHighTempGNC": {
"name": "SetHighTempGNC",
"description": "Set point di avviso per alta temperatura all'uscita del vaporizzatore GNC",
"memAddr": "40491",
"tipoMem": "Real",
"index": 491,
"size": 2,
"func": "MAX",
"period": 60,
"factor": 1,
"minVal": -200,
"maxVal": 200,
"unit": "C"
},
"SetLowTempAmb": {
"name": "SetLowTempAmb",
"description": "Set point di avviso per bassa temperatura ambiente nell'impianto",
"memAddr": "40421",
"tipoMem": "Real",
"index": 421,
"size": 2,
"func": "MAX",
"period": 60,
"factor": 1,
"minVal": -200,
"maxVal": 200,
"unit": "C"
},
"SetHighTempAmb": {
"name": "SetHighTempAmb",
"description": "Set point di avviso per alta temperatura ambiente nell'impianto",
"memAddr": "40423",
"tipoMem": "Real",
"index": 423,
"size": 2,
"func": "MAX",
"period": 60,
"factor": 1,
"minVal": -200,
"maxVal": 200,
"unit": "C"
}
}
}
+1 -1
View File
@@ -1186,7 +1186,7 @@ namespace IOB_WIN_NEXT
valore = getVal_TSVC(chiave, scaduto);
if (scaduto)
{
outVal.Add(chiave, $"{valore}");
outVal.Add(chiave, $"{valore:N3}");
}
LastTSVC[chiave] = valore;
}