From 059c2012e842282b5f2fc430b4dba28275d866c0 Mon Sep 17 00:00:00 2001 From: Samuele Locatelli Date: Tue, 28 Sep 2021 11:54:50 +0200 Subject: [PATCH] Aggiunta conf x Baganzola (e acquisitori OK) --- IOB-WIN-NEXT/DATA/CONF/MAIN.ini | 3 +- IOB-WIN-NEXT/DATA/CONF/PIZ05.ini | 70 +++++++ IOB-WIN-NEXT/DATA/CONF/PIZ05.json | 255 ++++++++++++++++++++++++ IOB-WIN-NEXT/DATA/CONF/PIZ05_alarm.json | 125 ++++++++++++ 4 files changed, 452 insertions(+), 1 deletion(-) create mode 100644 IOB-WIN-NEXT/DATA/CONF/PIZ05.ini create mode 100644 IOB-WIN-NEXT/DATA/CONF/PIZ05.json create mode 100644 IOB-WIN-NEXT/DATA/CONF/PIZ05_alarm.json diff --git a/IOB-WIN-NEXT/DATA/CONF/MAIN.ini b/IOB-WIN-NEXT/DATA/CONF/MAIN.ini index c04f13d0..9eb42a47 100644 --- a/IOB-WIN-NEXT/DATA/CONF/MAIN.ini +++ b/IOB-WIN-NEXT/DATA/CONF/MAIN.ini @@ -66,7 +66,8 @@ CLI_INST=SteamWareSim ;STARTLIST=1032 ;STARTLIST=1033 ;STARTLIST=PIZ08 -STARTLIST=PIZ04 +;STARTLIST=PIZ04 +STARTLIST=PIZ05 ;STARTLIST=OPC_UA MAXCNC=10 \ No newline at end of file diff --git a/IOB-WIN-NEXT/DATA/CONF/PIZ05.ini b/IOB-WIN-NEXT/DATA/CONF/PIZ05.ini new file mode 100644 index 00000000..2c2f56ef --- /dev/null +++ b/IOB-WIN-NEXT/DATA/CONF/PIZ05.ini @@ -0,0 +1,70 @@ +;Configurazione IOB-WIN +[IOB] +;Impianto HAM per Pizzaferri +CNCTYPE=MODBUS_TCP_HAM +PING_MS_TIMEOUT=500 + +[MACHINE] +VENDOR=HAM +MODEL=HAM + +[CNC] +IP=hambaganzola.dyndns.org +PORT=502 + +[SERVER] +;MPIP=https://localhost:44339 +MPIP=https://gwms.egalware.com +MPURL=/api +CMDBASE=/IOB/input/ +CMDFLOG=/IOB/flog/ +CMDALIVE=/IOB +CMDENABLED=/IOB/enabled/ +CMDADV1=?valore= +CMDREBO=/IOB/sendReboot?idxMacchina= + +[MEMORY] +ADDR_READ=40001 +ADDR_WRITE=40401 +SIZE_READ=34 +;SIZE_READ=5046 +SIZE_WRITE=358 + + +[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 + +; clock base (da 10ms) +timerIntMs=100 + +; conf parametri memoria READ/WRITE +PARAM_CONF=PIZ05.json + +NO_PING=TRUE +; conf aree allarme +ALARM_CONF=PIZ05_alarm.json + +[BRANCH] +NAME=master \ No newline at end of file diff --git a/IOB-WIN-NEXT/DATA/CONF/PIZ05.json b/IOB-WIN-NEXT/DATA/CONF/PIZ05.json new file mode 100644 index 00000000..4889aa31 --- /dev/null +++ b/IOB-WIN-NEXT/DATA/CONF/PIZ05.json @@ -0,0 +1,255 @@ +{ + //"mMapWrite": { + // "setProg": { + // "name": "setProg", + // "description": "Programma", + // "tipoMem": "String", + // "memAddr": "DB6.DBB50", + // "index": 50, + // "size": 50 + // }, + // "setComm": { + // "name": "setComm", + // "description": "Commessa", + // "tipoMem": "String", + // "memAddr": "DB6.DBB0", + // "index": 0, + // "size": 50 + // }, + // "setArt": { + // "name": "setArt", + // "description": "Articolo", + // "tipoMem": "String", + // "memAddr": "DB6.DBB100", + // "index": 100, + // "size": 50 + // }, + // "setPzComm": { + // "name": "setPzComm", + // "description": "Qty", + // "memAddr": "DB30.DBB212", + // "tipoMem": "DInt", + // "index": 212, + // "size": 4 + // } + //}, + "mMapRead": { + "Level": { + "name": "GiacSerb", + "description": "Livello Serbatoio", + "memAddr": "40001", + "tipoMem": "Real", + "index": 1, + "size": 2, + "func": "MAX", + "period": 60, + "factor": 280, + "minVal": 0, + "maxVal": 100 + }, + "MainPress": { + "name": "PressSerb", + "description": "Pressione Serbatoio", + "memAddr": "40003", + "tipoMem": "Real", + "index": 3, + "size": 2, + "func": "MAX", + "period": 60, + "factor": 1, + "minVal": 0, + "maxVal": 25 + }, + "PressBH": { + "name": "PBH", + "description": "Pressione media all’interno dell’accumulo GNC (pacco bombole) di alta pressione", + "memAddr": "40019", + "tipoMem": "Real", + "index": 19, + "size": 2, + "func": "MAX", + "period": 60, + "factor": 1, + "minVal": 0, + "maxVal": 400 + }, + "PressBL": { + "name": "PBM", + "description": "Pressione media all’interno dell’accumulo GNC (pacco bombole) di media pressione", + "memAddr": "40021", + "tipoMem": "Real", + "index": 21, + "size": 2, + "func": "MAX", + "period": 60, + "factor": 1, + "minVal": 0, + "maxVal": 400 + }, + //"TE2A": { + // "name": "TE2A", + // "description": "Temperatura Controllo Tenute Pompa A", + // "memAddr": "DB85.DBB0", + // "tipoMem": "Real", + // "index": 0, + // "size": 4, + // "func": "MAX", + // "period": 60, + // "factor": 1 + //}, + //"TE1A": { + // "name": "TE1A", + // "description": "Temperatura Raffreddamento Pompa A", + // "memAddr": "DB85.DBB4", + // "tipoMem": "Real", + // "index": 4, + // "size": 4, + // "func": "MAX", + // "period": 60, + // "factor": 1 + //}, + //"TE3A": { + // "name": "TE3A", + // "description": "Temperatura Cavitazione Pompa A", + // "memAddr": "DB85.DBB8", + // "tipoMem": "Real", + // "index": 8, + // "size": 4, + // "func": "MAX", + // "period": 60, + // "factor": 1 + //}, + //"Temp01": { + // "name": "TE04", + // "description": "Temperatura Torcia Aria Fredda", + // "memAddr": "DB85.DBB12", + // "tipoMem": "Real", + // "index": 12, + // "size": 4, + // "func": "MAX", + // "period": 60, + // "factor": 1 + //}, + //"Temp02": { + // "name": "TT17", + // "description": "Temperatura Spurgo Torcia Serbatoio", + // "memAddr": "DB85.DBB36", + // "tipoMem": "Real", + // "index": 36, + // "size": 4, + // "func": "MAX", + // "period": 60, + // "factor": 1 + //}, + //"TE06": { + // "name": "TE06", + // "description": "Temperatura Uscita Vaporizzatore", + // "memAddr": "DB85.DBB40", + // "tipoMem": "Real", + // "index": 40, + // "size": 4, + // "func": "MAX", + // "period": 60, + // "factor": 1 + //}, + //"TE05": { + // "name": "TE05", + // "description": "Temperatura Carica Fredda", + // "memAddr": "DB85.DBB60", + // "tipoMem": "Real", + // "index": 60, + // "size": 4, + // "func": "MAX", + // "period": 60, + // "factor": 1 + //}, + //"TE2B ": { + // "name": "TE2B", + // "description": "Temperatura Controllo Tenute Pompa B", + // "memAddr": "DB85.DBB64", + // "tipoMem": "Real", + // "index": 64, + // "size": 4, + // "func": "MAX", + // "period": 60, + // "factor": 1 + //}, + //"TE1B ": { + // "name": "TE1B", + // "description": "Temperatura Raffreddamento Pompa B", + // "memAddr": "DB85.DBB68", + // "tipoMem": "Real", + // "index": 68, + // "size": 4, + // "func": "MAX", + // "period": 60, + // "factor": 1 + //}, + //"TE3B": { + // "name": "TE3B", + // "description": "Temperatura Cavitazione Pompa B", + // "memAddr": "DB85.DBB72", + // "tipoMem": "Real", + // "index": 72, + // "size": 4, + // "func": "MAX", + // "period": 60, + // "factor": 1 + //}, + //"PressH": { + // "name": "PT300A", + // "description": "Alta Pressione", + // "memAddr": "DB85.DBB120", + // "tipoMem": "Real", + // "index": 120, + // "size": 4, + // "func": "MAX", + // "period": 60, + // "factor": 1 + //}, + //"PressM": { + // "name": "PT300M", + // "description": "Media Pressione", + // "memAddr": "DB85.DBB124", + // "tipoMem": "Real", + // "index": 124, + // "size": 4, + // "func": "MAX", + // "period": 60, + // "factor": 1 + //}, + //"LivelloPerc": { + // "name": "LT15%", + // "description": "Livello Serbatorio %", + // "memAddr": "DB85.DBB148", + // "tipoMem": "Real", + // "index": 148, + // "size": 4, + // "func": "MAX", + // "period": 60, + // "factor": 1 + //}, + //"MinTemp01": { + // "name": "MinTempTE04", + // "description": "Minima Temperatura Linea Sfiato Gas TE04", + // "memAddr": "DB85.DBB152", + // "tipoMem": "Real", + // "index": 152, + // "size": 4, + // "func": "MAX", + // "period": 60, + // "factor": 1 + //}, + //"MinTemp02": { + // "name": "MinTempTT17", + // "description": "Minima Temperatura Linea Sfiato Gas Torcia Serbatoio TT17", + // "memAddr": "DB85.DBB156", + // "tipoMem": "Real", + // "index": 156, + // "size": 4, + // "func": "MAX", + // "period": 60, + // "factor": 1 + //} + } +} \ No newline at end of file diff --git a/IOB-WIN-NEXT/DATA/CONF/PIZ05_alarm.json b/IOB-WIN-NEXT/DATA/CONF/PIZ05_alarm.json new file mode 100644 index 00000000..2b51df57 --- /dev/null +++ b/IOB-WIN-NEXT/DATA/CONF/PIZ05_alarm.json @@ -0,0 +1,125 @@ +[ + //{ + // "description": "Allarmi Impianto", + // "tipoMem": "Boolean", + // "memAddr": "DB85.DBB232", + // "index": 232, + // "size": 6, + // "messages": [ + // "Emergenza Non Ripristinata", + // "Emergenza QE Intervenuta", + // "Emergenza Puls. Dispencer B Invervenuta", + // "Emergenza Puls. Dispencer A Invervenuta", + // "Stato Interruttore Erogatore Liquido B", + // "Allarme Controllo Tensione di Rete", + // "Allarme Controllo Tensione Antincendio", + // "Stato Interruttore Erogatore Liquido A", + // "Stato Sezionatore Generale", + // "Stato Interruttore Protezione SPD", + // "Stato Interruttore Sirena e Rotoalarm", + // "Stato Interruttore Luci Emergenza", + // "Stato Interruttore Pompa PC1A", + // "Stato Interruttore Pompa PC1B", + // "Stato Interruttore Pompa Sommersa C", + // "Stato Termica Boil-Off", + // "##234.0", + // "Preallarme Centralina Metano", + // "Allarme Centralina Metano", + // "Emergenza Puls. Dispencer C Invervenuta", + // "Mancaza Pressione Aria", + // "Minima Temperatura Linea Sfiato Gas TE04", + // "Minima Temperatura Linea Sfiato Gas Torcia Serbatoio TT17", + // "Massima Temperatura Linea Sfiato Gas Torcia Serbatoio TT17", + // "Almeno Un Emergenza Intervenuta", + // "Arresto Operativo da PT1(predisposizione)", + // "Stato Interruttore Alimentazione Punto Zero", + // "##234.11", + // "##234.12", + // "##234.13", + // "##234.14", + // "Configurazione Incongruente", + // "Pulsante Emergenza 2 SB17.3A Premuto", + // "Pulsante Emergenza 1 SB17.3B Premuto", + // "Pulsante Emergenza SB17.3C Premuto", + // "Pulsante Emergenza 3 SB17.5 Premuto", + // "Pulsante Emergenza 4 SB17.7 Premuto", + // "##236.5", + // "##236.6", + // "##236.7", + // "GT_TE2A", + // "GT_TE1A", + // "GT_TE3A", + // "GT_TE04", + // "GT_LT15", + // "GT_PT01", + // "GT_PT300R", + // "GT_PT16" + // ] + //}, + //{ + // "description": "Allarmi Serbatoio", + // "tipoMem": "Boolean", + // "memAddr": "DB85.DBB248", + // "index": 248, + // "size": 2, + // "messages": [ + // "Serbatoio Troppo Pieno", + // "Serbatoio Pieno_HH", + // "Serbatoio Pieno_H", + // "Serbatoio Vuoto_LL", + // "H Pressione Serbatoio", + // "HH Pressione Serbatoio", + // "LL Temperatura Ingresso BoilOff TE08", + // "Minima Pressione Serbatoio per Partenza Pompe", + // "Timeout Apertura Valvola PV1", + // "Timeout Chiusura Valvola PV1", + // "Timeout Apertura Valvola PV70", + // "Timeout Chiusura Valvola PV70", + // "##248.12", + // "##248.13", + // "##248.14", + // "##248.15" + // ] + //}, + //{ + // "description": "Allarmi Pompa Alta Pressione A", + // "tipoMem": "Boolean", + // "memAddr": "DB85.DBB252", + // "index": 252, + // "size": 4, + // "messages": [ + // "Ritardo Avvio Pompa PC1B", + // "##252.1", + // "Temperatura Freddo TE1B NON Raggiunta", + // "HH Temperatura Cavitazione TE3B", + // "Allarme Temperatura Tenute Pompa TE2B", + // "LL Temperatura Ingresso Stoccaggio TE06", + // "Allarme Temperatura Ingresso Stoccaggio TE07", + // "Aumento Pressione PT01", + // "##Max Pressione PT01", + // "##256.9", + // "##256.10", + // "##256.11", + // "##256.12", + // "##256.13", + // "##256.14", + // "##256.15", + // "Timeout Apertura PV3B", + // "Timeout Apertura PV5B", + // "Timeout Apertura PV6B", + // "Timeout Apertura PV7", + // "##258.4", + // "##258.5", + // "##258.6", + // "##258.7", + // "##258.8", + // "##258.9", + // "##258.10", + // "##258.11", + // "##258.12", + // "##258.13", + // "##258.14", + // "##258.15" + // ] + //} +] \ No newline at end of file