update conf x ModBus

This commit is contained in:
Samuele Locatelli
2021-11-03 18:42:03 +01:00
parent d46e6e003b
commit ca00e3be99
6 changed files with 97 additions and 182 deletions
+1 -1
View File
@@ -58,7 +58,7 @@ FORCE_DYN_DATA=TRUE
DELTA_VAL=0.1
; clock base (da 10ms)
timerIntMs=150
timerIntMs=125
; conf parametri memoria READ/WRITE
PARAM_CONF=PIZ04.json
+42 -42
View File
@@ -8,20 +8,20 @@
"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,
"maxVal": 301,
"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": 301,
// "unit": "C"
//},
"SetLowTempAmb": {
"name": "SetLowTempAmb",
"description": "Set point di avviso per bassa temperatura ambiente nell'impianto",
@@ -30,7 +30,7 @@
"index": 421,
"size": 2,
"minVal": -200,
"maxVal": 200,
"maxVal": 301,
"unit": "C"
},
"SetHighTempAmb": {
@@ -41,7 +41,7 @@
"index": 423,
"size": 2,
"minVal": -200,
"maxVal": 200,
"maxVal": 301,
"unit": "C"
}
},
@@ -54,7 +54,7 @@
"index": 1,
"size": 2,
"func": "MEDIAN",
"period": 120,
"period": 90,
"factor": 360,
"minVal": 0,
"maxVal": 100,
@@ -68,7 +68,7 @@
"index": 3,
"size": 2,
"func": "MEDIAN",
"period": 120,
"period": 90,
"factor": 1,
"minVal": 0,
"maxVal": 400,
@@ -82,7 +82,7 @@
"index": 19,
"size": 2,
"func": "MEDIAN",
"period": 120,
"period": 90,
"factor": 1,
"minVal": 0,
"maxVal": 400,
@@ -96,7 +96,7 @@
"index": 21,
"size": 2,
"func": "MEDIAN",
"period": 120,
"period": 90,
"factor": 1,
"minVal": 0,
"maxVal": 400,
@@ -110,10 +110,10 @@
"index": 27,
"size": 2,
"func": "MEDIAN",
"period": 120,
"period": 90,
"factor": 1,
"minVal": -200,
"maxVal": 200,
"maxVal": 301,
"unit": "C"
},
"TempAmb": {
@@ -124,10 +124,10 @@
"index": 11,
"size": 2,
"func": "MEDIAN",
"period": 120,
"period": 90,
"factor": 1,
"minVal": -200,
"maxVal": 200,
"maxVal": 301,
"unit": "C"
},
"SetLowTempGNC": {
@@ -138,26 +138,26 @@
"index": 489,
"size": 2,
"func": "MEDIAN",
"period": 120,
"period": 90,
"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": "MEDIAN",
"period": 120,
"factor": 1,
"minVal": -200,
"maxVal": 200,
"maxVal": 301,
"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": "MEDIAN",
// "period": 90,
// "factor": 1,
// "minVal": -200,
// "maxVal": 301,
// "unit": "C"
//},
"SetLowTempAmb": {
"name": "SetLowTempAmb",
"description": "Set point di avviso per bassa temperatura ambiente nell'impianto",
@@ -166,10 +166,10 @@
"index": 421,
"size": 2,
"func": "MEDIAN",
"period": 120,
"period": 90,
"factor": 1,
"minVal": -200,
"maxVal": 200,
"maxVal": 301,
"unit": "C"
},
"SetHighTempAmb": {
@@ -180,10 +180,10 @@
"index": 423,
"size": 2,
"func": "MEDIAN",
"period": 120,
"period": 90,
"factor": 1,
"minVal": -200,
"maxVal": 200,
"maxVal": 301,
"unit": "C"
}
}
+1 -2
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
@@ -59,7 +58,7 @@ FORCE_DYN_DATA=TRUE
DELTA_VAL=0.1
; clock base (da 10ms)
timerIntMs=150
timerIntMs=125
; conf parametri memoria READ/WRITE
PARAM_CONF=PIZ05.json
+51 -51
View File
@@ -8,20 +8,20 @@
"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,
"maxVal": 301,
"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": 301,
// "unit": "C"
//},
"SetLowTempAmb": {
"name": "SetLowTempAmb",
"description": "Set point di avviso per bassa temperatura ambiente nell'impianto",
@@ -30,7 +30,7 @@
"index": 421,
"size": 2,
"minVal": -200,
"maxVal": 200,
"maxVal": 301,
"unit": "C"
},
"SetHighTempAmb": {
@@ -41,7 +41,7 @@
"index": 423,
"size": 2,
"minVal": -200,
"maxVal": 200,
"maxVal": 301,
"unit": "C"
}
},
@@ -53,8 +53,8 @@
"tipoMem": "Real",
"index": 1,
"size": 2,
"func": "MAX",
"period": 120,
"func": "MEDIAN",
"period": 90,
"factor": 270,
"minVal": 0,
"maxVal": 100,
@@ -67,8 +67,8 @@
"tipoMem": "Real",
"index": 3,
"size": 2,
"func": "MAX",
"period": 120,
"func": "MEDIAN",
"period": 90,
"factor": 1,
"minVal": 0,
"maxVal": 400,
@@ -81,8 +81,8 @@
"tipoMem": "Real",
"index": 19,
"size": 2,
"func": "MAX",
"period": 120,
"func": "MEDIAN",
"period": 90,
"factor": 1,
"minVal": 0,
"maxVal": 400,
@@ -95,8 +95,8 @@
"tipoMem": "Real",
"index": 21,
"size": 2,
"func": "MAX",
"period": 120,
"func": "MEDIAN",
"period": 90,
"factor": 1,
"minVal": 0,
"maxVal": 400,
@@ -109,11 +109,11 @@
"tipoMem": "Real",
"index": 27,
"size": 2,
"func": "MAX",
"period": 120,
"func": "MEDIAN",
"period": 90,
"factor": 1,
"minVal": -200,
"maxVal": 200,
"maxVal": 301,
"unit": "C"
},
"TempAmb": {
@@ -123,11 +123,11 @@
"tipoMem": "Real",
"index": 11,
"size": 2,
"func": "MAX",
"period": 120,
"func": "MEDIAN",
"period": 90,
"factor": 1,
"minVal": -200,
"maxVal": 200,
"maxVal": 301,
"unit": "C"
},
"SetLowTempGNC": {
@@ -137,27 +137,27 @@
"tipoMem": "Real",
"index": 489,
"size": 2,
"func": "MAX",
"period": 120,
"func": "MEDIAN",
"period": 90,
"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": 120,
"factor": 1,
"minVal": -200,
"maxVal": 200,
"maxVal": 301,
"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": "MEDIAN",
// "period": 90,
// "factor": 1,
// "minVal": -200,
// "maxVal": 301,
// "unit": "C"
//},
"SetLowTempAmb": {
"name": "SetLowTempAmb",
"description": "Set point di avviso per bassa temperatura ambiente nell'impianto",
@@ -165,11 +165,11 @@
"tipoMem": "Real",
"index": 421,
"size": 2,
"func": "MAX",
"period": 120,
"func": "MEDIAN",
"period": 90,
"factor": 1,
"minVal": -200,
"maxVal": 200,
"maxVal": 301,
"unit": "C"
},
"SetHighTempAmb": {
@@ -179,11 +179,11 @@
"tipoMem": "Real",
"index": 423,
"size": 2,
"func": "MAX",
"period": 120,
"func": "MEDIAN",
"period": 90,
"factor": 1,
"minVal": -200,
"maxVal": 200,
"maxVal": 301,
"unit": "C"
}
}
+2 -34
View File
@@ -4,7 +4,7 @@
"tipoMem": "DInt",
"memAddr": "40901",
"index": 901,
"size": 4,
"size": 2,
"messages": [
"Basso livello serbatoio",
"Alto livello serbatoio",
@@ -21,22 +21,6 @@
"##",
"Allarme rilevatore gas 3",
"##",
"##",
"##",
"##",
"##",
"##",
"##",
"##",
"##",
"##",
"##",
"##",
"##",
"##",
"##",
"##",
"##",
"##"
]
},
@@ -45,7 +29,7 @@
"tipoMem": "DInt",
"memAddr": "40907",
"index": 907,
"size": 4,
"size": 2,
"messages": [
"##",
"Pulsante di Emergenza Premuto",
@@ -62,22 +46,6 @@
"##",
"##",
"##",
"##",
"##",
"##",
"##",
"##",
"##",
"##",
"##",
"##",
"##",
"##",
"##",
"##",
"##",
"##",
"##",
"##"
]
}
@@ -1,52 +0,0 @@
[
{
"description": "Allarmi Impianto",
"tipoMem": "DInt",
"memAddr": "40901",
"index": 901,
"size": 2,
"messages": [
"Basso livello serbatoio",
"Alto livello serbatoio",
"Errore trasmettitore livello",
"Bassa pressione serbatoio",
"Alta pressione serbatoio",
"##",
"##",
"Allarme rilevatore gas 1",
"##",
"##",
"Allarme rilevatore gas 2",
"##",
"##",
"Allarme rilevatore gas 3",
"##",
"##"
]
},
{
"description": "Emergenza",
"tipoMem": "DInt",
"memAddr": "40907",
"index": 907,
"size": 2,
"messages": [
"##",
"Pulsante di Emergenza Premuto",
"##",
"##",
"##",
"##",
"##",
"##",
"##",
"##",
"##",
"##",
"##",
"##",
"##",
"##"
]
}
]