Inizio conf x RIMOR

This commit is contained in:
Samuele Locatelli
2023-02-16 19:00:39 +01:00
parent 3e14ec5392
commit aa1d796293
9 changed files with 568 additions and 1 deletions
+1 -1
View File
@@ -1,6 +1,6 @@
;Configurazione IOB-WIN
[IOB]
;Impianto Cedax di Turi (test) - Giacovelli
;Impianto IMAX Aeromec - Jetco (non va, sostituito con OPC-UA)
CNCTYPE=MODBUS_TCP_IMAX_AEROMEC
PING_MS_TIMEOUT=1000
MinDeltaSec=5
@@ -0,0 +1,78 @@
;Configurazione IOB-WIN
[IOB]
;Impianto Rimor sabbiatura - IMI Remosa
CNCTYPE=MODBUS_TCP_RIMOR
PING_MS_TIMEOUT=1000
MinDeltaSec=5
[MACHINE]
VENDOR=RIMOR
MODEL=Sabbiatura - PLC
[CNC]
IP=192.168.10.5
PORT=502
[SERVER]
MPIP=http://192.168.0.110
MPURL=/MP/IO
CMDBASE=/IOB/input/
CMDFLOG=/IOB/flog/
CMDALIVE=/IOB
CMDENABLED=/IOB/enabled/
CMDADV1=?valore=
CMDREBO=/sendReboot.aspx?idxMacchina=
[MEMORY]
ADDR_READ=40001
ADDR_WRITE=40001
SIZE_READ=10
SIZE_WRITE=0
HR_BASE_ADDR=400000
DELTA_BASE=0
[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=IMI_RIMOR_SAB_01.json
NO_PING=FALSE
; conf blocchi memoria x READ
MEM_BLOCK=IMI_RIMOR_SAB_01_MBlock.json
; conf aree allarme
ALARM_CONF=IMI_RIMOR_SAB_01_alarm.json
; rimozione check limiti min/max dynData
disDynDataRangeCheck=true
[BRANCH]
NAME=master
@@ -0,0 +1,207 @@
{
"mMapWrite": { },
"mMapRead": {
"OreFunzFiltro1": {
"name": "OreFunzFiltro1",
"description": "Ore funzionamento filtro 1",
"memAddr": "420201",
"tipoMem": "Int",
"index": 20201,
"size": 1,
"func": "MAX",
"period": 90,
"factor": 0.01,
"minVal": 0,
"maxVal": 999999,
"unit": "h"
},
"MinFunzFiltro1": {
"name": "MinFunzFiltro1",
"description": "Minuti funzionamento filtro 1",
"memAddr": "420205",
"tipoMem": "Int",
"index": 20205,
"size": 1,
"func": "MAX",
"period": 90,
"factor": 0.01,
"minVal": 0,
"maxVal": 999999,
"unit": "m"
},
"OreFunzFiltroPar1": {
"name": "OreFunzFiltroPar1",
"description": "Ore funzionamento filtro 1 (contatore parziale azzerabile)",
"memAddr": "420203",
"tipoMem": "Int",
"index": 20203,
"size": 1,
"func": "MAX",
"period": 90,
"factor": 0.01,
"minVal": 0,
"maxVal": 999999,
"unit": "h"
},
"MinFunzFiltroPar1": {
"name": "MinFunzFiltroPar1",
"description": "Minuti funzionamento filtro 1 (contatore parziale azzerabile)",
"memAddr": "420206",
"tipoMem": "Int",
"index": 20206,
"size": 1,
"func": "MAX",
"period": 90,
"factor": 0.01,
"minVal": 0,
"maxVal": 999999,
"unit": "m"
},
"OreFunzFiltro2": {
"name": "OreFunzFiltro2",
"description": "Ore funzionamento filtro 2",
"memAddr": "420301",
"tipoMem": "Int",
"index": 20301,
"size": 1,
"func": "MAX",
"period": 90,
"factor": 0.01,
"minVal": 0,
"maxVal": 999999,
"unit": "h"
},
"MinFunzFiltro2": {
"name": "MinFunzFiltro2",
"description": "Minuti funzionamento filtro 2",
"memAddr": "420305",
"tipoMem": "Int",
"index": 20305,
"size": 1,
"func": "MAX",
"period": 90,
"factor": 0.01,
"minVal": 0,
"maxVal": 999999,
"unit": "m"
},
"OreFunzFiltroPar2": {
"name": "OreFunzFiltroPar2",
"description": "Ore funzionamento filtro 1 (contatore parziale azzerabile)",
"memAddr": "420303",
"tipoMem": "Int",
"index": 20303,
"size": 1,
"func": "MAX",
"period": 90,
"factor": 0.01,
"minVal": 0,
"maxVal": 999999,
"unit": "h"
},
"MinFunzFiltroPar2": {
"name": "MinFunzFiltroPar2",
"description": "Minuti funzionamento filtro 1 (contatore parziale azzerabile)",
"memAddr": "420306",
"tipoMem": "Int",
"index": 20306,
"size": 1,
"func": "MAX",
"period": 90,
"factor": 0.01,
"minVal": 0,
"maxVal": 999999,
"unit": "m"
},
"OreFunzAspiratore": {
"name": "OreFunzAspiratore",
"description": "Ore funzionamento Aspiratore",
"memAddr": "420401",
"tipoMem": "Int",
"index": 20401,
"size": 1,
"func": "MAX",
"period": 90,
"factor": 0.01,
"minVal": 0,
"maxVal": 999999,
"unit": "h"
},
"MinFunzAspiratore": {
"name": "MinFunzAspiratore",
"description": "Minuti funzionamento Aspiratore",
"memAddr": "420405",
"tipoMem": "Int",
"index": 20405,
"size": 1,
"func": "MAX",
"period": 90,
"factor": 0.01,
"minVal": 0,
"maxVal": 999999,
"unit": "m"
},
"OreFunzAspiratorePar": {
"name": "OreFunzAspiratorePar",
"description": "Ore funzionamento Aspiratore (contatore parziale azzerabile)",
"memAddr": "420403",
"tipoMem": "Int",
"index": 20403,
"size": 1,
"func": "MAX",
"period": 90,
"factor": 0.01,
"minVal": 0,
"maxVal": 999999,
"unit": "h"
},
"MinFunzAspiratorePar": {
"name": "MinFunzAspiratorePar",
"description": "Minuti funzionamento Aspiratore (contatore parziale azzerabile)",
"memAddr": "420406",
"tipoMem": "Int",
"index": 20406,
"size": 1,
"func": "MAX",
"period": 90,
"factor": 0.01,
"minVal": 0,
"maxVal": 999999,
"unit": "m"
},
"DurataLavorazione": {
"name": "DurataLavorazione",
"description": "Durata Lavorazione",
"memAddr": "421002",
"tipoMem": "Int",
"index": 21002,
"size": 1,
"func": "MAX",
"period": 90,
"factor": 0.01,
"minVal": 0,
"maxVal": 999999,
"unit": "h/m"
},
"StatoLavorazione": {
"name": "StatoLavorazione",
"description": "Stato Lavorazione",
"memAddr": "421004",
"tipoMem": "Int",
"index": 21004,
"size": 1,
"func": "MAX",
"period": 90,
"factor": 0.01,
"minVal": 0,
"maxVal": 999999,
"unit": "#"
}
},
"optMemPar": {
"AlarmIntCond": "40000|0=0",
"ManualIntCond": "40000|0=1",
"EStopBitCond": "40001.0=1",
"WorkIntCond": "421004|0=2,4"
}
}
@@ -0,0 +1,5 @@
{
"ReadBlocks": {
"40000": 10
}
}
@@ -0,0 +1,52 @@
[
{
"description": "Allarmi Impianto",
"tipoMem": "DInt",
"memAddr": "40000",
"index": 0,
"size": 2,
"messages": [
"##",
"##",
"##",
"##",
"##",
"##",
"##",
"##",
"EMERGENZA GENERALE",
"TERMICO SCATTATO",
"FAULT INVERTER",
"FAULT STEPPER",
"CARTER APERTI",
"PORTA SX APERTA",
"PORTA DX APERTA",
"CARTER APERTI"
]
},
{
"description": "Allarmi Impianto",
"tipoMem": "DInt",
"memAddr": "40002",
"index": 2,
"size": 2,
"messages": [
"TOUT BF NASTRO 1",
"TOUT BF NASTRO 2",
"TOUT BF NASTRO 3",
"TOUT BF NASTRO 4",
"TOUT BF NASTRO 5",
"TOUT BF NASTRO 6",
"ALL MOTORULLO 1",
"ALL MOTORULLO 2",
"ALL MOTORULLO 3",
"ALL MOTORULLO 4",
"ALL MOTORULLO 5",
"ALL MOTORULLO 6",
"",
"",
"",
""
]
}
]
@@ -0,0 +1,78 @@
;Configurazione IOB-WIN
[IOB]
;Impianto Rimor sabbiatura - IMI Remosa
CNCTYPE=MODBUS_TCP_RIMOR
PING_MS_TIMEOUT=1000
MinDeltaSec=5
[MACHINE]
VENDOR=RIMOR
MODEL=Sabbiatura - PLC
[CNC]
IP=192.168.10.5
PORT=502
[SERVER]
MPIP=http://192.168.0.110
MPURL=/MP/IO
CMDBASE=/IOB/input/
CMDFLOG=/IOB/flog/
CMDALIVE=/IOB
CMDENABLED=/IOB/enabled/
CMDADV1=?valore=
CMDREBO=/sendReboot.aspx?idxMacchina=
[MEMORY]
ADDR_READ=40001
ADDR_WRITE=40001
SIZE_READ=10
SIZE_WRITE=0
HR_BASE_ADDR=40000
DELTA_BASE=0
[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=IMI_RIMOR_SAB_01.json
NO_PING=FALSE
; conf blocchi memoria x READ
MEM_BLOCK=IMI_RIMOR_SAB_01_MBlock.json
; conf aree allarme
ALARM_CONF=IMI_RIMOR_SAB_01_alarm.json
; rimozione check limiti min/max dynData
disDynDataRangeCheck=true
[BRANCH]
NAME=master
@@ -0,0 +1,90 @@
{
"mMapWrite": {
"setComm": {
"name": "setComm",
"description": "Commessa",
"memAddr": "40050",
"tipoMem": "String",
"index": 50,
"size": 20
}
},
"mMapRead": {
"AmpMot1": {
"name": "AmpMot1",
"description": "Assorbimento (MAX) motore 1 - catena linea1 motore 1 tazze A4.2",
"memAddr": "40003",
"tipoMem": "Int",
"index": 3,
"size": 1,
"func": "MAX",
"period": 90,
"factor": 0.01,
"minVal": 0,
"maxVal": 999,
"unit": "%"
},
"AmpMot2": {
"name": "AmpMot2",
"description": "Assorbimento (MAX) motore 2 - catena linea2 motore 2 tazze A4.2",
"memAddr": "40004",
"tipoMem": "Int",
"index": 4,
"size": 1,
"func": "MAX",
"period": 90,
"factor": 0.01,
"minVal": 0,
"maxVal": 999,
"unit": "%"
},
"AmpMot3": {
"name": "AmpMot3",
"description": "Assorbimento (MAX) motore 3 - nastro uscita cesti motore 3 A2.4",
"memAddr": "40005",
"tipoMem": "Int",
"index": 5,
"size": 1,
"func": "MAX",
"period": 90,
"factor": 0.01,
"minVal": 0,
"maxVal": 999,
"unit": "%"
},
"AmpMot4": {
"name": "AmpMot4",
"description": "Assorbimento (MAX) motore 4 - curva uscita cesti motore 4 A2.4",
"memAddr": "40006",
"tipoMem": "Int",
"index": 6,
"size": 1,
"func": "MAX",
"period": 90,
"factor": 0.01,
"minVal": 0,
"maxVal": 999,
"unit": "%"
},
"AmpMot5": {
"name": "AmpMot5",
"description": "Assorbimento (MAX) motore 5 - nastro ingresso casse vuote motore 5 A2.4",
"memAddr": "40007",
"tipoMem": "Int",
"index": 7,
"size": 1,
"func": "MAX",
"period": 90,
"factor": 0.01,
"minVal": 0,
"maxVal": 999,
"unit": "%"
}
},
"optMemPar": {
"AlarmIntCond": "40000|0=0",
"ManualIntCond": "40000|0=1",
"EStopBitCond": "40001.0=1",
"WorkIntCond": "40000|0=2,4"
}
}
@@ -0,0 +1,5 @@
{
"ReadBlocks": {
"40000": 10
}
}
@@ -0,0 +1,52 @@
[
{
"description": "Allarmi Impianto",
"tipoMem": "DInt",
"memAddr": "40000",
"index": 0,
"size": 2,
"messages": [
"##",
"##",
"##",
"##",
"##",
"##",
"##",
"##",
"EMERGENZA GENERALE",
"TERMICO SCATTATO",
"FAULT INVERTER",
"FAULT STEPPER",
"CARTER APERTI",
"PORTA SX APERTA",
"PORTA DX APERTA",
"CARTER APERTI"
]
},
{
"description": "Allarmi Impianto",
"tipoMem": "DInt",
"memAddr": "40002",
"index": 2,
"size": 2,
"messages": [
"TOUT BF NASTRO 1",
"TOUT BF NASTRO 2",
"TOUT BF NASTRO 3",
"TOUT BF NASTRO 4",
"TOUT BF NASTRO 5",
"TOUT BF NASTRO 6",
"ALL MOTORULLO 1",
"ALL MOTORULLO 2",
"ALL MOTORULLO 3",
"ALL MOTORULLO 4",
"ALL MOTORULLO 5",
"ALL MOTORULLO 6",
"",
"",
"",
""
]
}
]