Completata gestione lettura allarmi
This commit is contained in:
@@ -62,8 +62,9 @@ CLI_INST=SteamWareSim
|
||||
;STARTLIST=SIMUL_01,SIMUL_02,SIMUL_03,SIMUL_04
|
||||
;STARTLIST=SIM_DP_01
|
||||
;STARTLIST=TEST
|
||||
STARTLIST=SIMUL_01
|
||||
;STARTLIST=SIMUL_01
|
||||
;STARTLIST=1032
|
||||
STARTLIST=PIZ01
|
||||
;STARTLIST=OPC_UA
|
||||
|
||||
MAXCNC=10
|
||||
@@ -9,7 +9,7 @@ VENDOR=COMECA
|
||||
MODEL=01
|
||||
|
||||
[CNC]
|
||||
IP=192.168100.1
|
||||
IP=192.168.100.1
|
||||
CPUTYPE=S71500
|
||||
RACK=0
|
||||
SLOT=0
|
||||
@@ -60,8 +60,9 @@ FORCE_DYN_DATA=TRUE
|
||||
; conf parametri memoria READ/WRITE
|
||||
PARAM_CONF=PIZ01.json
|
||||
|
||||
;NO_PING=TRUE
|
||||
; conf aree allarme
|
||||
ALARM_CONF=PIZ01.alm
|
||||
ALARM_CONF=PIZ01_alarm.json
|
||||
|
||||
[BRANCH]
|
||||
NAME=master
|
||||
@@ -1,127 +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": "Bit",
|
||||
"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": "Bit",
|
||||
"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"
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
[
|
||||
{
|
||||
"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"
|
||||
]
|
||||
}
|
||||
]
|
||||
|
||||
@@ -2557,7 +2557,7 @@ namespace IOB_WIN_NEXT
|
||||
string jsonAlarms = getOptPar("ALARM_CONF");
|
||||
if (!string.IsNullOrEmpty(jsonAlarms))
|
||||
{
|
||||
string jsonFileName = $"{Application.StartupPath}/DATA/CONF/{jsonAlarms}";
|
||||
string jsonFileName = $"{Application.StartupPath}\\DATA\\CONF\\{jsonAlarms}";
|
||||
lgInfo($"Apertura file {jsonFileName}");
|
||||
StreamReader reader = new StreamReader(jsonFileName);
|
||||
string jsonData = reader.ReadToEnd();
|
||||
|
||||
Reference in New Issue
Block a user