Merge branch 'feature/Comeca' into develop

This commit is contained in:
Samuele Locatelli
2021-08-04 11:23:21 +02:00
6 changed files with 609 additions and 3 deletions
+71
View File
@@ -0,0 +1,71 @@
;Configurazione IOB-WIN
[IOB]
;Impianto COMECA per Pizzaferri
CNCTYPE=SIEMENS_COMECA
PING_MS_TIMEOUT=500
[MACHINE]
VENDOR=COMECA
MODEL=01
[CNC]
IP=192.168.1.3
CPUTYPE=S71500
RACK=0
SLOT=0
[SERVER]
;MPIP=https://localhost:44339
MPIP=http://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=DB85.DBB0
ADDR_WRITE=DB85.DBB280
SIZE_READ=280
SIZE_WRITE=32
[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=FALSE
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=20
; conf parametri memoria READ/WRITE
PARAM_CONF=PIZ03.json
NO_PING=TRUE
; conf aree allarme
ALARM_CONF=PIZ03_alarm.json
[BRANCH]
NAME=master
+247
View File
@@ -0,0 +1,247 @@
{
"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": {
"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
},
"TE04": {
"name": "TE04",
"description": "Temperatura Cavitazione Pompa A",
"memAddr": "DB85.DBB12",
"tipoMem": "Real",
"index": 12,
"size": 4,
"func": "MAX",
"period": 60,
"factor": 1
},
"Level": {
"name": "LT15",
"description": "Livello Serbatoio",
"memAddr": "DB85.DBB16",
"tipoMem": "Real",
"index": 16,
"size": 4,
"func": "MAX",
"period": 60,
"factor": 1
},
"PressBH": {
"name": "PT01",
"description": "Pressione Linea CNG",
"memAddr": "DB85.DBB20",
"tipoMem": "Real",
"index": 20,
"size": 4,
"func": "MAX",
"period": 60,
"factor": 1
},
"PressBL": {
"name": "PT100",
"description": "Pressione Riduttrice",
"memAddr": "DB85.DBB24",
"tipoMem": "Real",
"index": 24,
"size": 4,
"func": "MAX",
"period": 60,
"factor": 1
},
"MainPress": {
"name": "PT16",
"description": "Pressione Serbatoio",
"memAddr": "DB85.DBB28",
"tipoMem": "Real",
"index": 28,
"size": 4,
"func": "MAX",
"period": 60,
"factor": 1
},
"TT17": {
"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
}
}
}
+125
View File
@@ -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"
]
}
]
+2 -2
View File
@@ -15,8 +15,8 @@ RACK=0
SLOT=0
[SERVER]
MPIP=https://localhost:44339
;MPIP=http://gwms.egalware.com
;MPIP=https://localhost:44339
MPIP=http://gwms.egalware.com
MPURL=/api
CMDBASE=/IOB/input/
CMDFLOG=/IOB/flog/
+155 -1
View File
@@ -78,7 +78,7 @@
"period": 60,
"factor": 1
},
"LT15": {
"Level": {
"name": "LT15",
"description": "Livello Serbatoio",
"memAddr": "DB85.DBB16",
@@ -88,6 +88,160 @@
"func": "MAX",
"period": 60,
"factor": 1
},
"PressBH": {
"name": "PT01",
"description": "Pressione Linea CNG",
"memAddr": "DB85.DBB20",
"tipoMem": "Real",
"index": 20,
"size": 4,
"func": "MAX",
"period": 60,
"factor": 1
},
"PressBL": {
"name": "PT100",
"description": "Pressione Riduttrice",
"memAddr": "DB85.DBB24",
"tipoMem": "Real",
"index": 24,
"size": 4,
"func": "MAX",
"period": 60,
"factor": 1
},
"MainPress": {
"name": "PT16",
"description": "Pressione Serbatoio",
"memAddr": "DB85.DBB28",
"tipoMem": "Real",
"index": 28,
"size": 4,
"func": "MAX",
"period": 60,
"factor": 1
},
"TT17": {
"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
}
}
}
+9
View File
@@ -223,6 +223,15 @@
</Compile>
<Compile Include="UAClient.cs" />
<Compile Include="utils.cs" />
<None Include="DATA\CONF\PIZ03.ini">
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
</None>
<None Include="DATA\CONF\PIZ03.json">
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
</None>
<None Include="DATA\CONF\PIZ03_alarm.json">
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
</None>
<None Include="DATA\CONF\PIZ08_alarm.json">
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
</None>