From b17acd2edae6ea254f22fa0583521291d814fb0e Mon Sep 17 00:00:00 2001 From: "S.E.Locatelli" Date: Mon, 27 Jun 2022 18:51:58 +0200 Subject: [PATCH] Aggiunta conf - configuraizoni CEDAX di prod --- IOB-WIN-NEXT/DATA/CONF/GIACO_CEDAX_001.ini | 76 ++++++++ IOB-WIN-NEXT/DATA/CONF/GIACO_CEDAX_001.json | 146 +++++++++++++++ .../DATA/CONF/GIACO_CEDAX_001_MBlock.json | 5 + .../DATA/CONF/GIACO_CEDAX_001_alarm.json | 27 +++ IOB-WIN-NEXT/DATA/CONF/GIACO_CEDAX_002.ini | 76 ++++++++ IOB-WIN-NEXT/DATA/CONF/GIACO_CEDAX_002.json | 174 ++++++++++++++++++ .../DATA/CONF/GIACO_CEDAX_002_MBlock.json | 5 + .../DATA/CONF/GIACO_CEDAX_002_alarm.json | 27 +++ IOB-WIN-NEXT/DATA/CONF/GIACO_CEDAX_003.ini | 76 ++++++++ IOB-WIN-NEXT/DATA/CONF/GIACO_CEDAX_003.json | 118 ++++++++++++ .../DATA/CONF/GIACO_CEDAX_003_MBlock.json | 5 + .../DATA/CONF/GIACO_CEDAX_003_alarm.json | 27 +++ IOB-WIN-NEXT/DATA/CONF/MAIN.ini | 3 +- IOB-WIN-NEXT/IOB-WIN-NEXT.csproj | 36 ++++ 14 files changed, 800 insertions(+), 1 deletion(-) create mode 100644 IOB-WIN-NEXT/DATA/CONF/GIACO_CEDAX_001.ini create mode 100644 IOB-WIN-NEXT/DATA/CONF/GIACO_CEDAX_001.json create mode 100644 IOB-WIN-NEXT/DATA/CONF/GIACO_CEDAX_001_MBlock.json create mode 100644 IOB-WIN-NEXT/DATA/CONF/GIACO_CEDAX_001_alarm.json create mode 100644 IOB-WIN-NEXT/DATA/CONF/GIACO_CEDAX_002.ini create mode 100644 IOB-WIN-NEXT/DATA/CONF/GIACO_CEDAX_002.json create mode 100644 IOB-WIN-NEXT/DATA/CONF/GIACO_CEDAX_002_MBlock.json create mode 100644 IOB-WIN-NEXT/DATA/CONF/GIACO_CEDAX_002_alarm.json create mode 100644 IOB-WIN-NEXT/DATA/CONF/GIACO_CEDAX_003.ini create mode 100644 IOB-WIN-NEXT/DATA/CONF/GIACO_CEDAX_003.json create mode 100644 IOB-WIN-NEXT/DATA/CONF/GIACO_CEDAX_003_MBlock.json create mode 100644 IOB-WIN-NEXT/DATA/CONF/GIACO_CEDAX_003_alarm.json diff --git a/IOB-WIN-NEXT/DATA/CONF/GIACO_CEDAX_001.ini b/IOB-WIN-NEXT/DATA/CONF/GIACO_CEDAX_001.ini new file mode 100644 index 00000000..cdf3faf6 --- /dev/null +++ b/IOB-WIN-NEXT/DATA/CONF/GIACO_CEDAX_001.ini @@ -0,0 +1,76 @@ +;Configurazione IOB-WIN +[IOB] +;Impianto Cedax di Turi (test) - Giacovelli +CNCTYPE=MODBUS_TCP_CEDAX +PING_MS_TIMEOUT=1000 + +[MACHINE] +VENDOR=CEDAX +MODEL=CEDAX Hydrocooler + +[CNC] +IP=192.168.2.60 +PORT=502 + +[SERVER] +MPIP=http://192.168.1.14 +MPURL=/MP/IO +CMDBASE=/IOB/input/ +CMDFLOG=/IOB/flog/ +CMDALIVE=/IOB +CMDENABLED=/IOB/enabled/ +CMDADV1=?valore= +CMDREBO=/sendReboot.aspx?idxMacchina= + +[MEMORY] +ADDR_READ=41001 +ADDR_WRITE=41021 +SIZE_READ=20 +SIZE_WRITE=0 +HR_BASE_ADDR=40000 + + +[BLINK] +;MAX_COUNTER_BLINK = 30 +MAX_COUNTER_BLINK = 15 +;bit0 = 0 +;bit1 = 0 +;bit2 = 1 +;bit3 = 1 +;bit4 = 1 +;bit5 = 0 +;bit6 = 0 +;bit7 = 0 +BLINK_FILT=0 +;BLINK_FILT=28 + +[OPTPAR] +;PZCOUNT_MODE=STD.[PAR/MEM].info|BIT.indice +PZCOUNT_MODE=STD.DB85.DBRE16 +DISABLE_PZCOUNT=TRUE +ENABLE_SEND_PZC_BLOCK=TRUE +MIN_SEND_PZC_BLOCK=0 +MAX_SEND_PZC_BLOCK=100 +; GEST DATI DYN +ENABLE_DYN_DATA=TRUE +FORCE_DYN_DATA=TRUE +; gestione delta minimo accettabile tra min/MAX +DELTA_VAL=0.1 + +; clock base (da 10ms) +timerIntMs=10 + +; conf parametri memoria READ/WRITE +PARAM_CONF=GIACO_CEDAX_001.json + +NO_PING=FALSE +; conf blocchi memoria x READ +MEM_BLOCK=GIACO_CEDAX_001_MBlock.json +; conf aree allarme +ALARM_CONF=GIACO_CEDAX_001_alarm.json + +; rimozione check limiti min/max dynData +disDynDataRangeCheck=true + +[BRANCH] +NAME=master \ No newline at end of file diff --git a/IOB-WIN-NEXT/DATA/CONF/GIACO_CEDAX_001.json b/IOB-WIN-NEXT/DATA/CONF/GIACO_CEDAX_001.json new file mode 100644 index 00000000..47889a51 --- /dev/null +++ b/IOB-WIN-NEXT/DATA/CONF/GIACO_CEDAX_001.json @@ -0,0 +1,146 @@ +{ + "mMapWrite": { + }, + "mMapRead": { + "Stag_H2O": { + "name": "Stag_H2O", + "description": "Totale H2O Stagione", + "memAddr": "41001", + "tipoMem": "HLPInt", + "index": 1001, + "size": 2, + "func": "MEDIAN", + "period": 90, + "factor": 1, + "minVal": 0, + "maxVal": 999999999, + "unit": "l" + }, + "Stag_Prod1": { + "name": "Stag_Prod1", + "description": "Totale Prodotto 1 Stagione", + "memAddr": "40003", + "tipoMem": "HLPInt", + "index": 1003, + "size": 2, + "func": "MEDIAN", + "period": 90, + "factor": 1, + "minVal": 0, + "maxVal": 999999999, + "unit": "l" + }, + "Stag_Prod2": { + "name": "Stag_Prod2", + "description": "Totale Prodotto 2 Stagione", + "memAddr": "40005", + "tipoMem": "HLPInt", + "index": 1005, + "size": 2, + "func": "MEDIAN", + "period": 90, + "factor": 1, + "minVal": 0, + "maxVal": 999999999, + "unit": "l" + }, + "Stag_Prod3": { + "name": "Stag_Prod3", + "description": "Totale Prodotto 3 Stagione", + "memAddr": "40007", + "tipoMem": "HLPInt", + "index": 1007, + "size": 2, + "func": "MEDIAN", + "period": 90, + "factor": 0.01, + "minVal": 0, + "maxVal": 999999999, + "unit": "l" + }, + "Stag_Prod4": { + "name": "Stag_Prod4", + "description": "Totale Prodotto 4 Stagione", + "memAddr": "40009", + "tipoMem": "HLPInt", + "index": 1009, + "size": 2, + "func": "MEDIAN", + "period": 90, + "factor": 0.01, + "minVal": 0, + "maxVal": 999999999, + "unit": "l" + }, + "Giorno_H2O": { + "name": "Giorno_H2O", + "description": "Totale H2O Giorno", + "memAddr": "41011", + "tipoMem": "HLPInt", + "index": 1011, + "size": 2, + "func": "MEDIAN", + "period": 90, + "factor": 1, + "minVal": 0, + "maxVal": 999999999, + "unit": "l" + }, + "Giorno_Prod1": { + "name": "Giorno_Prod1", + "description": "Totale Prodotto 1 Giorno", + "memAddr": "40013", + "tipoMem": "HLPInt", + "index": 1013, + "size": 2, + "func": "MEDIAN", + "period": 90, + "factor": 1, + "minVal": 0, + "maxVal": 999999999, + "unit": "l" + }, + "Giorno_Prod2": { + "name": "Giorno_Prod2", + "description": "Totale Prodotto 2 Giorno", + "memAddr": "40015", + "tipoMem": "HLPInt", + "index": 1015, + "size": 2, + "func": "MEDIAN", + "period": 90, + "factor": 1, + "minVal": 0, + "maxVal": 999999999, + "unit": "l" + }, + "Giorno_Prod3": { + "name": "Giorno_Prod3", + "description": "Totale Prodotto 3 Giorno", + "memAddr": "40017", + "tipoMem": "HLPInt", + "index": 1017, + "size": 2, + "func": "MEDIAN", + "period": 90, + "factor": 0.01, + "minVal": 0, + "maxVal": 999999999, + "unit": "l" + }, + "Giorno_Prod4": { + "name": "Giorno_Prod4", + "description": "Totale Prodotto 4 Giorno", + "memAddr": "40019", + "tipoMem": "HLPInt", + "index": 1021, + "size": 2, + "func": "MEDIAN", + "period": 90, + "factor": 0.01, + "minVal": 0, + "maxVal": 999999999, + "unit": "l" + } + } +} \ No newline at end of file diff --git a/IOB-WIN-NEXT/DATA/CONF/GIACO_CEDAX_001_MBlock.json b/IOB-WIN-NEXT/DATA/CONF/GIACO_CEDAX_001_MBlock.json new file mode 100644 index 00000000..b5e46ee5 --- /dev/null +++ b/IOB-WIN-NEXT/DATA/CONF/GIACO_CEDAX_001_MBlock.json @@ -0,0 +1,5 @@ +{ + "ReadBlocks": { + "40999": 30 + } +} \ No newline at end of file diff --git a/IOB-WIN-NEXT/DATA/CONF/GIACO_CEDAX_001_alarm.json b/IOB-WIN-NEXT/DATA/CONF/GIACO_CEDAX_001_alarm.json new file mode 100644 index 00000000..c684acec --- /dev/null +++ b/IOB-WIN-NEXT/DATA/CONF/GIACO_CEDAX_001_alarm.json @@ -0,0 +1,27 @@ +[ + { + "description": "Allarmi Impianto", + "tipoMem": "DInt", + "memAddr": "40999", + "index": 999, + "size": 2, + "messages": [ + "##On Pompa 1", + "Allarme Pompa 1", + "##On Pompa 2", + "Allarme Pompa 2", + "##On Pompa 3", + "Allarme Pompa 3", + "##On Pompa 4", + "Allarme Pompa 4", + "##", + "##", + "##", + "##", + "##", + "##", + "##", + "##" + ] + } +] \ No newline at end of file diff --git a/IOB-WIN-NEXT/DATA/CONF/GIACO_CEDAX_002.ini b/IOB-WIN-NEXT/DATA/CONF/GIACO_CEDAX_002.ini new file mode 100644 index 00000000..def79ad2 --- /dev/null +++ b/IOB-WIN-NEXT/DATA/CONF/GIACO_CEDAX_002.ini @@ -0,0 +1,76 @@ +;Configurazione IOB-WIN +[IOB] +;Impianto Cedax di Turi (test) - Giacovelli +CNCTYPE=MODBUS_TCP_CEDAX +PING_MS_TIMEOUT=1000 + +[MACHINE] +VENDOR=CEDAX +MODEL=CEDAX Scarico + +[CNC] +IP=192.168.2.61 +PORT=502 + +[SERVER] +MPIP=http://192.168.1.14 +MPURL=/MP/IO +CMDBASE=/IOB/input/ +CMDFLOG=/IOB/flog/ +CMDALIVE=/IOB +CMDENABLED=/IOB/enabled/ +CMDADV1=?valore= +CMDREBO=/sendReboot.aspx?idxMacchina= + +[MEMORY] +ADDR_READ=41001 +ADDR_WRITE=41021 +SIZE_READ=20 +SIZE_WRITE=0 +HR_BASE_ADDR=40000 + + +[BLINK] +;MAX_COUNTER_BLINK = 30 +MAX_COUNTER_BLINK = 15 +;bit0 = 0 +;bit1 = 0 +;bit2 = 1 +;bit3 = 1 +;bit4 = 1 +;bit5 = 0 +;bit6 = 0 +;bit7 = 0 +BLINK_FILT=0 +;BLINK_FILT=28 + +[OPTPAR] +;PZCOUNT_MODE=STD.[PAR/MEM].info|BIT.indice +PZCOUNT_MODE=STD.DB85.DBRE16 +DISABLE_PZCOUNT=TRUE +ENABLE_SEND_PZC_BLOCK=TRUE +MIN_SEND_PZC_BLOCK=0 +MAX_SEND_PZC_BLOCK=100 +; GEST DATI DYN +ENABLE_DYN_DATA=TRUE +FORCE_DYN_DATA=TRUE +; gestione delta minimo accettabile tra min/MAX +DELTA_VAL=0.1 + +; clock base (da 10ms) +timerIntMs=10 + +; conf parametri memoria READ/WRITE +PARAM_CONF=GIACO_CEDAX_002.json + +NO_PING=TRUE +; conf blocchi memoria x READ +MEM_BLOCK=GIACO_CEDAX_002_MBlock.json +; conf aree allarme +ALARM_CONF=GIACO_CEDAX_002_alarm.json + +; rimozione check limiti min/max dynData +disDynDataRangeCheck=true + +[BRANCH] +NAME=master \ No newline at end of file diff --git a/IOB-WIN-NEXT/DATA/CONF/GIACO_CEDAX_002.json b/IOB-WIN-NEXT/DATA/CONF/GIACO_CEDAX_002.json new file mode 100644 index 00000000..e47b61aa --- /dev/null +++ b/IOB-WIN-NEXT/DATA/CONF/GIACO_CEDAX_002.json @@ -0,0 +1,174 @@ +{ + "mMapWrite": { + }, + "mMapRead": { + "A_Stag_H2O": { + "name": "A_Stag_H2O", + "description": "Linea A Totale H2O Stagione", + "memAddr": "41001", + "tipoMem": "HLPInt", + "index": 1001, + "size": 2, + "func": "MEDIAN", + "period": 90, + "factor": 1, + "minVal": 0, + "maxVal": 999999999, + "unit": "l" + }, + "A_Stag_Prod1": { + "name": "A_Stag_Prod1", + "description": "Linea A Totale Prodotto 1 Stagione", + "memAddr": "40003", + "tipoMem": "HLPInt", + "index": 1003, + "size": 2, + "func": "MEDIAN", + "period": 90, + "factor": 0.01, + "minVal": 0, + "maxVal": 999999999, + "unit": "l" + }, + "A_Stag_Prod2": { + "name": "A_Stag_Prod2", + "description": "Linea A Totale Prodotto 2 Stagione", + "memAddr": "40005", + "tipoMem": "HLPInt", + "index": 1005, + "size": 2, + "func": "MEDIAN", + "period": 90, + "factor": 0.01, + "minVal": 0, + "maxVal": 999999999, + "unit": "l" + }, + "A_Giorno_H2O": { + "name": "A_Giorno_H2O", + "description": "Linea A Totale H2O Giorno", + "memAddr": "41007", + "tipoMem": "HLPInt", + "index": 1007, + "size": 2, + "func": "MEDIAN", + "period": 90, + "factor": 1, + "minVal": 0, + "maxVal": 999999999, + "unit": "l" + }, + "A_Giorno_Prod1": { + "name": "A_Giorno_Prod1", + "description": "Linea A Totale Prodotto 1 Giorno", + "memAddr": "40009", + "tipoMem": "HLPInt", + "index": 1009, + "size": 2, + "func": "MEDIAN", + "period": 90, + "factor": 0.01, + "minVal": 0, + "maxVal": 999999999, + "unit": "l" + }, + "A_Giorno_Prod2": { + "name": "A_Giorno_Prod2", + "description": "Linea A Totale Prodotto 2 Giorno", + "memAddr": "40011", + "tipoMem": "HLPInt", + "index": 1011, + "size": 2, + "func": "MEDIAN", + "period": 90, + "factor": 0.01, + "minVal": 0, + "maxVal": 999999999, + "unit": "l" + }, + "B_Stag_H2O": { + "name": "B_Stag_H2O", + "description": "Linea B Totale H2O Stagione", + "memAddr": "41013", + "tipoMem": "HLPInt", + "index": 1013, + "size": 2, + "func": "MEDIAN", + "period": 90, + "factor": 1, + "minVal": 0, + "maxVal": 999999999, + "unit": "l" + }, + "B_Stag_Prod1": { + "name": "B_Stag_Prod1", + "description": "Linea B Totale Prodotto 1 Stagione", + "memAddr": "40015", + "tipoMem": "HLPInt", + "index": 1015, + "size": 2, + "func": "MEDIAN", + "period": 90, + "factor": 0.01, + "minVal": 0, + "maxVal": 999999999, + "unit": "l" + }, + "B_Stag_Prod2": { + "name": "B_Stag_Prod2", + "description": "Linea B Totale Prodotto 2 Stagione", + "memAddr": "40017", + "tipoMem": "HLPInt", + "index": 1009, + "size": 2, + "func": "MEDIAN", + "period": 90, + "factor": 0.01, + "minVal": 0, + "maxVal": 999999999, + "unit": "l" + }, + "B_Giorno_H2O": { + "name": "B_Giorno_H2O", + "description": "Linea B Totale H2O Giorno", + "memAddr": "41019", + "tipoMem": "HLPInt", + "index": 1019, + "size": 2, + "func": "MEDIAN", + "period": 90, + "factor": 1, + "minVal": 0, + "maxVal": 999999999, + "unit": "l" + }, + "B_Giorno_Prod1": { + "name": "B_Giorno_Prod1", + "description": "Linea B Totale Prodotto 1 Giorno", + "memAddr": "40021", + "tipoMem": "HLPInt", + "index": 1021, + "size": 2, + "func": "MEDIAN", + "period": 90, + "factor": 0.01, + "minVal": 0, + "maxVal": 999999999, + "unit": "l" + }, + "B_Giorno_Prod2": { + "name": "B_Giorno_Prod2", + "description": "Linea B Totale Prodotto 2 Giorno", + "memAddr": "40023", + "tipoMem": "HLPInt", + "index": 1023, + "size": 2, + "func": "MEDIAN", + "period": 90, + "factor": 0.01, + "minVal": 0, + "maxVal": 999999999, + "unit": "l" + } + } +} \ No newline at end of file diff --git a/IOB-WIN-NEXT/DATA/CONF/GIACO_CEDAX_002_MBlock.json b/IOB-WIN-NEXT/DATA/CONF/GIACO_CEDAX_002_MBlock.json new file mode 100644 index 00000000..b5e46ee5 --- /dev/null +++ b/IOB-WIN-NEXT/DATA/CONF/GIACO_CEDAX_002_MBlock.json @@ -0,0 +1,5 @@ +{ + "ReadBlocks": { + "40999": 30 + } +} \ No newline at end of file diff --git a/IOB-WIN-NEXT/DATA/CONF/GIACO_CEDAX_002_alarm.json b/IOB-WIN-NEXT/DATA/CONF/GIACO_CEDAX_002_alarm.json new file mode 100644 index 00000000..c684acec --- /dev/null +++ b/IOB-WIN-NEXT/DATA/CONF/GIACO_CEDAX_002_alarm.json @@ -0,0 +1,27 @@ +[ + { + "description": "Allarmi Impianto", + "tipoMem": "DInt", + "memAddr": "40999", + "index": 999, + "size": 2, + "messages": [ + "##On Pompa 1", + "Allarme Pompa 1", + "##On Pompa 2", + "Allarme Pompa 2", + "##On Pompa 3", + "Allarme Pompa 3", + "##On Pompa 4", + "Allarme Pompa 4", + "##", + "##", + "##", + "##", + "##", + "##", + "##", + "##" + ] + } +] \ No newline at end of file diff --git a/IOB-WIN-NEXT/DATA/CONF/GIACO_CEDAX_003.ini b/IOB-WIN-NEXT/DATA/CONF/GIACO_CEDAX_003.ini new file mode 100644 index 00000000..fae12535 --- /dev/null +++ b/IOB-WIN-NEXT/DATA/CONF/GIACO_CEDAX_003.ini @@ -0,0 +1,76 @@ +;Configurazione IOB-WIN +[IOB] +;Impianto Cedax di Turi (test) - Giacovelli +CNCTYPE=MODBUS_TCP_CEDAX +PING_MS_TIMEOUT=1000 + +[MACHINE] +VENDOR=CEDAX +MODEL=CEDAX Lavorazione + +[CNC] +IP=192.168.2.62 +PORT=502 + +[SERVER] +MPIP=http://192.168.1.14 +MPURL=/MP/IO +CMDBASE=/IOB/input/ +CMDFLOG=/IOB/flog/ +CMDALIVE=/IOB +CMDENABLED=/IOB/enabled/ +CMDADV1=?valore= +CMDREBO=/sendReboot.aspx?idxMacchina= + +[MEMORY] +ADDR_READ=41001 +ADDR_WRITE=41021 +SIZE_READ=20 +SIZE_WRITE=0 +HR_BASE_ADDR=40000 + + +[BLINK] +;MAX_COUNTER_BLINK = 30 +MAX_COUNTER_BLINK = 15 +;bit0 = 0 +;bit1 = 0 +;bit2 = 1 +;bit3 = 1 +;bit4 = 1 +;bit5 = 0 +;bit6 = 0 +;bit7 = 0 +BLINK_FILT=0 +;BLINK_FILT=28 + +[OPTPAR] +;PZCOUNT_MODE=STD.[PAR/MEM].info|BIT.indice +PZCOUNT_MODE=STD.DB85.DBRE16 +DISABLE_PZCOUNT=TRUE +ENABLE_SEND_PZC_BLOCK=TRUE +MIN_SEND_PZC_BLOCK=0 +MAX_SEND_PZC_BLOCK=100 +; GEST DATI DYN +ENABLE_DYN_DATA=TRUE +FORCE_DYN_DATA=TRUE +; gestione delta minimo accettabile tra min/MAX +DELTA_VAL=0.1 + +; clock base (da 10ms) +timerIntMs=10 + +; conf parametri memoria READ/WRITE +PARAM_CONF=GIACO_CEDAX_003.json + +NO_PING=TRUE +; conf blocchi memoria x READ +MEM_BLOCK=GIACO_CEDAX_003_MBlock.json +; conf aree allarme +ALARM_CONF=GIACO_CEDAX_003_alarm.json + +; rimozione check limiti min/max dynData +disDynDataRangeCheck=true + +[BRANCH] +NAME=master \ No newline at end of file diff --git a/IOB-WIN-NEXT/DATA/CONF/GIACO_CEDAX_003.json b/IOB-WIN-NEXT/DATA/CONF/GIACO_CEDAX_003.json new file mode 100644 index 00000000..60d6a548 --- /dev/null +++ b/IOB-WIN-NEXT/DATA/CONF/GIACO_CEDAX_003.json @@ -0,0 +1,118 @@ +{ + "mMapWrite": { + }, + "mMapRead": { + "Stag_H2O": { + "name": "Stag_H2O", + "description": "Totale H2O Stagione", + "memAddr": "41001", + "tipoMem": "HLPInt", + "index": 1001, + "size": 2, + "func": "MEDIAN", + "period": 90, + "factor": 1, + "minVal": 0, + "maxVal": 999999999, + "unit": "l" + }, + "Stag_Prod1": { + "name": "Stag_Prod1", + "description": "Totale Prodotto 1 Stagione", + "memAddr": "40003", + "tipoMem": "HLPInt", + "index": 1003, + "size": 2, + "func": "MEDIAN", + "period": 90, + "factor": 1, + "minVal": 0, + "maxVal": 999999999, + "unit": "l" + }, + "Stag_Prod2": { + "name": "Stag_Prod2", + "description": "Totale Prodotto 2 Stagione", + "memAddr": "40005", + "tipoMem": "HLPInt", + "index": 1005, + "size": 2, + "func": "MEDIAN", + "period": 90, + "factor": 1, + "minVal": 0, + "maxVal": 999999999, + "unit": "l" + }, + "Stag_Prod3": { + "name": "Stag_Prod3", + "description": "Totale Prodotto 3 Stagione", + "memAddr": "40007", + "tipoMem": "HLPInt", + "index": 1007, + "size": 2, + "func": "MEDIAN", + "period": 90, + "factor": 0.01, + "minVal": 0, + "maxVal": 999999999, + "unit": "l" + }, + "Giorno_H2O": { + "name": "Giorno_H2O", + "description": "Totale H2O Giorno", + "memAddr": "41009", + "tipoMem": "HLPInt", + "index": 1009, + "size": 2, + "func": "MEDIAN", + "period": 90, + "factor": 1, + "minVal": 0, + "maxVal": 999999999, + "unit": "l" + }, + "Giorno_Prod1": { + "name": "Giorno_Prod1", + "description": "Totale Prodotto 1 Giorno", + "memAddr": "40011", + "tipoMem": "HLPInt", + "index": 1011, + "size": 2, + "func": "MEDIAN", + "period": 90, + "factor": 1, + "minVal": 0, + "maxVal": 999999999, + "unit": "l" + }, + "Giorno_Prod2": { + "name": "Giorno_Prod2", + "description": "Totale Prodotto 2 Giorno", + "memAddr": "40013", + "tipoMem": "HLPInt", + "index": 1013, + "size": 2, + "func": "MEDIAN", + "period": 90, + "factor": 1, + "minVal": 0, + "maxVal": 999999999, + "unit": "l" + }, + "Giorno_Prod3": { + "name": "Giorno_Prod3", + "description": "Totale Prodotto 3 Giorno", + "memAddr": "40015", + "tipoMem": "HLPInt", + "index": 1015, + "size": 2, + "func": "MEDIAN", + "period": 90, + "factor": 0.01, + "minVal": 0, + "maxVal": 999999999, + "unit": "l" + } + } +} \ No newline at end of file diff --git a/IOB-WIN-NEXT/DATA/CONF/GIACO_CEDAX_003_MBlock.json b/IOB-WIN-NEXT/DATA/CONF/GIACO_CEDAX_003_MBlock.json new file mode 100644 index 00000000..b5e46ee5 --- /dev/null +++ b/IOB-WIN-NEXT/DATA/CONF/GIACO_CEDAX_003_MBlock.json @@ -0,0 +1,5 @@ +{ + "ReadBlocks": { + "40999": 30 + } +} \ No newline at end of file diff --git a/IOB-WIN-NEXT/DATA/CONF/GIACO_CEDAX_003_alarm.json b/IOB-WIN-NEXT/DATA/CONF/GIACO_CEDAX_003_alarm.json new file mode 100644 index 00000000..c684acec --- /dev/null +++ b/IOB-WIN-NEXT/DATA/CONF/GIACO_CEDAX_003_alarm.json @@ -0,0 +1,27 @@ +[ + { + "description": "Allarmi Impianto", + "tipoMem": "DInt", + "memAddr": "40999", + "index": 999, + "size": 2, + "messages": [ + "##On Pompa 1", + "Allarme Pompa 1", + "##On Pompa 2", + "Allarme Pompa 2", + "##On Pompa 3", + "Allarme Pompa 3", + "##On Pompa 4", + "Allarme Pompa 4", + "##", + "##", + "##", + "##", + "##", + "##", + "##", + "##" + ] + } +] \ No newline at end of file diff --git a/IOB-WIN-NEXT/DATA/CONF/MAIN.ini b/IOB-WIN-NEXT/DATA/CONF/MAIN.ini index 7486912c..f74823e6 100644 --- a/IOB-WIN-NEXT/DATA/CONF/MAIN.ini +++ b/IOB-WIN-NEXT/DATA/CONF/MAIN.ini @@ -81,6 +81,7 @@ CLI_INST=SteamWareSim ;STARTLIST=GIACO_CEDAX_01 ;STARTLIST=GIACO_ICOEL_002 ;STARTLIST=GIACO_CENTERFRIGO -STARTLIST=GIACO_NWSE +;STARTLIST=GIACO_NWSE +STARTLIST=GIACO_CEDAX_003 MAXCNC=10 \ No newline at end of file diff --git a/IOB-WIN-NEXT/IOB-WIN-NEXT.csproj b/IOB-WIN-NEXT/IOB-WIN-NEXT.csproj index 2f6bb1b9..d2fd3503 100644 --- a/IOB-WIN-NEXT/IOB-WIN-NEXT.csproj +++ b/IOB-WIN-NEXT/IOB-WIN-NEXT.csproj @@ -285,6 +285,42 @@ Always + + PreserveNewest + + + PreserveNewest + + + PreserveNewest + + + PreserveNewest + + + PreserveNewest + + + PreserveNewest + + + PreserveNewest + + + PreserveNewest + + + PreserveNewest + + + PreserveNewest + + + PreserveNewest + + + PreserveNewest + Always