bozza iniziale proj MBus
This commit is contained in:
+13
-13
@@ -14,7 +14,7 @@ Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "IOB-UT-NEXT", "IOB-UT-NEXT\
|
||||
EndProject
|
||||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "IOB-WIN-FORM", "IOB-WIN-FORM\IOB-WIN-FORM.csproj", "{9BA331BB-9BF1-40E0-AC03-74B43D73A097}"
|
||||
EndProject
|
||||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "IOB-WIN-PING", "IOB-WIN-PING\IOB-WIN-PING.csproj", "{6ADF1E82-124C-489C-99EF-A857C933D362}"
|
||||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "IOB-WIN-MBUS", "IOB-WIN-MBUS\IOB-WIN-MBUS.csproj", "{8A4954B2-1492-4CEF-8F6C-619E397718CF}"
|
||||
EndProject
|
||||
Global
|
||||
GlobalSection(SolutionConfigurationPlatforms) = preSolution
|
||||
@@ -61,18 +61,18 @@ Global
|
||||
{9BA331BB-9BF1-40E0-AC03-74B43D73A097}.Remote_DEBUG|Any CPU.Build.0 = Debug|Any CPU
|
||||
{9BA331BB-9BF1-40E0-AC03-74B43D73A097}.Remote_DEBUG|x86.ActiveCfg = Release|Any CPU
|
||||
{9BA331BB-9BF1-40E0-AC03-74B43D73A097}.Remote_DEBUG|x86.Build.0 = Release|Any CPU
|
||||
{6ADF1E82-124C-489C-99EF-A857C933D362}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
||||
{6ADF1E82-124C-489C-99EF-A857C933D362}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
||||
{6ADF1E82-124C-489C-99EF-A857C933D362}.Debug|x86.ActiveCfg = Debug|Any CPU
|
||||
{6ADF1E82-124C-489C-99EF-A857C933D362}.Debug|x86.Build.0 = Debug|Any CPU
|
||||
{6ADF1E82-124C-489C-99EF-A857C933D362}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
||||
{6ADF1E82-124C-489C-99EF-A857C933D362}.Release|Any CPU.Build.0 = Release|Any CPU
|
||||
{6ADF1E82-124C-489C-99EF-A857C933D362}.Release|x86.ActiveCfg = Release|Any CPU
|
||||
{6ADF1E82-124C-489C-99EF-A857C933D362}.Release|x86.Build.0 = Release|Any CPU
|
||||
{6ADF1E82-124C-489C-99EF-A857C933D362}.Remote_DEBUG|Any CPU.ActiveCfg = Release|Any CPU
|
||||
{6ADF1E82-124C-489C-99EF-A857C933D362}.Remote_DEBUG|Any CPU.Build.0 = Release|Any CPU
|
||||
{6ADF1E82-124C-489C-99EF-A857C933D362}.Remote_DEBUG|x86.ActiveCfg = Release|Any CPU
|
||||
{6ADF1E82-124C-489C-99EF-A857C933D362}.Remote_DEBUG|x86.Build.0 = Release|Any CPU
|
||||
{8A4954B2-1492-4CEF-8F6C-619E397718CF}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
||||
{8A4954B2-1492-4CEF-8F6C-619E397718CF}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
||||
{8A4954B2-1492-4CEF-8F6C-619E397718CF}.Debug|x86.ActiveCfg = Debug|Any CPU
|
||||
{8A4954B2-1492-4CEF-8F6C-619E397718CF}.Debug|x86.Build.0 = Debug|Any CPU
|
||||
{8A4954B2-1492-4CEF-8F6C-619E397718CF}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
||||
{8A4954B2-1492-4CEF-8F6C-619E397718CF}.Release|Any CPU.Build.0 = Release|Any CPU
|
||||
{8A4954B2-1492-4CEF-8F6C-619E397718CF}.Release|x86.ActiveCfg = Release|Any CPU
|
||||
{8A4954B2-1492-4CEF-8F6C-619E397718CF}.Release|x86.Build.0 = Release|Any CPU
|
||||
{8A4954B2-1492-4CEF-8F6C-619E397718CF}.Remote_DEBUG|Any CPU.ActiveCfg = Release|Any CPU
|
||||
{8A4954B2-1492-4CEF-8F6C-619E397718CF}.Remote_DEBUG|Any CPU.Build.0 = Release|Any CPU
|
||||
{8A4954B2-1492-4CEF-8F6C-619E397718CF}.Remote_DEBUG|x86.ActiveCfg = Release|Any CPU
|
||||
{8A4954B2-1492-4CEF-8F6C-619E397718CF}.Remote_DEBUG|x86.Build.0 = Release|Any CPU
|
||||
EndGlobalSection
|
||||
GlobalSection(SolutionProperties) = preSolution
|
||||
HideSolutionNode = FALSE
|
||||
|
||||
@@ -1,12 +1,12 @@
|
||||
using IOB_UT_NEXT;
|
||||
using IOB_WIN_PING.Iob;
|
||||
using IOB_WIN_MBUS.Iob;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace IOB_WIN_PING
|
||||
namespace IOB_WIN_MBUS
|
||||
{
|
||||
public class AdapterFormNext: IOB_WIN_FORM.AdapterForm
|
||||
{
|
||||
@@ -28,8 +28,53 @@ namespace IOB_WIN_PING
|
||||
switch (tipoScelto)
|
||||
{
|
||||
|
||||
case tipoAdapter.PingWatchdog:
|
||||
iobObj = new IOB_WIN_FORM.Iob.PingWatchDog(this, IOBConf);
|
||||
case tipoAdapter.MODBUS_TCP:
|
||||
iobObj = new IobModbusTCP.ModbusTCP(this, IOBConf);
|
||||
btnStart.Enabled = true;
|
||||
break;
|
||||
|
||||
case tipoAdapter.MODBUS_TCP_CEDAX:
|
||||
iobObj = new IobModbusTCP.ModbusTCPCedax(this, IOBConf);
|
||||
btnStart.Enabled = true;
|
||||
break;
|
||||
|
||||
case tipoAdapter.MODBUS_TCP_CENTERFRIGO:
|
||||
iobObj = new IobModbusTCP.ModbusTCPCenterfrigo(this, IOBConf);
|
||||
btnStart.Enabled = true;
|
||||
break;
|
||||
|
||||
case tipoAdapter.MODBUS_TCP_FIMAT:
|
||||
iobObj = new IobModbusTCP.ModbusTCPFimat(this, IOBConf);
|
||||
btnStart.Enabled = true;
|
||||
break;
|
||||
|
||||
case tipoAdapter.MODBUS_TCP_HAM:
|
||||
iobObj = new IobModbusTCP.ModbusTCPHam(this, IOBConf);
|
||||
btnStart.Enabled = true;
|
||||
break;
|
||||
|
||||
case tipoAdapter.MODBUS_TCP_HELPI:
|
||||
iobObj = new IobModbusTCP.ModbusTCPHelpi(this, IOBConf);
|
||||
btnStart.Enabled = true;
|
||||
break;
|
||||
|
||||
case tipoAdapter.MODBUS_TCP_IMAS_AEROMEC:
|
||||
iobObj = new IobModbusTCP.ModbusTCPImaxAeromec(this, IOBConf);
|
||||
btnStart.Enabled = true;
|
||||
break;
|
||||
|
||||
case tipoAdapter.MODBUS_TCP_RIMOR:
|
||||
iobObj = new IobModbusTCP.ModbusTCPRimor(this, IOBConf);
|
||||
btnStart.Enabled = true;
|
||||
break;
|
||||
|
||||
case tipoAdapter.MODBUS_TCP_SAIM:
|
||||
iobObj = new IobModbusTCP.ModbusTCPSaim(this, IOBConf);
|
||||
btnStart.Enabled = true;
|
||||
break;
|
||||
|
||||
case tipoAdapter.MODBUS_TCP_ZETAPACK:
|
||||
iobObj = new IobModbusTCP.ModbusTCPZetapack(this, IOBConf);
|
||||
btnStart.Enabled = true;
|
||||
break;
|
||||
|
||||
|
||||
+25
-17
@@ -8,7 +8,7 @@
|
||||
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.6.2" />
|
||||
</startup>
|
||||
<appSettings>
|
||||
<add key="appName" value="IOB-WIN-PING" />
|
||||
<add key="appName" value="IOB-WIN-MBUS" />
|
||||
<add key="enableTest" value="false" />
|
||||
<add key="enableContapezzi" value="true" />
|
||||
<add key="enableMode" value="true" />
|
||||
@@ -108,38 +108,46 @@
|
||||
</appSettings>
|
||||
<runtime>
|
||||
<assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
|
||||
<probing privatePath="lib;libs" xmlns="urn:schemas-microsoft-com:asm.v1" />
|
||||
<dependentAssembly>
|
||||
<assemblyIdentity name="System.IO.Compression" publicKeyToken="b77a5c561934e089" culture="neutral" />
|
||||
<bindingRedirect oldVersion="0.0.0.0-4.1.2.0" newVersion="4.1.2.0" />
|
||||
</dependentAssembly>
|
||||
<probing privatePath="lib;libs" xmlns="urn:schemas-microsoft-com:asm.v1" />
|
||||
<dependentAssembly>
|
||||
<assemblyIdentity name="System.Threading.Tasks.Extensions" publicKeyToken="cc7b13ffcd2ddd51" culture="neutral" />
|
||||
<bindingRedirect oldVersion="0.0.0.0-4.2.0.1" newVersion="4.2.0.1" />
|
||||
<bindingRedirect oldVersion="0.0.0.0-4.2.1.0" newVersion="4.2.1.0" />
|
||||
</dependentAssembly>
|
||||
<dependentAssembly>
|
||||
<assemblyIdentity name="System.Memory" publicKeyToken="cc7b13ffcd2ddd51" culture="neutral" />
|
||||
<bindingRedirect oldVersion="0.0.0.0-4.0.2.0" newVersion="4.0.2.0" />
|
||||
</dependentAssembly>
|
||||
<dependentAssembly>
|
||||
<assemblyIdentity name="System.Runtime.CompilerServices.Unsafe" publicKeyToken="b03f5f7f11d50a3a" culture="neutral" />
|
||||
<bindingRedirect oldVersion="0.0.0.0-6.0.1.0" newVersion="6.0.1.0" />
|
||||
</dependentAssembly>
|
||||
<dependentAssembly>
|
||||
<assemblyIdentity name="System.Buffers" publicKeyToken="cc7b13ffcd2ddd51" culture="neutral" />
|
||||
<bindingRedirect oldVersion="0.0.0.0-4.0.3.0" newVersion="4.0.3.0" />
|
||||
<bindingRedirect oldVersion="0.0.0.0-4.0.4.0" newVersion="4.0.4.0" />
|
||||
</dependentAssembly>
|
||||
<dependentAssembly>
|
||||
<assemblyIdentity name="System.IO.Pipelines" publicKeyToken="cc7b13ffcd2ddd51" culture="neutral" />
|
||||
<bindingRedirect oldVersion="0.0.0.0-9.0.0.0" newVersion="9.0.0.0" />
|
||||
</dependentAssembly>
|
||||
<dependentAssembly>
|
||||
<assemblyIdentity name="System.Numerics.Vectors" publicKeyToken="b03f5f7f11d50a3a" culture="neutral" />
|
||||
<bindingRedirect oldVersion="0.0.0.0-4.1.5.0" newVersion="4.1.5.0" />
|
||||
</dependentAssembly>
|
||||
<dependentAssembly>
|
||||
<assemblyIdentity name="Microsoft.Bcl.AsyncInterfaces" publicKeyToken="cc7b13ffcd2ddd51" culture="neutral" />
|
||||
<bindingRedirect oldVersion="0.0.0.0-6.0.0.0" newVersion="6.0.0.0" />
|
||||
<bindingRedirect oldVersion="0.0.0.0-9.0.0.0" newVersion="9.0.0.0" />
|
||||
</dependentAssembly>
|
||||
<dependentAssembly>
|
||||
<assemblyIdentity name="System.Text.Json" publicKeyToken="cc7b13ffcd2ddd51" culture="neutral" />
|
||||
<bindingRedirect oldVersion="0.0.0.0-9.0.0.0" newVersion="9.0.0.0" />
|
||||
</dependentAssembly>
|
||||
<dependentAssembly>
|
||||
<assemblyIdentity name="System.Runtime.CompilerServices.Unsafe" publicKeyToken="b03f5f7f11d50a3a" culture="neutral" />
|
||||
<bindingRedirect oldVersion="0.0.0.0-4.0.4.1" newVersion="4.0.4.1" />
|
||||
<assemblyIdentity name="System.Threading.Channels" publicKeyToken="cc7b13ffcd2ddd51" culture="neutral" />
|
||||
<bindingRedirect oldVersion="0.0.0.0-9.0.0.0" newVersion="9.0.0.0" />
|
||||
</dependentAssembly>
|
||||
<dependentAssembly>
|
||||
<assemblyIdentity name="System.Memory" publicKeyToken="cc7b13ffcd2ddd51" culture="neutral" />
|
||||
<bindingRedirect oldVersion="0.0.0.0-4.0.1.1" newVersion="4.0.1.1" />
|
||||
</dependentAssembly>
|
||||
<dependentAssembly>
|
||||
<assemblyIdentity name="System.IO.Pipelines" publicKeyToken="cc7b13ffcd2ddd51" culture="neutral" />
|
||||
<bindingRedirect oldVersion="0.0.0.0-5.0.0.1" newVersion="5.0.0.1" />
|
||||
<assemblyIdentity name="Microsoft.Extensions.Logging.Abstractions" publicKeyToken="adb9793829ddae60" culture="neutral" />
|
||||
<bindingRedirect oldVersion="0.0.0.0-9.0.0.0" newVersion="9.0.0.0" />
|
||||
</dependentAssembly>
|
||||
<dependentAssembly>
|
||||
<assemblyIdentity name="Microsoft.Web.WebView2.WinForms" publicKeyToken="2a8ab48044d2601e" culture="neutral" />
|
||||
|
||||
@@ -0,0 +1,78 @@
|
||||
;Configurazione IOB-WIN
|
||||
[IOB]
|
||||
;Impianto IMAX Aeromec - Jetco (non va, sostituito con OPC-UA)
|
||||
CNCTYPE=MODBUS_TCP_IMAX_AEROMEC
|
||||
PING_MS_TIMEOUT=1000
|
||||
MinDeltaSec=5
|
||||
|
||||
[MACHINE]
|
||||
VENDOR=IMAX
|
||||
MODEL=Filtro Aria
|
||||
|
||||
[CNC]
|
||||
IP=192.168.0.80
|
||||
PORT=502
|
||||
|
||||
[SERVER]
|
||||
MPIP=http://192.168.1.7
|
||||
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=30
|
||||
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=3026.json
|
||||
|
||||
NO_PING=FALSE
|
||||
; conf blocchi memoria x READ
|
||||
MEM_BLOCK=3026_MBlock.json
|
||||
; conf aree allarme
|
||||
ALARM_CONF=3026_alarm.json
|
||||
|
||||
; rimozione check limiti min/max dynData
|
||||
disDynDataRangeCheck=true
|
||||
|
||||
[BRANCH]
|
||||
NAME=master
|
||||
@@ -0,0 +1,110 @@
|
||||
{
|
||||
"mMapWrite": {
|
||||
|
||||
},
|
||||
"mMapRead": {
|
||||
//"StatusWord": {
|
||||
// "name": "StatusWord",
|
||||
// "description": "Word di Status",
|
||||
// "memAddr": "40002",
|
||||
// "tipoMem": "Int",
|
||||
// "index": 2,
|
||||
// "size": 1,
|
||||
// "func": "POINT",
|
||||
// "period": 90,
|
||||
// "factor": 1,
|
||||
// "minVal": 0,
|
||||
// "maxVal": 65536,
|
||||
// "unit": "BMap"
|
||||
//},
|
||||
//"StatusDetWord": {
|
||||
// "name": "StatusDetWord",
|
||||
// "description": "Word di Status",
|
||||
// "memAddr": "40005",
|
||||
// "tipoMem": "Int",
|
||||
// "index": 5,
|
||||
// "size": 1,
|
||||
// "func": "POINT",
|
||||
// "period": 90,
|
||||
// "factor": 1,
|
||||
// "minVal": 0,
|
||||
// "maxVal": 65536,
|
||||
// "unit": "BMap"
|
||||
//},
|
||||
"FreqInverter": {
|
||||
"name": "FreqInverter",
|
||||
"description": "Frequenza Inverter",
|
||||
"memAddr": "40011",
|
||||
"tipoMem": "Real",
|
||||
"index": 11,
|
||||
"size": 2,
|
||||
"func": "MEDIAN",
|
||||
"period": 90,
|
||||
"factor": 1,
|
||||
"minVal": 0,
|
||||
"maxVal": 999999999,
|
||||
"unit": "Hz"
|
||||
},
|
||||
"CDOreManuten": {
|
||||
"name": "CDOreManuten",
|
||||
"description": "Residuo ore a prossimo service",
|
||||
"memAddr": "40013",
|
||||
"tipoMem": "Int",
|
||||
"index": 13,
|
||||
"size": 1,
|
||||
"func": "MEDIAN",
|
||||
"period": 90,
|
||||
"factor": 1,
|
||||
"minVal": 0,
|
||||
"maxVal": 999999999,
|
||||
"unit": "h"
|
||||
},
|
||||
"COreTAsp1": {
|
||||
"name": "COreTAsp1",
|
||||
"description": "Totale ore funzionamento impianto",
|
||||
"memAddr": "40014",
|
||||
"tipoMem": "Int",
|
||||
"index": 14,
|
||||
"size": 1,
|
||||
"func": "MEDIAN",
|
||||
"period": 90,
|
||||
"factor": 1,
|
||||
"minVal": 0,
|
||||
"maxVal": 999999999,
|
||||
"unit": "h"
|
||||
},
|
||||
"COrePAsp1": {
|
||||
"name": "COrePAsp1",
|
||||
"description": "Parziale ore funzionamento impianto da ultimo service",
|
||||
"memAddr": "40015",
|
||||
"tipoMem": "Int",
|
||||
"index": 15,
|
||||
"size": 1,
|
||||
"func": "MEDIAN",
|
||||
"period": 90,
|
||||
"factor": 1,
|
||||
"minVal": 0,
|
||||
"maxVal": 999999999,
|
||||
"unit": "h"
|
||||
},
|
||||
"AmpereReale": {
|
||||
"name": "AmpereReale",
|
||||
"description": "Assorbimento aspiratore 1",
|
||||
"memAddr": "40016",
|
||||
"tipoMem": "Real",
|
||||
"index": 16,
|
||||
"size": 2,
|
||||
"func": "MEDIAN",
|
||||
"period": 90,
|
||||
"factor": 1,
|
||||
"minVal": 0,
|
||||
"maxVal": 999999999,
|
||||
"unit": "A"
|
||||
}
|
||||
},
|
||||
"optMemPar": {
|
||||
"AutoBitCond": "40002.14=1",
|
||||
"EStopBitCond": "40002.9=0",
|
||||
"WorkBitCond": "40002.0=1"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,5 @@
|
||||
{
|
||||
"ReadBlocks": {
|
||||
"40000": 30
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,52 @@
|
||||
[
|
||||
{
|
||||
"description": "Allarmi Impianto",
|
||||
"tipoMem": "DInt",
|
||||
"memAddr": "40003",
|
||||
"index": 3,
|
||||
"size": 2,
|
||||
"messages": [
|
||||
"ALLARME VENTILATORE 1",
|
||||
"ALLARME VENTILATORE 2",
|
||||
"WARNING FILTRI INTASATI",
|
||||
"WARNING LIVELLO FILTRO",
|
||||
"ALLARME LIVELLO FILTRO",
|
||||
"ALLARME TAGLIAFUOCO 1 ASPIRAZIONE ",
|
||||
"ALLARME TAGLIAFUOCO 2 ASPIRAZIONE ",
|
||||
"CUMULATIVO ALLARMI ALIMENTAZIONI (24V AC-DC)",
|
||||
"ALLARME FUORIUSCITA IQUINANTE ",
|
||||
"ALLARME TERMOVELOCIMETRICO",
|
||||
"ALLARME RILEVATORE SCINTILLE",
|
||||
"ALLARME SPORTELLO APERTO",
|
||||
"ALLARME MOTORE VALVOLA STELLARE FILTRO",
|
||||
"ALLARME MOTORE COCLEA ",
|
||||
"ALLARME MOTORE VALVOLA STELLARE CALDAIA",
|
||||
"ALLARME MOTORE ESTRATTORE FILTRO"
|
||||
]
|
||||
},
|
||||
{
|
||||
"description": "Allarmi Impianto",
|
||||
"tipoMem": "DInt",
|
||||
"memAddr": "40004",
|
||||
"index": 4,
|
||||
"size": 2,
|
||||
"messages": [
|
||||
"ALLARME MOTORE ASPIRATORE TRAVASO",
|
||||
"WARNING BY-PASS 1 ASPIRAZIONE",
|
||||
"WARNING BY-PASS 2 ASPIRAZIONE",
|
||||
"WARNING BY-PASS 3 ASPIRAZIONE",
|
||||
"WARNING BY-PASS 4 ASPIRAZIONE",
|
||||
"ALLARME TERMICO VIBRATORI",
|
||||
"ALLARME INTASAMENTO ESTRATTORE",
|
||||
"WARNING FILTRI INTASATI PLENUM",
|
||||
"CUMULATIVO ALLARMI RECUPERATORE",
|
||||
"WARNING SERRANDA 1 PARTENZA ASPIRAZIONE",
|
||||
"WARNING SERRANDA 2 PARTENZA ASPIRAZIONE",
|
||||
"WARNING SERRANDA 3 PARTENZA ASPIRAZIONE",
|
||||
"ALLARME IMPLOSIONE TUBAZIONI",
|
||||
"WARNING IMPLOSIONE TUBAZIONI",
|
||||
"ALLARME VENTILATORE 3",
|
||||
"ALLARME INTASAMENTO TASCHE"
|
||||
]
|
||||
}
|
||||
]
|
||||
@@ -0,0 +1,79 @@
|
||||
;Configurazione IOB-WIN
|
||||
[IOB]
|
||||
;Impianto Helpi x impacchettatrice - Finassi
|
||||
CNCTYPE=MODBUS_TCP_HELPI
|
||||
PING_MS_TIMEOUT=1000
|
||||
MinDeltaSec=5
|
||||
|
||||
[MACHINE]
|
||||
VENDOR=HELPI
|
||||
MODEL=HELPI
|
||||
|
||||
[CNC]
|
||||
IP=10.150.0.20
|
||||
PORT=502
|
||||
|
||||
[SERVER]
|
||||
MPIP=http://10.150.0.1
|
||||
MPURL=/MP/IO
|
||||
CMDBASE=/IOB/input/
|
||||
CMDFLOG=/IOB/flog/
|
||||
CMDALIVE=/IOB
|
||||
CMDENABLED=/IOB/enabled/
|
||||
CMDADV1=?valore=
|
||||
CMDREBO=/sendReboot.aspx?idxMacchina=
|
||||
|
||||
[MEMORY]
|
||||
ADDR_READ=41050
|
||||
ADDR_WRITE=41060
|
||||
SIZE_READ=60
|
||||
SIZE_WRITE=50
|
||||
CALC_BASE_ADDR=false
|
||||
HR_BASE_ADDR=0
|
||||
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.Nome valore DynData
|
||||
PZCOUNT_MODE=STD.NumPacchi
|
||||
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=20
|
||||
|
||||
; conf parametri memoria READ/WRITE
|
||||
PARAM_CONF=FINASSI_HELPI_01.json
|
||||
|
||||
NO_PING=FALSE
|
||||
; conf blocchi memoria x READ
|
||||
MEM_BLOCK=FINASSI_HELPI_01_MBlock.json
|
||||
; conf aree allarme
|
||||
ALARM_CONF=FINASSI_HELPI_01_alarm.json
|
||||
|
||||
; rimozione check limiti min/max dynData
|
||||
disDynDataRangeCheck=true
|
||||
|
||||
[BRANCH]
|
||||
NAME=master
|
||||
@@ -0,0 +1,165 @@
|
||||
{
|
||||
"mMapWrite": {
|
||||
"NumRicetta": {
|
||||
"name": "NumRicetta",
|
||||
"description": "Numero Ricetta richiamata",
|
||||
"memAddr": "41060",
|
||||
"tipoMem": "Int",
|
||||
"index": 41060,
|
||||
"size": 1,
|
||||
"minVal": 0,
|
||||
"maxVal": 32767,
|
||||
"unit": "#"
|
||||
},
|
||||
"SetRicetta": {
|
||||
"name": "SetRicetta",
|
||||
"description": "Richiesta applicazione Ricetta",
|
||||
"memAddr": "41061",
|
||||
"tipoMem": "Int",
|
||||
"index": 41061,
|
||||
"size": 1,
|
||||
"minVal": 0,
|
||||
"maxVal": 1,
|
||||
"unit": "#"
|
||||
},
|
||||
"ODL": {
|
||||
"name": "ODL",
|
||||
"description": "Numero ODL richiesto",
|
||||
"memAddr": "41062",
|
||||
"tipoMem": "String",
|
||||
"index": 41062,
|
||||
"size": 16,
|
||||
"unit": "#"
|
||||
},
|
||||
"LOTTO": {
|
||||
"name": "LOTTO",
|
||||
"description": "Numero LOTTO richiesto",
|
||||
"memAddr": "41078",
|
||||
"tipoMem": "String",
|
||||
"index": 41078,
|
||||
"size": 16,
|
||||
"unit": "#"
|
||||
},
|
||||
"NumPacchi": {
|
||||
"name": "NumPacchi",
|
||||
"description": "Numero Pacchi Richiesti",
|
||||
"memAddr": "41098",
|
||||
"tipoMem": "IntLH",
|
||||
"index": 41098,
|
||||
"size": 2,
|
||||
"unit": "#"
|
||||
}
|
||||
},
|
||||
"mMapRead": {
|
||||
"NumRicetta": {
|
||||
"name": "NumRicetta",
|
||||
"description": "Numero Ricetta richiamata",
|
||||
"memAddr": "41060",
|
||||
"tipoMem": "Int",
|
||||
"index": 41060,
|
||||
"size": 1,
|
||||
"minVal": 0,
|
||||
"maxVal": 32767,
|
||||
"unit": "#",
|
||||
"func": "POINT",
|
||||
"period": 90,
|
||||
"factor": 1
|
||||
},
|
||||
"SetRicetta": {
|
||||
"name": "SetRicetta",
|
||||
"description": "Richiesta applicazione Ricetta",
|
||||
"memAddr": "41061",
|
||||
"tipoMem": "Int",
|
||||
"index": 41061,
|
||||
"size": 1,
|
||||
"minVal": 0,
|
||||
"maxVal": 1,
|
||||
"unit": "#",
|
||||
"func": "POINT",
|
||||
"period": 90,
|
||||
"factor": 1
|
||||
},
|
||||
"ODL": {
|
||||
"name": "ODL",
|
||||
"description": "Numero ODL richiesto",
|
||||
"memAddr": "41062",
|
||||
"tipoMem": "String",
|
||||
"index": 41062,
|
||||
"size": 16,
|
||||
"unit": "#",
|
||||
"func": "POINT",
|
||||
"period": 90
|
||||
},
|
||||
"LOTTO": {
|
||||
"name": "LOTTO",
|
||||
"description": "Numero LOTTO richiesto",
|
||||
"memAddr": "41078",
|
||||
"tipoMem": "String",
|
||||
"index": 41078,
|
||||
"size": 16,
|
||||
"unit": "#",
|
||||
"func": "POINT",
|
||||
"period": 90
|
||||
},
|
||||
"NumPacchi": {
|
||||
"name": "NumPacchi",
|
||||
"description": "Numero Pacchi Richiesti",
|
||||
"memAddr": "41098",
|
||||
"tipoMem": "IntLH",
|
||||
"index": 41098,
|
||||
"size": 2,
|
||||
"unit": "#",
|
||||
"func": "POINT",
|
||||
"period": 90,
|
||||
"factor": 1
|
||||
},
|
||||
"NumPacchiFatti": {
|
||||
"name": "NumPacchiFatti",
|
||||
"description": "Numero Pacchi Fatti",
|
||||
"memAddr": "41100",
|
||||
"tipoMem": "IntLH",
|
||||
"index": 41100,
|
||||
"size": 2,
|
||||
"unit": "#",
|
||||
"func": "POINT",
|
||||
"period": 90,
|
||||
"factor": 1
|
||||
},
|
||||
"EpochStart": {
|
||||
"name": "EpochStart",
|
||||
"description": "DateTime inizio lavorazione formato EPOCH",
|
||||
"memAddr": "41102",
|
||||
"tipoMem": "IntLH",
|
||||
"index": 41102,
|
||||
"size": 2,
|
||||
"unit": "EPOCH",
|
||||
"func": "POINT",
|
||||
"period": 90,
|
||||
"factor": 1
|
||||
},
|
||||
"EpochStop": {
|
||||
"name": "EpochStop",
|
||||
"description": "DateTime fine lavorazione formato EPOCH",
|
||||
"memAddr": "41104",
|
||||
"tipoMem": "IntLH",
|
||||
"index": 41104,
|
||||
"size": 2,
|
||||
"unit": "EPOCH",
|
||||
"func": "POINT",
|
||||
"period": 90,
|
||||
"factor": 1
|
||||
},
|
||||
"PPM": {
|
||||
"name": "PPM",
|
||||
"description": "Velocita espressa come Pacchi Per Minuto",
|
||||
"memAddr": "41106",
|
||||
"tipoMem": "RealLH",
|
||||
"index": 41106,
|
||||
"size": 2,
|
||||
"unit": "#",
|
||||
"func": "POINT",
|
||||
"period": 90,
|
||||
"factor": 1
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,5 @@
|
||||
{
|
||||
"ReadBlocks": {
|
||||
"41050": 60
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,84 @@
|
||||
[
|
||||
{
|
||||
"description": "Allarmi Impianto 01",
|
||||
"tipoMem": "DInt",
|
||||
"memAddr": "41094",
|
||||
"index": 1094,
|
||||
"size": 4,
|
||||
"messages": [
|
||||
"AUSILIARI NON INSERITI",
|
||||
"TERMICA SBOBINATORI",
|
||||
"TERMICA VENTILATORE",
|
||||
"TERMICA RESISTENZE TUNNEL",
|
||||
"PULSANTE EMERGENZA PREMUTO",
|
||||
"ANOMALIA PRESSIONE ARIA",
|
||||
"SPORTELLO LATERALE SX APERTO",
|
||||
"SPORTELLO LATERALE DX APERTO",
|
||||
"SPORTELLO CARICO APERTO",
|
||||
"##",
|
||||
"EMERGENZA FINECORSA GUIDA INGRESSO",
|
||||
"ANOMALIA BARRA SALDATURA",
|
||||
"##TIMEOUT PROXIMITY SBOBINATORE INFERIORE",
|
||||
"##TIMEOUT PROXIMITY SBOBINATORE SUPERIORE",
|
||||
"ROTTURA FILM",
|
||||
"ANOMALIA SONDA PT100 TUNNEL",
|
||||
"ANOMALIA SONDA PT100 SALDATURA",
|
||||
"ANOMALIA INVERTER BARRA SALDATURA",
|
||||
"ANOMALIA INVERTER TAPPETO TUNNEL",
|
||||
"ANOMALIA INVERTER NASTRO DI CARICO",
|
||||
"ANOMALIA INVERTER PALA CARICO",
|
||||
"SALDATURA NON INSERITA",
|
||||
"TEMPERATURA TUNNEL FUORI RANGE",
|
||||
"TEMPERATURA SALDATURA FUORI RANGE",
|
||||
"LINEA INGRESSO INTASATA",
|
||||
"MACCHINA A MONTE IN EMERGENZA",
|
||||
"MACCHINA A VALLE FERMA",
|
||||
"PRODOTTO IN USCITA PIENO",
|
||||
"BYPASS SPORTELLI INSERITO",
|
||||
"BARRA SALDANTE NON IN POSIZIONE, EFFETTUARE SALDATURA MANUALE",
|
||||
"GESTIONALE: MACCHINA IN CICLO",
|
||||
"GESTIONALE: RICETTA NON TROVATA"
|
||||
]
|
||||
},
|
||||
{
|
||||
"description": "Allarmi Impianto 02",
|
||||
"tipoMem": "DInt",
|
||||
"memAddr": "41096",
|
||||
"index": 1096,
|
||||
"size": 4,
|
||||
"messages": [
|
||||
"PROBLEMA FC BYPASS EMERGENZA BARRA",
|
||||
"PROBLEMA FC EMERGENZA BARRA",
|
||||
"##",
|
||||
"##",
|
||||
"##",
|
||||
"##",
|
||||
"##",
|
||||
"##",
|
||||
"##",
|
||||
"##",
|
||||
"##",
|
||||
"##",
|
||||
"##",
|
||||
"##",
|
||||
"##",
|
||||
"##",
|
||||
"##",
|
||||
"##",
|
||||
"##",
|
||||
"##",
|
||||
"##",
|
||||
"##",
|
||||
"##",
|
||||
"##",
|
||||
"##",
|
||||
"##",
|
||||
"##",
|
||||
"##",
|
||||
"##",
|
||||
"##",
|
||||
"##",
|
||||
"##"
|
||||
]
|
||||
}
|
||||
]
|
||||
@@ -0,0 +1,85 @@
|
||||
;Configurazione IOB-WIN
|
||||
[IOB]
|
||||
;Impianto Cedax di Turi (test) - Giacovelli
|
||||
CNCTYPE=MODBUS_TCP_CEDAX
|
||||
PING_MS_TIMEOUT=1000
|
||||
MinDeltaSec=5
|
||||
|
||||
[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
|
||||
DISABLE_SEND_WDST=TRUE
|
||||
|
||||
; 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
|
||||
|
||||
; Tags manuali
|
||||
[TAGS]
|
||||
Customer=Giacovelli-Turi
|
||||
HostOS=WIN
|
||||
HostName=IOB-WIN-01
|
||||
HostAddr=192.168.137.11
|
||||
@@ -0,0 +1,263 @@
|
||||
{
|
||||
"mMapWrite": {
|
||||
"Dose_Staz_1": {
|
||||
"name": "Dose_Staz_1",
|
||||
"description": "Dose Stazione 1",
|
||||
"memAddr": "40024",
|
||||
"tipoMem": "Int",
|
||||
"index": 24,
|
||||
"size": 1,
|
||||
"func": "MEDIAN",
|
||||
"period": 90,
|
||||
"factor": 0.01,
|
||||
"minVal": 0,
|
||||
"maxVal": 999999999,
|
||||
"unit": "%"
|
||||
},
|
||||
"Dose_Staz_2": {
|
||||
"name": "Dose_Staz_2",
|
||||
"description": "Dose Stazione 2",
|
||||
"memAddr": "40025",
|
||||
"tipoMem": "Int",
|
||||
"index": 25,
|
||||
"size": 1,
|
||||
"func": "MEDIAN",
|
||||
"period": 90,
|
||||
"factor": 0.01,
|
||||
"minVal": 0,
|
||||
"maxVal": 999999999,
|
||||
"unit": "%"
|
||||
},
|
||||
"Dose_Staz_3": {
|
||||
"name": "Dose_Staz_3",
|
||||
"description": "Dose Stazione 3",
|
||||
"memAddr": "40026",
|
||||
"tipoMem": "Int",
|
||||
"index": 26,
|
||||
"size": 1,
|
||||
"func": "MEDIAN",
|
||||
"period": 90,
|
||||
"factor": 0.01,
|
||||
"minVal": 0,
|
||||
"maxVal": 999999999,
|
||||
"unit": "%"
|
||||
},
|
||||
"Dose_Staz_4": {
|
||||
"name": "Dose_Staz_4",
|
||||
"description": "Dose Stazione 4",
|
||||
"memAddr": "40027",
|
||||
"tipoMem": "Int",
|
||||
"index": 27,
|
||||
"size": 1,
|
||||
"func": "MEDIAN",
|
||||
"period": 90,
|
||||
"factor": 0.01,
|
||||
"minVal": 0,
|
||||
"maxVal": 999999999,
|
||||
"unit": "%"
|
||||
}
|
||||
},
|
||||
"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": "41003",
|
||||
"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": "41005",
|
||||
"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": "41007",
|
||||
"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": "41009",
|
||||
"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": "41013",
|
||||
"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": "41015",
|
||||
"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": "41017",
|
||||
"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": "41019",
|
||||
"tipoMem": "HLPInt",
|
||||
"index": 1019,
|
||||
"size": 2,
|
||||
"func": "MEDIAN",
|
||||
"period": 90,
|
||||
"factor": 0.01,
|
||||
"minVal": 0,
|
||||
"maxVal": 999999999,
|
||||
"unit": "l"
|
||||
},
|
||||
"Dose_Staz_1": {
|
||||
"name": "Dose_Staz_1",
|
||||
"description": "Dose Stazione 1",
|
||||
"memAddr": "40024",
|
||||
"tipoMem": "Int",
|
||||
"index": 24,
|
||||
"size": 1,
|
||||
"func": "MEDIAN",
|
||||
"period": 90,
|
||||
"factor": 0.01,
|
||||
"minVal": 0,
|
||||
"maxVal": 999999999,
|
||||
"unit": "%"
|
||||
},
|
||||
"Dose_Staz_2": {
|
||||
"name": "Dose_Staz_2",
|
||||
"description": "Dose Stazione 2",
|
||||
"memAddr": "40025",
|
||||
"tipoMem": "Int",
|
||||
"index": 25,
|
||||
"size": 1,
|
||||
"func": "MEDIAN",
|
||||
"period": 90,
|
||||
"factor": 0.01,
|
||||
"minVal": 0,
|
||||
"maxVal": 999999999,
|
||||
"unit": "%"
|
||||
},
|
||||
"Dose_Staz_3": {
|
||||
"name": "Dose_Staz_3",
|
||||
"description": "Dose Stazione 3",
|
||||
"memAddr": "40026",
|
||||
"tipoMem": "Int",
|
||||
"index": 26,
|
||||
"size": 1,
|
||||
"func": "MEDIAN",
|
||||
"period": 90,
|
||||
"factor": 0.01,
|
||||
"minVal": 0,
|
||||
"maxVal": 999999999,
|
||||
"unit": "%"
|
||||
},
|
||||
"Dose_Staz_4": {
|
||||
"name": "Dose_Staz_4",
|
||||
"description": "Dose Stazione 4",
|
||||
"memAddr": "40027",
|
||||
"tipoMem": "Int",
|
||||
"index": 27,
|
||||
"size": 1,
|
||||
"func": "MEDIAN",
|
||||
"period": 90,
|
||||
"factor": 0.01,
|
||||
"minVal": 0,
|
||||
"maxVal": 999999999,
|
||||
"unit": "%"
|
||||
}
|
||||
},
|
||||
"optKVP": {
|
||||
"fluxLogReduce": true,
|
||||
"fluxLogRedDeadBand": 1.0,
|
||||
"fluxLogResendPeriod": 60
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,6 @@
|
||||
{
|
||||
"ReadBlocks": {
|
||||
"40016": 16,
|
||||
"40999": 32
|
||||
}
|
||||
}
|
||||
@@ -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",
|
||||
"##",
|
||||
"##",
|
||||
"##",
|
||||
"##",
|
||||
"##",
|
||||
"##",
|
||||
"##",
|
||||
"##"
|
||||
]
|
||||
}
|
||||
]
|
||||
@@ -0,0 +1,85 @@
|
||||
;Configurazione IOB-WIN
|
||||
[IOB]
|
||||
;Impianto Cedax di Turi (test) - Giacovelli
|
||||
CNCTYPE=MODBUS_TCP_CEDAX
|
||||
PING_MS_TIMEOUT=1000
|
||||
MinDeltaSec=5
|
||||
|
||||
[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
|
||||
DISABLE_SEND_WDST=TRUE
|
||||
|
||||
; 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
|
||||
|
||||
; Tags manuali
|
||||
[TAGS]
|
||||
Customer=Giacovelli-Turi
|
||||
HostOS=WIN
|
||||
HostName=IOB-WIN-01
|
||||
HostAddr=192.168.137.11
|
||||
@@ -0,0 +1,291 @@
|
||||
{
|
||||
"mMapWrite": {
|
||||
"Dose_Staz_1": {
|
||||
"name": "Dose_Staz_1",
|
||||
"description": "Dose Stazione 1",
|
||||
"memAddr": "40024",
|
||||
"tipoMem": "Int",
|
||||
"index": 24,
|
||||
"size": 1,
|
||||
"func": "MEDIAN",
|
||||
"period": 90,
|
||||
"factor": 0.01,
|
||||
"minVal": 0,
|
||||
"maxVal": 999999999,
|
||||
"unit": "%"
|
||||
},
|
||||
"Dose_Staz_2": {
|
||||
"name": "Dose_Staz_2",
|
||||
"description": "Dose Stazione 2",
|
||||
"memAddr": "40025",
|
||||
"tipoMem": "Int",
|
||||
"index": 25,
|
||||
"size": 1,
|
||||
"func": "MEDIAN",
|
||||
"period": 90,
|
||||
"factor": 0.01,
|
||||
"minVal": 0,
|
||||
"maxVal": 999999999,
|
||||
"unit": "%"
|
||||
},
|
||||
"Dose_Staz_3": {
|
||||
"name": "Dose_Staz_3",
|
||||
"description": "Dose Stazione 3",
|
||||
"memAddr": "40026",
|
||||
"tipoMem": "Int",
|
||||
"index": 26,
|
||||
"size": 1,
|
||||
"func": "MEDIAN",
|
||||
"period": 90,
|
||||
"factor": 0.01,
|
||||
"minVal": 0,
|
||||
"maxVal": 999999999,
|
||||
"unit": "%"
|
||||
},
|
||||
"Dose_Staz_4": {
|
||||
"name": "Dose_Staz_4",
|
||||
"description": "Dose Stazione 4",
|
||||
"memAddr": "40027",
|
||||
"tipoMem": "Int",
|
||||
"index": 27,
|
||||
"size": 1,
|
||||
"func": "MEDIAN",
|
||||
"period": 90,
|
||||
"factor": 0.01,
|
||||
"minVal": 0,
|
||||
"maxVal": 999999999,
|
||||
"unit": "%"
|
||||
}
|
||||
},
|
||||
"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"
|
||||
},
|
||||
"Dose_Staz_1": {
|
||||
"name": "Dose_Staz_1",
|
||||
"description": "Dose Stazione 1",
|
||||
"memAddr": "40024",
|
||||
"tipoMem": "Int",
|
||||
"index": 24,
|
||||
"size": 1,
|
||||
"func": "MEDIAN",
|
||||
"period": 90,
|
||||
"factor": 0.01,
|
||||
"minVal": 0,
|
||||
"maxVal": 999999999,
|
||||
"unit": "%"
|
||||
},
|
||||
"Dose_Staz_2": {
|
||||
"name": "Dose_Staz_2",
|
||||
"description": "Dose Stazione 2",
|
||||
"memAddr": "40025",
|
||||
"tipoMem": "Int",
|
||||
"index": 25,
|
||||
"size": 1,
|
||||
"func": "MEDIAN",
|
||||
"period": 90,
|
||||
"factor": 0.01,
|
||||
"minVal": 0,
|
||||
"maxVal": 999999999,
|
||||
"unit": "%"
|
||||
},
|
||||
"Dose_Staz_3": {
|
||||
"name": "Dose_Staz_3",
|
||||
"description": "Dose Stazione 3",
|
||||
"memAddr": "40026",
|
||||
"tipoMem": "Int",
|
||||
"index": 26,
|
||||
"size": 1,
|
||||
"func": "MEDIAN",
|
||||
"period": 90,
|
||||
"factor": 0.01,
|
||||
"minVal": 0,
|
||||
"maxVal": 999999999,
|
||||
"unit": "%"
|
||||
},
|
||||
"Dose_Staz_4": {
|
||||
"name": "Dose_Staz_4",
|
||||
"description": "Dose Stazione 4",
|
||||
"memAddr": "40027",
|
||||
"tipoMem": "Int",
|
||||
"index": 27,
|
||||
"size": 1,
|
||||
"func": "MEDIAN",
|
||||
"period": 90,
|
||||
"factor": 0.01,
|
||||
"minVal": 0,
|
||||
"maxVal": 999999999,
|
||||
"unit": "%"
|
||||
}
|
||||
},
|
||||
"optKVP": {
|
||||
"fluxLogReduce": true,
|
||||
"fluxLogRedDeadBand": 1.0,
|
||||
"fluxLogResendPeriod": 60
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,6 @@
|
||||
{
|
||||
"ReadBlocks": {
|
||||
"40016": 16,
|
||||
"40999": 32
|
||||
}
|
||||
}
|
||||
@@ -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",
|
||||
"##",
|
||||
"##",
|
||||
"##",
|
||||
"##",
|
||||
"##",
|
||||
"##",
|
||||
"##",
|
||||
"##"
|
||||
]
|
||||
}
|
||||
]
|
||||
@@ -0,0 +1,85 @@
|
||||
;Configurazione IOB-WIN
|
||||
[IOB]
|
||||
;Impianto Cedax di Turi (test) - Giacovelli
|
||||
CNCTYPE=MODBUS_TCP_CEDAX
|
||||
PING_MS_TIMEOUT=1000
|
||||
MinDeltaSec=5
|
||||
|
||||
[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
|
||||
DISABLE_SEND_WDST=TRUE
|
||||
|
||||
; 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
|
||||
|
||||
; Tags manuali
|
||||
[TAGS]
|
||||
Customer=Giacovelli-Turi
|
||||
HostOS=WIN
|
||||
HostName=IOB-WIN-01
|
||||
HostAddr=192.168.137.11
|
||||
@@ -0,0 +1,207 @@
|
||||
{
|
||||
"mMapWrite": {
|
||||
"Dose_Staz_1": {
|
||||
"name": "Dose_Staz_1",
|
||||
"description": "Dose Stazione 1",
|
||||
"memAddr": "40024",
|
||||
"tipoMem": "Int",
|
||||
"index": 24,
|
||||
"size": 1,
|
||||
"func": "MEDIAN",
|
||||
"period": 90,
|
||||
"factor": 0.01,
|
||||
"minVal": 0,
|
||||
"maxVal": 999999999,
|
||||
"unit": "%"
|
||||
},
|
||||
"Dose_Staz_2": {
|
||||
"name": "Dose_Staz_2",
|
||||
"description": "Dose Stazione 2",
|
||||
"memAddr": "40025",
|
||||
"tipoMem": "Int",
|
||||
"index": 25,
|
||||
"size": 1,
|
||||
"func": "MEDIAN",
|
||||
"period": 90,
|
||||
"factor": 0.01,
|
||||
"minVal": 0,
|
||||
"maxVal": 999999999,
|
||||
"unit": "%"
|
||||
},
|
||||
"Dose_Staz_3": {
|
||||
"name": "Dose_Staz_3",
|
||||
"description": "Dose Stazione 3",
|
||||
"memAddr": "40026",
|
||||
"tipoMem": "Int",
|
||||
"index": 26,
|
||||
"size": 1,
|
||||
"func": "MEDIAN",
|
||||
"period": 90,
|
||||
"factor": 0.01,
|
||||
"minVal": 0,
|
||||
"maxVal": 999999999,
|
||||
"unit": "%"
|
||||
}
|
||||
},
|
||||
"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"
|
||||
},
|
||||
"Dose_Staz_1": {
|
||||
"name": "Dose_Staz_1",
|
||||
"description": "Dose Stazione 1",
|
||||
"memAddr": "40024",
|
||||
"tipoMem": "Int",
|
||||
"index": 24,
|
||||
"size": 1,
|
||||
"func": "MEDIAN",
|
||||
"period": 90,
|
||||
"factor": 0.01,
|
||||
"minVal": 0,
|
||||
"maxVal": 999999999,
|
||||
"unit": "%"
|
||||
},
|
||||
"Dose_Staz_2": {
|
||||
"name": "Dose_Staz_2",
|
||||
"description": "Dose Stazione 2",
|
||||
"memAddr": "40025",
|
||||
"tipoMem": "Int",
|
||||
"index": 25,
|
||||
"size": 1,
|
||||
"func": "MEDIAN",
|
||||
"period": 90,
|
||||
"factor": 0.01,
|
||||
"minVal": 0,
|
||||
"maxVal": 999999999,
|
||||
"unit": "%"
|
||||
},
|
||||
"Dose_Staz_3": {
|
||||
"name": "Dose_Staz_3",
|
||||
"description": "Dose Stazione 3",
|
||||
"memAddr": "40026",
|
||||
"tipoMem": "Int",
|
||||
"index": 26,
|
||||
"size": 1,
|
||||
"func": "MEDIAN",
|
||||
"period": 90,
|
||||
"factor": 0.01,
|
||||
"minVal": 0,
|
||||
"maxVal": 999999999,
|
||||
"unit": "%"
|
||||
}
|
||||
},
|
||||
"optKVP": {
|
||||
"fluxLogReduce": true,
|
||||
"fluxLogRedDeadBand": 1.0,
|
||||
"fluxLogResendPeriod": 60
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,6 @@
|
||||
{
|
||||
"ReadBlocks": {
|
||||
"40016": 16,
|
||||
"40999": 32
|
||||
}
|
||||
}
|
||||
@@ -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",
|
||||
"##",
|
||||
"##",
|
||||
"##",
|
||||
"##",
|
||||
"##",
|
||||
"##",
|
||||
"##",
|
||||
"##"
|
||||
]
|
||||
}
|
||||
]
|
||||
@@ -0,0 +1,95 @@
|
||||
;Configurazione IOB-WIN
|
||||
[IOB]
|
||||
;Impianto Cedax di Turi (test) - Giacovelli
|
||||
CNCTYPE=MODBUS_TCP_CENTERFRIGO
|
||||
PING_MS_TIMEOUT=1000
|
||||
MinDeltaSec=5
|
||||
|
||||
[MACHINE]
|
||||
VENDOR=Centerfrigo
|
||||
MODEL=Impianto Turi
|
||||
|
||||
[CNC]
|
||||
IP=192.168.4.161
|
||||
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=40001
|
||||
ADDR_WRITE=41000
|
||||
SIZE_READ=2400
|
||||
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
|
||||
DISABLE_SEND_WDST=TRUE
|
||||
|
||||
; clock base (da 10ms)
|
||||
timerIntMs=100
|
||||
minWait=50
|
||||
maxWait=150
|
||||
|
||||
AUTO_CHANGE_ODL=TRUE
|
||||
CHANGE_ODL_MODE=DAILY
|
||||
|
||||
; conf parametri memoria READ/WRITE
|
||||
PARAM_CONF=GIACO_CENTERFRIGO.json
|
||||
|
||||
NO_PING=FALSE
|
||||
; conf blocchi memoria x READ
|
||||
MEM_BLOCK=GIACO_CENTERFRIGO_MBlock.json
|
||||
; conf aree allarme
|
||||
ALARM_CONF=GIACO_CENTERFRIGO_alarm.json
|
||||
|
||||
; rimozione check limiti min/max dynData
|
||||
disDynDataRangeCheck=true
|
||||
|
||||
; conf file import
|
||||
FILE_IMPORT_FOLDER=C:\GiacenzeTuri
|
||||
FILE_IMPORT_TYPE=*.xlsx
|
||||
FILE_ARCHIVE_FOLDER=C:\GiacenzeTuri\archivio
|
||||
|
||||
[BRANCH]
|
||||
NAME=master
|
||||
|
||||
; Tags manuali
|
||||
[TAGS]
|
||||
Customer=Giacovelli-Turi
|
||||
HostOS=WIN
|
||||
HostName=IOB-WIN-01
|
||||
HostAddr=192.168.137.11
|
||||
@@ -0,0 +1,463 @@
|
||||
{
|
||||
"mMapWrite": {
|
||||
"SetPoint_Tunnel_Req": {
|
||||
"name": "SetPoint_Tunnel_Req",
|
||||
"description": "Setpoint Tunnel",
|
||||
"memAddr": "44010",
|
||||
"tipoMem": "RealLH",
|
||||
"index": 4010,
|
||||
"size": 2,
|
||||
"factor": 1,
|
||||
"minVal": -5,
|
||||
"maxVal": 15,
|
||||
"unit": "°C"
|
||||
},
|
||||
"SetPoint_Cella_01_Req": {
|
||||
"name": "SetPoint_Cella_01_Req",
|
||||
"description": "Setpoint Cella 01",
|
||||
"memAddr": "44012",
|
||||
"tipoMem": "RealLH",
|
||||
"index": 4012,
|
||||
"size": 2,
|
||||
"factor": 1,
|
||||
"minVal": -5,
|
||||
"maxVal": 15,
|
||||
"unit": "°C"
|
||||
},
|
||||
"SetPoint_Cella_02_Req": {
|
||||
"name": "SetPoint_Cella_02_Req",
|
||||
"description": "Setpoint Cella 02",
|
||||
"memAddr": "44014",
|
||||
"tipoMem": "RealLH",
|
||||
"index": 4014,
|
||||
"size": 2,
|
||||
"factor": 1,
|
||||
"minVal": -5,
|
||||
"maxVal": 15,
|
||||
"unit": "°C"
|
||||
},
|
||||
"SetPoint_Cella_03_Req": {
|
||||
"name": "SetPoint_Cella_03_Req",
|
||||
"description": "Setpoint Cella 03",
|
||||
"memAddr": "44016",
|
||||
"tipoMem": "RealLH",
|
||||
"index": 4016,
|
||||
"size": 2,
|
||||
"factor": 1,
|
||||
"minVal": -5,
|
||||
"maxVal": 15,
|
||||
"unit": "°C"
|
||||
},
|
||||
"SetPoint_Cella_04_Req": {
|
||||
"name": "SetPoint_Cella_04_Req",
|
||||
"description": "Setpoint Cella 04",
|
||||
"memAddr": "44018",
|
||||
"tipoMem": "RealLH",
|
||||
"index": 4018,
|
||||
"size": 2,
|
||||
"factor": 1,
|
||||
"minVal": -5,
|
||||
"maxVal": 15,
|
||||
"unit": "°C"
|
||||
}
|
||||
},
|
||||
"mMapRead": {
|
||||
"Temp_Tunnel": {
|
||||
"name": "Temp_Tunnel",
|
||||
"description": "Temperatura Tunnel",
|
||||
"memAddr": "41520",
|
||||
"tipoMem": "Real",
|
||||
"index": 1520,
|
||||
"size": 2,
|
||||
"func": "MEDIAN",
|
||||
"period": 60,
|
||||
"factor": 1,
|
||||
"minVal": -100,
|
||||
"maxVal": 100,
|
||||
"unit": "°C"
|
||||
},
|
||||
"SetPoint_Tunnel": {
|
||||
"name": "SetPoint_Tunnel",
|
||||
"description": "Setpoint Tunnel",
|
||||
"memAddr": "41560",
|
||||
"tipoMem": "Real",
|
||||
"index": 1560,
|
||||
"size": 2,
|
||||
"func": "MEDIAN",
|
||||
"period": 60,
|
||||
"factor": 1,
|
||||
"minVal": -100,
|
||||
"maxVal": 100,
|
||||
"unit": "°C"
|
||||
},
|
||||
"Temp_Cella_01": {
|
||||
"name": "Temp_Cella_01",
|
||||
"description": "Temperatura Cella 01",
|
||||
"memAddr": "41660",
|
||||
"tipoMem": "Real",
|
||||
"index": 1660,
|
||||
"size": 2,
|
||||
"func": "MEDIAN",
|
||||
"period": 60,
|
||||
"factor": 1,
|
||||
"minVal": -100,
|
||||
"maxVal": 100,
|
||||
"unit": "°C"
|
||||
},
|
||||
"SetPoint_Cella_01": {
|
||||
"name": "SetPoint_Cella_01",
|
||||
"description": "Setpoint Cella 01",
|
||||
"memAddr": "41700",
|
||||
"tipoMem": "Real",
|
||||
"index": 1700,
|
||||
"size": 2,
|
||||
"func": "MEDIAN",
|
||||
"period": 60,
|
||||
"factor": 1,
|
||||
"minVal": -100,
|
||||
"maxVal": 100,
|
||||
"unit": "°C"
|
||||
},
|
||||
"Temp_Cella_02": {
|
||||
"name": "Temp_Cella_02",
|
||||
"description": "Temperatura Cella 02",
|
||||
"memAddr": "41810",
|
||||
"tipoMem": "Real",
|
||||
"index": 1810,
|
||||
"size": 2,
|
||||
"func": "MEDIAN",
|
||||
"period": 60,
|
||||
"factor": 1,
|
||||
"minVal": -100,
|
||||
"maxVal": 100,
|
||||
"unit": "°C"
|
||||
},
|
||||
"SetPoint_Cella_02": {
|
||||
"name": "SetPoint_Cella_02",
|
||||
"description": "Setpoint Cella 02",
|
||||
"memAddr": "41840",
|
||||
"tipoMem": "Real",
|
||||
"index": 1840,
|
||||
"size": 2,
|
||||
"func": "MEDIAN",
|
||||
"period": 60,
|
||||
"factor": 1,
|
||||
"minVal": -100,
|
||||
"maxVal": 100,
|
||||
"unit": "°C"
|
||||
},
|
||||
"Temp_Cella_03": {
|
||||
"name": "Temp_Cella_03",
|
||||
"description": "Temperatura Cella 03",
|
||||
"memAddr": "41930",
|
||||
"tipoMem": "Real",
|
||||
"index": 1930,
|
||||
"size": 2,
|
||||
"func": "MEDIAN",
|
||||
"period": 60,
|
||||
"factor": 1,
|
||||
"minVal": -100,
|
||||
"maxVal": 100,
|
||||
"unit": "°C"
|
||||
},
|
||||
"SetPoint_Cella_03": {
|
||||
"name": "SetPoint_Cella_03",
|
||||
"description": "Setpoint Cella 03",
|
||||
"memAddr": "41960",
|
||||
"tipoMem": "Real",
|
||||
"index": 1960,
|
||||
"size": 2,
|
||||
"func": "MEDIAN",
|
||||
"period": 60,
|
||||
"factor": 1,
|
||||
"minVal": -100,
|
||||
"maxVal": 100,
|
||||
"unit": "°C"
|
||||
},
|
||||
"Temp_Cella_04": {
|
||||
"name": "Temp_Cella_04",
|
||||
"description": "Temperatura Cella 04",
|
||||
"memAddr": "42050",
|
||||
"tipoMem": "Real",
|
||||
"index": 2050,
|
||||
"size": 2,
|
||||
"func": "MEDIAN",
|
||||
"period": 60,
|
||||
"factor": 1,
|
||||
"minVal": -100,
|
||||
"maxVal": 100,
|
||||
"unit": "°C"
|
||||
},
|
||||
"SetPoint_Cella_04": {
|
||||
"name": "SetPoint_Cella_04",
|
||||
"description": "Setpoint Cella 04",
|
||||
"memAddr": "41840",
|
||||
"tipoMem": "Real",
|
||||
"index": 1840,
|
||||
"size": 2,
|
||||
"func": "MEDIAN",
|
||||
"period": 60,
|
||||
"factor": 1,
|
||||
"minVal": -100,
|
||||
"maxVal": 100,
|
||||
"unit": "°C"
|
||||
},
|
||||
//"Temp_Sala_Bassa": {
|
||||
// "name": "Temp_Sala_Bassa",
|
||||
// "description": "Temperatura Sala Zona Bassa",
|
||||
// "memAddr": "42290",
|
||||
// "tipoMem": "Real",
|
||||
// "index": 2290,
|
||||
// "size": 2,
|
||||
// "func": "MEDIAN",
|
||||
// "period": 60,
|
||||
// "factor": 1,
|
||||
// "minVal": -100,
|
||||
// "maxVal": 100,
|
||||
// "unit": "°C"
|
||||
//},
|
||||
//"SetPoint_Sala_Bassa": {
|
||||
// "name": "SetPoint_Sala_Bassa",
|
||||
// "description": "Setpoint Sala Zona Bassa",
|
||||
// "memAddr": "42330",
|
||||
// "tipoMem": "Real",
|
||||
// "index": 2330,
|
||||
// "size": 2,
|
||||
// "func": "MEDIAN",
|
||||
// "period": 60,
|
||||
// "factor": 1,
|
||||
// "minVal": -100,
|
||||
// "maxVal": 100,
|
||||
// "unit": "°C"
|
||||
//},
|
||||
//"Temp_Sala_Alta": {
|
||||
// "name": "Temp_Sala_Alta",
|
||||
// "description": "Temperatura Sala Zona Alta",
|
||||
// "memAddr": "42420",
|
||||
// "tipoMem": "Real",
|
||||
// "index": 2420,
|
||||
// "size": 2,
|
||||
// "func": "MEDIAN",
|
||||
// "period": 60,
|
||||
// "factor": 1,
|
||||
// "minVal": -100,
|
||||
// "maxVal": 100,
|
||||
// "unit": "°C"
|
||||
//},
|
||||
//"SetPoint_Sala_Alta": {
|
||||
// "name": "SetPoint_Sala_Alta",
|
||||
// "description": "Setpoint Sala Zona Alta",
|
||||
// "memAddr": "42460",
|
||||
// "tipoMem": "Real",
|
||||
// "index": 2460,
|
||||
// "size": 2,
|
||||
// "func": "MEDIAN",
|
||||
// "period": 60,
|
||||
// "factor": 1,
|
||||
// "minVal": -100,
|
||||
// "maxVal": 100,
|
||||
// "unit": "°C"
|
||||
//},
|
||||
"Temp_Hydrocooler": {
|
||||
"name": "Temp_Hydrocooler",
|
||||
"description": "Temperatura Hydrocooler",
|
||||
"memAddr": "42550",
|
||||
"tipoMem": "Real",
|
||||
"index": 2550,
|
||||
"size": 2,
|
||||
"func": "MEDIAN",
|
||||
"period": 60,
|
||||
"factor": 1,
|
||||
"minVal": -100,
|
||||
"maxVal": 100,
|
||||
"unit": "°C"
|
||||
},
|
||||
"SetPoint_Hydrocooler": {
|
||||
"name": "SetPoint_Hydrocooler",
|
||||
"description": "Setpoint Hydrocooler",
|
||||
"memAddr": "42580",
|
||||
"tipoMem": "Real",
|
||||
"index": 2580,
|
||||
"size": 2,
|
||||
"func": "MEDIAN",
|
||||
"period": 60,
|
||||
"factor": 1,
|
||||
"minVal": -100,
|
||||
"maxVal": 100,
|
||||
"unit": "°C"
|
||||
},
|
||||
"Temp_Calibr_01": {
|
||||
"name": "Temp_Calibr_01",
|
||||
"description": "Temperatura Calibratrice 01",
|
||||
"memAddr": "42670",
|
||||
"tipoMem": "Real",
|
||||
"index": 2670,
|
||||
"size": 2,
|
||||
"func": "MEDIAN",
|
||||
"period": 60,
|
||||
"factor": 1,
|
||||
"minVal": -100,
|
||||
"maxVal": 100,
|
||||
"unit": "°C"
|
||||
},
|
||||
"SetPoint_Calibr_01": {
|
||||
"name": "SetPoint_Calibr_01",
|
||||
"description": "SetPoint Calibratrice 01",
|
||||
"memAddr": "42710",
|
||||
"tipoMem": "Real",
|
||||
"index": 2710,
|
||||
"size": 2,
|
||||
"func": "MEDIAN",
|
||||
"period": 60,
|
||||
"factor": 1,
|
||||
"minVal": -100,
|
||||
"maxVal": 100,
|
||||
"unit": "°C"
|
||||
},
|
||||
"Temp_Calibr_02": {
|
||||
"name": "Temp_Calibr_02",
|
||||
"description": "Temperatura Calibratrice 02",
|
||||
"memAddr": "42800",
|
||||
"tipoMem": "Real",
|
||||
"index": 2800,
|
||||
"size": 2,
|
||||
"func": "MEDIAN",
|
||||
"period": 60,
|
||||
"factor": 1,
|
||||
"minVal": -100,
|
||||
"maxVal": 100,
|
||||
"unit": "°C"
|
||||
},
|
||||
"SetPoint_Calibr_02": {
|
||||
"name": "SetPoint_Calibr_02",
|
||||
"description": "SetPoint Calibratrice 02",
|
||||
"memAddr": "42830",
|
||||
"tipoMem": "Real",
|
||||
"index": 2830,
|
||||
"size": 2,
|
||||
"func": "MEDIAN",
|
||||
"period": 60,
|
||||
"factor": 1,
|
||||
"minVal": -100,
|
||||
"maxVal": 100,
|
||||
"unit": "°C"
|
||||
},
|
||||
"Temp_Calibr_03": {
|
||||
"name": "Temp_Calibr_03",
|
||||
"description": "Temperatura Calibratrice 03",
|
||||
"memAddr": "42920",
|
||||
"tipoMem": "Real",
|
||||
"index": 2920,
|
||||
"size": 2,
|
||||
"func": "MEDIAN",
|
||||
"period": 60,
|
||||
"factor": 1,
|
||||
"minVal": -100,
|
||||
"maxVal": 100,
|
||||
"unit": "°C"
|
||||
},
|
||||
"SetPoint_Calibr_03": {
|
||||
"name": "SetPoint_Calibr_03",
|
||||
"description": "SetPoint Calibratrice 03",
|
||||
"memAddr": "42950",
|
||||
"tipoMem": "Real",
|
||||
"index": 2950,
|
||||
"size": 2,
|
||||
"func": "MEDIAN",
|
||||
"period": 60,
|
||||
"factor": 1,
|
||||
"minVal": -100,
|
||||
"maxVal": 100,
|
||||
"unit": "°C"
|
||||
},
|
||||
"Temp_Calibr_04": {
|
||||
"name": "Temp_Calibr_04",
|
||||
"description": "Temperatura Calibratrice 04",
|
||||
"memAddr": "43050",
|
||||
"tipoMem": "Real",
|
||||
"index": 3050,
|
||||
"size": 2,
|
||||
"func": "MEDIAN",
|
||||
"period": 60,
|
||||
"factor": 1,
|
||||
"minVal": -100,
|
||||
"maxVal": 100,
|
||||
"unit": "°C"
|
||||
},
|
||||
"SetPoint_Calibr_04": {
|
||||
"name": "SetPoint_Calibr_04",
|
||||
"description": "SetPoint Calibratrice 04",
|
||||
"memAddr": "43080",
|
||||
"tipoMem": "Real",
|
||||
"index": 3080,
|
||||
"size": 2,
|
||||
"func": "MEDIAN",
|
||||
"period": 60,
|
||||
"factor": 1,
|
||||
"minVal": -100,
|
||||
"maxVal": 100,
|
||||
"unit": "°C"
|
||||
},
|
||||
"Temp_Serbatoi": {
|
||||
"name": "Temp_Serbatoi",
|
||||
"description": "Temperatura Searbatoi",
|
||||
"memAddr": "43170",
|
||||
"tipoMem": "Real",
|
||||
"index": 3170,
|
||||
"size": 2,
|
||||
"func": "MEDIAN",
|
||||
"period": 60,
|
||||
"factor": 1,
|
||||
"minVal": -100,
|
||||
"maxVal": 100,
|
||||
"unit": "°C"
|
||||
},
|
||||
"SetPoint_Searbatoi": {
|
||||
"name": "SetPoint_Searbatoi",
|
||||
"description": "SetPoint Searbatoi",
|
||||
"memAddr": "43200",
|
||||
"tipoMem": "Real",
|
||||
"index": 3200,
|
||||
"size": 2,
|
||||
"func": "MEDIAN",
|
||||
"period": 60,
|
||||
"factor": 1,
|
||||
"minVal": -100,
|
||||
"maxVal": 100,
|
||||
"unit": "°C"
|
||||
},
|
||||
"Temp_Serpentine": {
|
||||
"name": "Temp_Serpentine",
|
||||
"description": "Temperatura Serpentine",
|
||||
"memAddr": "43290",
|
||||
"tipoMem": "Real",
|
||||
"index": 3290,
|
||||
"size": 2,
|
||||
"func": "MEDIAN",
|
||||
"period": 60,
|
||||
"factor": 1,
|
||||
"minVal": -100,
|
||||
"maxVal": 100,
|
||||
"unit": "°C"
|
||||
},
|
||||
"SetPoint_Serpentine": {
|
||||
"name": "SetPoint_Serpentine",
|
||||
"description": "SetPoint Serpentine",
|
||||
"memAddr": "43320",
|
||||
"tipoMem": "Real",
|
||||
"index": 3320,
|
||||
"size": 2,
|
||||
"func": "MEDIAN",
|
||||
"period": 60,
|
||||
"factor": 1,
|
||||
"minVal": -100,
|
||||
"maxVal": 100,
|
||||
"unit": "°C"
|
||||
}
|
||||
},
|
||||
"optKVP": {
|
||||
"fluxLogReduce": true,
|
||||
"fluxLogRedDeadBand": 1.0,
|
||||
"fluxLogResendPeriod": 60
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,25 @@
|
||||
{
|
||||
"ReadBlocks": {
|
||||
"41500": 32,
|
||||
"41532": 32,
|
||||
"41616": 32,
|
||||
"41650": 32,
|
||||
"41682": 32,
|
||||
"41800": 32,
|
||||
"41832": 32,
|
||||
"41920": 44,
|
||||
"42040": 44,
|
||||
"42160": 8,
|
||||
"42290": 44,
|
||||
"42410": 32,
|
||||
"42442": 32,
|
||||
"42540": 44,
|
||||
"42660": 32,
|
||||
"42692": 32,
|
||||
"42790": 44,
|
||||
"42910": 44,
|
||||
"43040": 44,
|
||||
"43160": 44,
|
||||
"43280": 44
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,27 @@
|
||||
{
|
||||
"ReadBlocks": {
|
||||
"41060": 4,
|
||||
"41300": 4,
|
||||
"41500": 32,
|
||||
"41532": 32,
|
||||
"41650": 32,
|
||||
"41682": 32,
|
||||
"41800": 32,
|
||||
"41832": 32,
|
||||
"41920": 44,
|
||||
"42040": 44,
|
||||
"42160": 8,
|
||||
"42290": 44,
|
||||
"42410": 32,
|
||||
"42442": 32,
|
||||
"42540": 44,
|
||||
"42660": 32,
|
||||
"42692": 32,
|
||||
"42790": 44,
|
||||
"42910": 44,
|
||||
"43040": 44,
|
||||
"43160": 44,
|
||||
"43280": 44,
|
||||
"43400": 4
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,227 @@
|
||||
[
|
||||
{
|
||||
"description": "Centrale Frigorifera",
|
||||
"tipoMem": "DInt",
|
||||
"memAddr": "41508",
|
||||
"index": 1508,
|
||||
"size": 2,
|
||||
"messages": [
|
||||
"##",
|
||||
"##",
|
||||
"##",
|
||||
"##",
|
||||
"##",
|
||||
"##",
|
||||
"##",
|
||||
"ALLARME CENTRALE FRIGORIFERA",
|
||||
"ALLARME GENERICO IMPIANTO",
|
||||
"##",
|
||||
"##",
|
||||
"##",
|
||||
"##",
|
||||
"##",
|
||||
"##",
|
||||
"##"
|
||||
]
|
||||
},
|
||||
{
|
||||
"description": "Allarmi Tunnel",
|
||||
"tipoMem": "DInt",
|
||||
"memAddr": "41654",
|
||||
"index": 1654,
|
||||
"size": 2,
|
||||
"messages": [
|
||||
"ALLARME ALTA TEMPERATURA AMBIENTE TUNNEL",
|
||||
"##",
|
||||
"##",
|
||||
"##",
|
||||
"##",
|
||||
"##",
|
||||
"##",
|
||||
"##",
|
||||
"##",
|
||||
"##",
|
||||
"ALLARME CUMULATIVO TUNNEL",
|
||||
"##",
|
||||
"##",
|
||||
"##",
|
||||
"##",
|
||||
"##"
|
||||
]
|
||||
},
|
||||
{
|
||||
"description": "Allarmi Cella 01",
|
||||
"tipoMem": "DInt",
|
||||
"memAddr": "41804",
|
||||
"index": 1804,
|
||||
"size": 2,
|
||||
"messages": [
|
||||
"ALLARME ALTA TEMPERATURA AMBIENTE CELLA 01",
|
||||
"##",
|
||||
"##",
|
||||
"##",
|
||||
"##",
|
||||
"##",
|
||||
"##",
|
||||
"##",
|
||||
"##",
|
||||
"##",
|
||||
"ALLARME CUMULATIVO CELLA 01",
|
||||
"##",
|
||||
"##",
|
||||
"##",
|
||||
"##",
|
||||
"##"
|
||||
]
|
||||
},
|
||||
{
|
||||
"description": "Allarmi Cella 02",
|
||||
"tipoMem": "DInt",
|
||||
"memAddr": "41924",
|
||||
"index": 1924,
|
||||
"size": 2,
|
||||
"messages": [
|
||||
"ALLARME ALTA TEMPERATURA AMBIENTE CELLA 02",
|
||||
"##",
|
||||
"##",
|
||||
"##",
|
||||
"##",
|
||||
"##",
|
||||
"##",
|
||||
"##",
|
||||
"##",
|
||||
"##",
|
||||
"ALLARME CUMULATIVO CELLA 02",
|
||||
"##",
|
||||
"##",
|
||||
"##",
|
||||
"##",
|
||||
"##"
|
||||
]
|
||||
},
|
||||
{
|
||||
"description": "Allarmi Cella 03",
|
||||
"tipoMem": "DInt",
|
||||
"memAddr": "42044",
|
||||
"index": 2044,
|
||||
"size": 2,
|
||||
"messages": [
|
||||
"ALLARME ALTA TEMPERATURA AMBIENTE CELLA 03",
|
||||
"##",
|
||||
"##",
|
||||
"##",
|
||||
"##",
|
||||
"##",
|
||||
"##",
|
||||
"##",
|
||||
"##",
|
||||
"##",
|
||||
"ALLARME CUMULATIVO CELLA 03",
|
||||
"##",
|
||||
"##",
|
||||
"##",
|
||||
"##",
|
||||
"##"
|
||||
]
|
||||
},
|
||||
// {
|
||||
// "description": "Allarmi Cella 04",
|
||||
// "tipoMem": "DInt",
|
||||
// "memAddr": "42164",
|
||||
// "index": 2164,
|
||||
// "size": 2,
|
||||
// "messages": [
|
||||
// "ALLARME ALTA TEMPERATURA AMBIENTE CELLA 04",
|
||||
// "##",
|
||||
// "##",
|
||||
// "##",
|
||||
// "##",
|
||||
// "##",
|
||||
// "##",
|
||||
// "##",
|
||||
// "##",
|
||||
// "##",
|
||||
// "ALLARME CUMULATIVO CELLA 04",
|
||||
// "##",
|
||||
// "##",
|
||||
// "##",
|
||||
// "##",
|
||||
// "##"
|
||||
// ]
|
||||
// },
|
||||
{
|
||||
"description": "Allarmi Sala Bassa",
|
||||
"tipoMem": "DInt",
|
||||
"memAddr": "42414",
|
||||
"index": 2414,
|
||||
"size": 2,
|
||||
"messages": [
|
||||
"ALLARME ALTA TEMPERATURA AMBIENTE SALA BASSA",
|
||||
"##",
|
||||
"##",
|
||||
"##",
|
||||
"##",
|
||||
"##",
|
||||
"##",
|
||||
"##",
|
||||
"##",
|
||||
"##",
|
||||
"ALLARME CUMULATIVO SALA BASSA",
|
||||
"##",
|
||||
"##",
|
||||
"##",
|
||||
"##",
|
||||
"##"
|
||||
]
|
||||
},
|
||||
{
|
||||
"description": "Allarmi Sala Alta",
|
||||
"tipoMem": "DInt",
|
||||
"memAddr": "42544",
|
||||
"index": 2544,
|
||||
"size": 2,
|
||||
"messages": [
|
||||
"ALLARME ALTA TEMPERATURA AMBIENTE SALA ALTA",
|
||||
"##",
|
||||
"##",
|
||||
"##",
|
||||
"##",
|
||||
"##",
|
||||
"##",
|
||||
"##",
|
||||
"##",
|
||||
"##",
|
||||
"ALLARME CUMULATIVO SALA ALTA",
|
||||
"##",
|
||||
"##",
|
||||
"##",
|
||||
"##",
|
||||
"##"
|
||||
]
|
||||
},
|
||||
{
|
||||
"description": "Allarmi Hydrocooler",
|
||||
"tipoMem": "DInt",
|
||||
"memAddr": "42664",
|
||||
"index": 2664,
|
||||
"size": 2,
|
||||
"messages": [
|
||||
"ALLARME ALTA TEMPERATURA AMBIENTE HYDROCOOLER",
|
||||
"##",
|
||||
"##",
|
||||
"##",
|
||||
"##",
|
||||
"##",
|
||||
"##",
|
||||
"##",
|
||||
"##",
|
||||
"##",
|
||||
"ALLARME CUMULATIVO HYDROCOOLER",
|
||||
"##",
|
||||
"##",
|
||||
"##",
|
||||
"##",
|
||||
"##"
|
||||
]
|
||||
}
|
||||
]
|
||||
@@ -0,0 +1,97 @@
|
||||
;Configurazione IOB-WIN
|
||||
[IOB]
|
||||
;Impianto SAIM 01 Locorotondo - Giacovelli
|
||||
CNCTYPE=MODBUS_TCP_SAIM
|
||||
PING_MS_TIMEOUT=1000
|
||||
MinDeltaSec=5
|
||||
|
||||
[MACHINE]
|
||||
VENDOR=SAIM
|
||||
MODEL=Trattamento Ozono
|
||||
|
||||
[CNC]
|
||||
IP=192.168.18.12
|
||||
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=40000
|
||||
ADDR_WRITE=40000
|
||||
SIZE_READ=200
|
||||
SIZE_WRITE=0
|
||||
HR_BASE_ADDR=40000
|
||||
;DELTA_BASE=1
|
||||
DELTA_BASE=0
|
||||
MODBUS_EXT_REG=0
|
||||
INDEX_LUT_CORR=-1
|
||||
|
||||
[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
|
||||
DISABLE_SEND_WDST=TRUE
|
||||
|
||||
; clock base (da 10ms)
|
||||
timerIntMs=10
|
||||
|
||||
AUTO_CHANGE_ODL=TRUE
|
||||
CHANGE_ODL_MODE=DAILY
|
||||
|
||||
; conf parametri memoria READ/WRITE
|
||||
PARAM_CONF=GIACO_SAIM_001.json
|
||||
|
||||
NO_PING=FALSE
|
||||
; conf blocchi memoria x READ
|
||||
MEM_BLOCK=GIACO_SAIM_001_MBlock.json
|
||||
; conf aree allarme
|
||||
;ALARM_CONF=GIACO_SAIM_001_alarm.json
|
||||
|
||||
; rimozione check limiti min/max dynData
|
||||
disDynDataRangeCheck=true
|
||||
|
||||
; conf file import
|
||||
FILE_IMPORT_FOLDER=C:\GiacenzeLocorotondo
|
||||
FILE_IMPORT_TYPE=*.xlsx
|
||||
FILE_ARCHIVE_FOLDER=C:\GiacenzeLocorotondo\SAIM002
|
||||
EXCL_TOOL_PATH=C:\Steamware\IOB-WIN-NEXT\Tools
|
||||
|
||||
[BRANCH]
|
||||
NAME=master
|
||||
|
||||
; Tags manuali
|
||||
[TAGS]
|
||||
Customer=Giacovelli-Loco
|
||||
HostOS=WIN
|
||||
HostName=MAPO-GTW-LOC
|
||||
HostAddr=192.168.1.93
|
||||
@@ -0,0 +1,595 @@
|
||||
{
|
||||
"mMapWrite": {
|
||||
"PPM_min_C1": {
|
||||
"name": "PPM_min_C1",
|
||||
"description": "PPM min Camera 1",
|
||||
"memAddr": "40031",
|
||||
"tipoMem": "Int",
|
||||
"index": 31,
|
||||
"size": 1,
|
||||
"factor": 0.01,
|
||||
"minVal": 0,
|
||||
"maxVal": 1000,
|
||||
"unit": "PPM"
|
||||
},
|
||||
"PPM_max_C1": {
|
||||
"name": "PPM_max_C1",
|
||||
"description": "PPM MAX Camera 1",
|
||||
"memAddr": "40032",
|
||||
"tipoMem": "Int",
|
||||
"index": 32,
|
||||
"size": 1,
|
||||
"factor": 0.01,
|
||||
"minVal": 0,
|
||||
"maxVal": 1000,
|
||||
"unit": "PPM"
|
||||
},
|
||||
"PPM_min_C2": {
|
||||
"name": "PPM_min_C2",
|
||||
"description": "PPM min Camera 2",
|
||||
"memAddr": "40033",
|
||||
"tipoMem": "Int",
|
||||
"index": 33,
|
||||
"size": 1,
|
||||
"factor": 0.01,
|
||||
"minVal": 0,
|
||||
"maxVal": 1000,
|
||||
"unit": "PPM"
|
||||
},
|
||||
"PPM_max_C2": {
|
||||
"name": "PPM_max_C2",
|
||||
"description": "PPM MAX Camera 2",
|
||||
"memAddr": "40034",
|
||||
"tipoMem": "Int",
|
||||
"index": 34,
|
||||
"size": 1,
|
||||
"factor": 0.01,
|
||||
"minVal": 0,
|
||||
"maxVal": 1000,
|
||||
"unit": "PPM"
|
||||
},
|
||||
"PPM_min_C3": {
|
||||
"name": "PPM_min_C3",
|
||||
"description": "PPM min Camera 3",
|
||||
"memAddr": "40035",
|
||||
"tipoMem": "Int",
|
||||
"index": 35,
|
||||
"size": 1,
|
||||
"factor": 0.01,
|
||||
"minVal": 0,
|
||||
"maxVal": 1000,
|
||||
"unit": "PPM"
|
||||
},
|
||||
"PPM_max_C3": {
|
||||
"name": "PPM_max_C3",
|
||||
"description": "PPM MAX Camera 3",
|
||||
"memAddr": "40036",
|
||||
"tipoMem": "Int",
|
||||
"index": 36,
|
||||
"size": 1,
|
||||
"factor": 0.01,
|
||||
"minVal": 0,
|
||||
"maxVal": 1000,
|
||||
"unit": "PPM"
|
||||
},
|
||||
"PPM_min_C4": {
|
||||
"name": "PPM_min_C4",
|
||||
"description": "PPM min Camera 4",
|
||||
"memAddr": "40037",
|
||||
"tipoMem": "Int",
|
||||
"index": 37,
|
||||
"size": 1,
|
||||
"factor": 0.01,
|
||||
"minVal": 0,
|
||||
"maxVal": 1000,
|
||||
"unit": "PPM"
|
||||
},
|
||||
"PPM_max_C4": {
|
||||
"name": "PPM_max_C4",
|
||||
"description": "PPM MAX Camera 4",
|
||||
"memAddr": "40038",
|
||||
"tipoMem": "Int",
|
||||
"index": 38,
|
||||
"size": 1,
|
||||
"factor": 0.01,
|
||||
"minVal": 0,
|
||||
"maxVal": 1000,
|
||||
"unit": "PPM"
|
||||
},
|
||||
"PPM_min_C5": {
|
||||
"name": "PPM_min_C5",
|
||||
"description": "PPM min Camera 5",
|
||||
"memAddr": "40039",
|
||||
"tipoMem": "Int",
|
||||
"index": 39,
|
||||
"size": 1,
|
||||
"factor": 0.01,
|
||||
"minVal": 0,
|
||||
"maxVal": 1000,
|
||||
"unit": "PPM"
|
||||
},
|
||||
"PPM_max_C5": {
|
||||
"name": "PPM_max_C5",
|
||||
"description": "PPM MAX Camera 5",
|
||||
"memAddr": "40040",
|
||||
"tipoMem": "Int",
|
||||
"index": 40,
|
||||
"size": 1,
|
||||
"factor": 0.01,
|
||||
"minVal": 0,
|
||||
"maxVal": 1000,
|
||||
"unit": "PPM"
|
||||
},
|
||||
"PPM_min_C6": {
|
||||
"name": "PPM_min_C6",
|
||||
"description": "PPM min Camera 6",
|
||||
"memAddr": "40041",
|
||||
"tipoMem": "Int",
|
||||
"index": 41,
|
||||
"size": 1,
|
||||
"factor": 0.01,
|
||||
"minVal": 0,
|
||||
"maxVal": 1000,
|
||||
"unit": "PPM"
|
||||
},
|
||||
"PPM_max_C6": {
|
||||
"name": "PPM_max_C6",
|
||||
"description": "PPM MAX Camera 6",
|
||||
"memAddr": "40042",
|
||||
"tipoMem": "Int",
|
||||
"index": 42,
|
||||
"size": 1,
|
||||
"factor": 0.01,
|
||||
"minVal": 0,
|
||||
"maxVal": 1000,
|
||||
"unit": "PPM"
|
||||
}
|
||||
},
|
||||
"mMapRead": {
|
||||
"PPM_min_C1": {
|
||||
"name": "PPM_min_C1",
|
||||
"description": "PPM min Camera 1",
|
||||
"memAddr": "40031",
|
||||
"tipoMem": "Int",
|
||||
"index": 31,
|
||||
"size": 1,
|
||||
"factor": 0.01,
|
||||
"minVal": 0,
|
||||
"maxVal": 1000,
|
||||
"unit": "PPM"
|
||||
},
|
||||
"PPM_max_C1": {
|
||||
"name": "PPM_max_C1",
|
||||
"description": "PPM MAX Camera 1",
|
||||
"memAddr": "40032",
|
||||
"tipoMem": "Int",
|
||||
"index": 32,
|
||||
"size": 1,
|
||||
"factor": 0.01,
|
||||
"minVal": 0,
|
||||
"maxVal": 1000,
|
||||
"unit": "PPM"
|
||||
},
|
||||
"PPM_min_C2": {
|
||||
"name": "PPM_min_C2",
|
||||
"description": "PPM min Camera 2",
|
||||
"memAddr": "40033",
|
||||
"tipoMem": "Int",
|
||||
"index": 33,
|
||||
"size": 1,
|
||||
"factor": 0.01,
|
||||
"minVal": 0,
|
||||
"maxVal": 1000,
|
||||
"unit": "PPM"
|
||||
},
|
||||
"PPM_max_C2": {
|
||||
"name": "PPM_max_C2",
|
||||
"description": "PPM MAX Camera 2",
|
||||
"memAddr": "40034",
|
||||
"tipoMem": "Int",
|
||||
"index": 34,
|
||||
"size": 1,
|
||||
"factor": 0.01,
|
||||
"minVal": 0,
|
||||
"maxVal": 1000,
|
||||
"unit": "PPM"
|
||||
},
|
||||
"PPM_min_C3": {
|
||||
"name": "PPM_min_C3",
|
||||
"description": "PPM min Camera 3",
|
||||
"memAddr": "40035",
|
||||
"tipoMem": "Int",
|
||||
"index": 35,
|
||||
"size": 1,
|
||||
"factor": 0.01,
|
||||
"minVal": 0,
|
||||
"maxVal": 1000,
|
||||
"unit": "PPM"
|
||||
},
|
||||
"PPM_max_C3": {
|
||||
"name": "PPM_max_C3",
|
||||
"description": "PPM MAX Camera 3",
|
||||
"memAddr": "40036",
|
||||
"tipoMem": "Int",
|
||||
"index": 36,
|
||||
"size": 1,
|
||||
"factor": 0.01,
|
||||
"minVal": 0,
|
||||
"maxVal": 1000,
|
||||
"unit": "PPM"
|
||||
},
|
||||
"PPM_min_C4": {
|
||||
"name": "PPM_min_C4",
|
||||
"description": "PPM min Camera 4",
|
||||
"memAddr": "40037",
|
||||
"tipoMem": "Int",
|
||||
"index": 37,
|
||||
"size": 1,
|
||||
"factor": 0.01,
|
||||
"minVal": 0,
|
||||
"maxVal": 1000,
|
||||
"unit": "PPM"
|
||||
},
|
||||
"PPM_max_C4": {
|
||||
"name": "PPM_max_C4",
|
||||
"description": "PPM MAX Camera 4",
|
||||
"memAddr": "40038",
|
||||
"tipoMem": "Int",
|
||||
"index": 38,
|
||||
"size": 1,
|
||||
"factor": 0.01,
|
||||
"minVal": 0,
|
||||
"maxVal": 1000,
|
||||
"unit": "PPM"
|
||||
},
|
||||
"PPM_min_C5": {
|
||||
"name": "PPM_min_C5",
|
||||
"description": "PPM min Camera 5",
|
||||
"memAddr": "40039",
|
||||
"tipoMem": "Int",
|
||||
"index": 39,
|
||||
"size": 1,
|
||||
"factor": 0.01,
|
||||
"minVal": 0,
|
||||
"maxVal": 1000,
|
||||
"unit": "PPM"
|
||||
},
|
||||
"PPM_max_C5": {
|
||||
"name": "PPM_max_C5",
|
||||
"description": "PPM MAX Camera 5",
|
||||
"memAddr": "40040",
|
||||
"tipoMem": "Int",
|
||||
"index": 40,
|
||||
"size": 1,
|
||||
"factor": 0.01,
|
||||
"minVal": 0,
|
||||
"maxVal": 1000,
|
||||
"unit": "PPM"
|
||||
},
|
||||
"PPM_min_C6": {
|
||||
"name": "PPM_min_C6",
|
||||
"description": "PPM min Camera 6",
|
||||
"memAddr": "40041",
|
||||
"tipoMem": "Int",
|
||||
"index": 41,
|
||||
"size": 1,
|
||||
"factor": 0.01,
|
||||
"minVal": 0,
|
||||
"maxVal": 1000,
|
||||
"unit": "PPM"
|
||||
},
|
||||
"PPM_max_C6": {
|
||||
"name": "PPM_max_C6",
|
||||
"description": "PPM MAX Camera 6",
|
||||
"memAddr": "40042",
|
||||
"tipoMem": "Int",
|
||||
"index": 42,
|
||||
"size": 1,
|
||||
"factor": 0.01,
|
||||
"minVal": 0,
|
||||
"maxVal": 1000,
|
||||
"unit": "PPM"
|
||||
},
|
||||
"Sonda01": {
|
||||
"name": "Sonda01",
|
||||
"description": "Sonda 01",
|
||||
"memAddr": "30110",
|
||||
"tipoMem": "Int",
|
||||
"index": 110,
|
||||
"size": 1,
|
||||
"func": "MAX",
|
||||
"period": 90,
|
||||
"factor": 0.01,
|
||||
"minVal": 0,
|
||||
"maxVal": 999999999,
|
||||
"unit": "#"
|
||||
},
|
||||
"Sonda02": {
|
||||
"name": "Sonda02",
|
||||
"description": "Sonda 02",
|
||||
"memAddr": "30120",
|
||||
"tipoMem": "Int",
|
||||
"index": 120,
|
||||
"size": 1,
|
||||
"func": "MAX",
|
||||
"period": 90,
|
||||
"factor": 0.01,
|
||||
"minVal": 0,
|
||||
"maxVal": 999999999,
|
||||
"unit": "#"
|
||||
},
|
||||
"Sonda03": {
|
||||
"name": "Sonda03",
|
||||
"description": "Sonda 03",
|
||||
"memAddr": "30130",
|
||||
"tipoMem": "Int",
|
||||
"index": 130,
|
||||
"size": 1,
|
||||
"func": "MAX",
|
||||
"period": 90,
|
||||
"factor": 0.01,
|
||||
"minVal": 0,
|
||||
"maxVal": 999999999,
|
||||
"unit": "#"
|
||||
},
|
||||
"Sonda04": {
|
||||
"name": "Sonda04",
|
||||
"description": "Sonda 04",
|
||||
"memAddr": "30140",
|
||||
"tipoMem": "Int",
|
||||
"index": 140,
|
||||
"size": 1,
|
||||
"func": "MAX",
|
||||
"period": 90,
|
||||
"factor": 0.01,
|
||||
"minVal": 0,
|
||||
"maxVal": 999999999,
|
||||
"unit": "#"
|
||||
},
|
||||
"Sonda05": {
|
||||
"name": "Sonda05",
|
||||
"description": "Sonda 05",
|
||||
"memAddr": "30150",
|
||||
"tipoMem": "Int",
|
||||
"index": 150,
|
||||
"size": 1,
|
||||
"func": "MAX",
|
||||
"period": 90,
|
||||
"factor": 0.01,
|
||||
"minVal": 0,
|
||||
"maxVal": 999999999,
|
||||
"unit": "#"
|
||||
},
|
||||
"Sonda06": {
|
||||
"name": "Sonda06",
|
||||
"description": "Sonda 06",
|
||||
"memAddr": "30160",
|
||||
"tipoMem": "Int",
|
||||
"index": 160,
|
||||
"size": 1,
|
||||
"func": "MAX",
|
||||
"period": 90,
|
||||
"factor": 0.01,
|
||||
"minVal": 0,
|
||||
"maxVal": 999999999,
|
||||
"unit": "#"
|
||||
},
|
||||
"Amper01": {
|
||||
"name": "Amper01",
|
||||
"description": "Amper 01",
|
||||
"memAddr": "30010",
|
||||
"tipoMem": "Int",
|
||||
"index": 10,
|
||||
"size": 1,
|
||||
"func": "MAX",
|
||||
"period": 90,
|
||||
"factor": 1,
|
||||
"minVal": 0,
|
||||
"maxVal": 999999999,
|
||||
"unit": "#"
|
||||
},
|
||||
"Amper02": {
|
||||
"name": "Amper02",
|
||||
"description": "Amper 02",
|
||||
"memAddr": "30011",
|
||||
"tipoMem": "Int",
|
||||
"index": 11,
|
||||
"size": 1,
|
||||
"func": "MAX",
|
||||
"period": 90,
|
||||
"factor": 1,
|
||||
"minVal": 0,
|
||||
"maxVal": 999999999,
|
||||
"unit": "#"
|
||||
},
|
||||
"Amper03": {
|
||||
"name": "Amper03",
|
||||
"description": "Amper 03",
|
||||
"memAddr": "30012",
|
||||
"tipoMem": "Int",
|
||||
"index": 12,
|
||||
"size": 1,
|
||||
"func": "MAX",
|
||||
"period": 90,
|
||||
"factor": 1,
|
||||
"minVal": 0,
|
||||
"maxVal": 999999999,
|
||||
"unit": "#"
|
||||
},
|
||||
"Amper04": {
|
||||
"name": "Amper04",
|
||||
"description": "Amper 04",
|
||||
"memAddr": "30013",
|
||||
"tipoMem": "Int",
|
||||
"index": 13,
|
||||
"size": 1,
|
||||
"func": "MAX",
|
||||
"period": 90,
|
||||
"factor": 1,
|
||||
"minVal": 0,
|
||||
"maxVal": 999999999,
|
||||
"unit": "#"
|
||||
},
|
||||
"Amper05": {
|
||||
"name": "Amper05",
|
||||
"description": "Amper 05",
|
||||
"memAddr": "30014",
|
||||
"tipoMem": "Int",
|
||||
"index": 14,
|
||||
"size": 1,
|
||||
"func": "MAX",
|
||||
"period": 90,
|
||||
"factor": 1,
|
||||
"minVal": 0,
|
||||
"maxVal": 999999999,
|
||||
"unit": "#"
|
||||
},
|
||||
"Amper06": {
|
||||
"name": "Amper06",
|
||||
"description": "Amper 06",
|
||||
"memAddr": "30015",
|
||||
"tipoMem": "Int",
|
||||
"index": 15,
|
||||
"size": 1,
|
||||
"func": "MAX",
|
||||
"period": 90,
|
||||
"factor": 1,
|
||||
"minVal": 0,
|
||||
"maxVal": 999999999,
|
||||
"unit": "#"
|
||||
},
|
||||
"Amper07": {
|
||||
"name": "Amper07",
|
||||
"description": "Amper 07",
|
||||
"memAddr": "30016",
|
||||
"tipoMem": "Int",
|
||||
"index": 16,
|
||||
"size": 1,
|
||||
"func": "MAX",
|
||||
"period": 90,
|
||||
"factor": 1,
|
||||
"minVal": 0,
|
||||
"maxVal": 999999999,
|
||||
"unit": "#"
|
||||
},
|
||||
"Amper08": {
|
||||
"name": "Amper08",
|
||||
"description": "Amper 08",
|
||||
"memAddr": "30017",
|
||||
"tipoMem": "Int",
|
||||
"index": 17,
|
||||
"size": 1,
|
||||
"func": "MAX",
|
||||
"period": 90,
|
||||
"factor": 1,
|
||||
"minVal": 0,
|
||||
"maxVal": 999999999,
|
||||
"unit": "#"
|
||||
},
|
||||
"ContCam01": {
|
||||
"name": "ContCam01",
|
||||
"description": "Cont Camera 01",
|
||||
"memAddr": "30021",
|
||||
"tipoMem": "Int",
|
||||
"index": 21,
|
||||
"size": 1,
|
||||
"func": "MAX",
|
||||
"period": 90,
|
||||
"factor": 1,
|
||||
"minVal": 0,
|
||||
"maxVal": 999999999,
|
||||
"unit": "#"
|
||||
},
|
||||
"ContCam02": {
|
||||
"name": "ContCam02",
|
||||
"description": "Cont Camera 02",
|
||||
"memAddr": "30022",
|
||||
"tipoMem": "Int",
|
||||
"index": 22,
|
||||
"size": 1,
|
||||
"func": "MAX",
|
||||
"period": 90,
|
||||
"factor": 1,
|
||||
"minVal": 0,
|
||||
"maxVal": 999999999,
|
||||
"unit": "#"
|
||||
},
|
||||
"ContCam03": {
|
||||
"name": "ContCam03",
|
||||
"description": "Cont Camera 03",
|
||||
"memAddr": "30023",
|
||||
"tipoMem": "Int",
|
||||
"index": 23,
|
||||
"size": 1,
|
||||
"func": "MAX",
|
||||
"period": 90,
|
||||
"factor": 1,
|
||||
"minVal": 0,
|
||||
"maxVal": 999999999,
|
||||
"unit": "#"
|
||||
},
|
||||
"ContCam04": {
|
||||
"name": "ContCam04",
|
||||
"description": "Cont Camera 04",
|
||||
"memAddr": "30024",
|
||||
"tipoMem": "Int",
|
||||
"index": 24,
|
||||
"size": 1,
|
||||
"func": "MAX",
|
||||
"period": 90,
|
||||
"factor": 1,
|
||||
"minVal": 0,
|
||||
"maxVal": 999999999,
|
||||
"unit": "#"
|
||||
},
|
||||
"ContCam05": {
|
||||
"name": "ContCam05",
|
||||
"description": "Cont Camera 05",
|
||||
"memAddr": "30025",
|
||||
"tipoMem": "Int",
|
||||
"index": 25,
|
||||
"size": 1,
|
||||
"func": "MAX",
|
||||
"period": 90,
|
||||
"factor": 1,
|
||||
"minVal": 0,
|
||||
"maxVal": 999999999,
|
||||
"unit": "#"
|
||||
},
|
||||
"ContCam06": {
|
||||
"name": "ContCam06",
|
||||
"description": "Cont Camera 06",
|
||||
"memAddr": "30026",
|
||||
"tipoMem": "Int",
|
||||
"index": 26,
|
||||
"size": 1,
|
||||
"func": "MAX",
|
||||
"period": 90,
|
||||
"factor": 1,
|
||||
"minVal": 0,
|
||||
"maxVal": 999999999,
|
||||
"unit": "#"
|
||||
}
|
||||
},
|
||||
"optMemPar": {
|
||||
"AlarmBitCond": "10002.0=1",
|
||||
"WorkBitCond": "10001.0=1"
|
||||
},
|
||||
"fileDecod": {
|
||||
"Product": 3,
|
||||
"Variety": 9,
|
||||
"Supplier": 8,
|
||||
"ExtDoc": 2,
|
||||
"DateRif": 14,
|
||||
"QtyTot": 22,
|
||||
"NumPack": 21,
|
||||
"NumPed": 17,
|
||||
"PackPed": 18,
|
||||
"PesoPack": 20
|
||||
},
|
||||
"optKVP": {
|
||||
"fluxLogReduce": true,
|
||||
"fluxLogRedDeadBand": 1.0,
|
||||
"fluxLogResendPeriod": 60
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,10 @@
|
||||
{
|
||||
"ReadBlocks": {
|
||||
"10000": 10,
|
||||
"10100": 10,
|
||||
"30000": 50,
|
||||
"30100": 40,
|
||||
"30140": 30,
|
||||
"40030": 20
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,97 @@
|
||||
;Configurazione IOB-WIN
|
||||
[IOB]
|
||||
;Impianto SAIM 02 Locorotondo - Giacovelli
|
||||
CNCTYPE=MODBUS_TCP_SAIM
|
||||
PING_MS_TIMEOUT=1000
|
||||
MinDeltaSec=5
|
||||
|
||||
[MACHINE]
|
||||
VENDOR=SAIM
|
||||
MODEL=Trattamento Ozono
|
||||
|
||||
[CNC]
|
||||
IP=192.168.18.13
|
||||
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=40000
|
||||
ADDR_WRITE=40000
|
||||
SIZE_READ=200
|
||||
SIZE_WRITE=0
|
||||
HR_BASE_ADDR=40000
|
||||
;DELTA_BASE=1
|
||||
DELTA_BASE=0
|
||||
MODBUS_EXT_REG=0
|
||||
INDEX_LUT_CORR=-1
|
||||
|
||||
[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
|
||||
DISABLE_SEND_WDST=TRUE
|
||||
|
||||
; clock base (da 10ms)
|
||||
timerIntMs=10
|
||||
|
||||
AUTO_CHANGE_ODL=TRUE
|
||||
CHANGE_ODL_MODE=DAILY
|
||||
|
||||
; conf parametri memoria READ/WRITE
|
||||
PARAM_CONF=GIACO_SAIM_002.json
|
||||
|
||||
NO_PING=FALSE
|
||||
; conf blocchi memoria x READ
|
||||
MEM_BLOCK=GIACO_SAIM_002_MBlock.json
|
||||
; conf aree allarme
|
||||
;ALARM_CONF=GIACO_SAIM_002_alarm.json
|
||||
|
||||
; rimozione check limiti min/max dynData
|
||||
disDynDataRangeCheck=true
|
||||
|
||||
; conf file import
|
||||
FILE_IMPORT_FOLDER=C:\GiacenzeLocorotondo\SAIM002
|
||||
FILE_IMPORT_TYPE=*.xlsx
|
||||
FILE_ARCHIVE_FOLDER=C:\GiacenzeLocorotondo\archivio
|
||||
EXCL_TOOL_PATH=C:\Steamware\IOB-WIN-NEXT\Tools
|
||||
|
||||
[BRANCH]
|
||||
NAME=master
|
||||
|
||||
; Tags manuali
|
||||
[TAGS]
|
||||
Customer=Giacovelli-Loco
|
||||
HostOS=WIN
|
||||
HostName=MAPO-GTW-LOC
|
||||
HostAddr=192.168.1.93
|
||||
@@ -0,0 +1,389 @@
|
||||
{
|
||||
"mMapWrite": {
|
||||
"PPM_min_C1": {
|
||||
"name": "PPM_min_C1",
|
||||
"description": "PPM min Camera 1",
|
||||
"memAddr": "40031",
|
||||
"tipoMem": "Int",
|
||||
"index": 31,
|
||||
"size": 1,
|
||||
"factor": 0.01,
|
||||
"minVal": 0,
|
||||
"maxVal": 1000,
|
||||
"unit": "PPM"
|
||||
},
|
||||
"PPM_max_C1": {
|
||||
"name": "PPM_max_C1",
|
||||
"description": "PPM MAX Camera 1",
|
||||
"memAddr": "40032",
|
||||
"tipoMem": "Int",
|
||||
"index": 32,
|
||||
"size": 1,
|
||||
"factor": 0.01,
|
||||
"minVal": 0,
|
||||
"maxVal": 1000,
|
||||
"unit": "PPM"
|
||||
},
|
||||
"PPM_min_C2": {
|
||||
"name": "PPM_min_C2",
|
||||
"description": "PPM min Camera 2",
|
||||
"memAddr": "40033",
|
||||
"tipoMem": "Int",
|
||||
"index": 33,
|
||||
"size": 1,
|
||||
"factor": 0.01,
|
||||
"minVal": 0,
|
||||
"maxVal": 1000,
|
||||
"unit": "PPM"
|
||||
},
|
||||
"PPM_max_C2": {
|
||||
"name": "PPM_max_C2",
|
||||
"description": "PPM MAX Camera 2",
|
||||
"memAddr": "40034",
|
||||
"tipoMem": "Int",
|
||||
"index": 34,
|
||||
"size": 1,
|
||||
"factor": 0.01,
|
||||
"minVal": 0,
|
||||
"maxVal": 1000,
|
||||
"unit": "PPM"
|
||||
},
|
||||
"PPM_min_C3": {
|
||||
"name": "PPM_min_C3",
|
||||
"description": "PPM min Camera 3",
|
||||
"memAddr": "40035",
|
||||
"tipoMem": "Int",
|
||||
"index": 35,
|
||||
"size": 1,
|
||||
"factor": 0.01,
|
||||
"minVal": 0,
|
||||
"maxVal": 1000,
|
||||
"unit": "PPM"
|
||||
},
|
||||
"PPM_max_C3": {
|
||||
"name": "PPM_max_C3",
|
||||
"description": "PPM MAX Camera 3",
|
||||
"memAddr": "40036",
|
||||
"tipoMem": "Int",
|
||||
"index": 36,
|
||||
"size": 1,
|
||||
"factor": 0.01,
|
||||
"minVal": 0,
|
||||
"maxVal": 1000,
|
||||
"unit": "PPM"
|
||||
},
|
||||
"PPM_min_C4": {
|
||||
"name": "PPM_min_C4",
|
||||
"description": "PPM min Camera 4",
|
||||
"memAddr": "40037",
|
||||
"tipoMem": "Int",
|
||||
"index": 37,
|
||||
"size": 1,
|
||||
"factor": 0.01,
|
||||
"minVal": 0,
|
||||
"maxVal": 1000,
|
||||
"unit": "PPM"
|
||||
},
|
||||
"PPM_max_C4": {
|
||||
"name": "PPM_max_C4",
|
||||
"description": "PPM MAX Camera 4",
|
||||
"memAddr": "40038",
|
||||
"tipoMem": "Int",
|
||||
"index": 38,
|
||||
"size": 1,
|
||||
"factor": 0.01,
|
||||
"minVal": 0,
|
||||
"maxVal": 1000,
|
||||
"unit": "PPM"
|
||||
}
|
||||
},
|
||||
"mMapRead": {
|
||||
"PPM_min_C1": {
|
||||
"name": "PPM_min_C1",
|
||||
"description": "PPM min Camera 1",
|
||||
"memAddr": "40031",
|
||||
"tipoMem": "Int",
|
||||
"index": 31,
|
||||
"size": 1,
|
||||
"factor": 0.01,
|
||||
"minVal": 0,
|
||||
"maxVal": 1000,
|
||||
"unit": "PPM"
|
||||
},
|
||||
"PPM_max_C1": {
|
||||
"name": "PPM_max_C1",
|
||||
"description": "PPM MAX Camera 1",
|
||||
"memAddr": "40032",
|
||||
"tipoMem": "Int",
|
||||
"index": 32,
|
||||
"size": 1,
|
||||
"factor": 0.01,
|
||||
"minVal": 0,
|
||||
"maxVal": 1000,
|
||||
"unit": "PPM"
|
||||
},
|
||||
"PPM_min_C2": {
|
||||
"name": "PPM_min_C2",
|
||||
"description": "PPM min Camera 2",
|
||||
"memAddr": "40033",
|
||||
"tipoMem": "Int",
|
||||
"index": 33,
|
||||
"size": 1,
|
||||
"factor": 0.01,
|
||||
"minVal": 0,
|
||||
"maxVal": 1000,
|
||||
"unit": "PPM"
|
||||
},
|
||||
"PPM_max_C2": {
|
||||
"name": "PPM_max_C2",
|
||||
"description": "PPM MAX Camera 2",
|
||||
"memAddr": "40034",
|
||||
"tipoMem": "Int",
|
||||
"index": 34,
|
||||
"size": 1,
|
||||
"factor": 0.01,
|
||||
"minVal": 0,
|
||||
"maxVal": 1000,
|
||||
"unit": "PPM"
|
||||
},
|
||||
"PPM_min_C3": {
|
||||
"name": "PPM_min_C3",
|
||||
"description": "PPM min Camera 3",
|
||||
"memAddr": "40035",
|
||||
"tipoMem": "Int",
|
||||
"index": 35,
|
||||
"size": 1,
|
||||
"factor": 0.01,
|
||||
"minVal": 0,
|
||||
"maxVal": 1000,
|
||||
"unit": "PPM"
|
||||
},
|
||||
"PPM_max_C3": {
|
||||
"name": "PPM_max_C3",
|
||||
"description": "PPM MAX Camera 3",
|
||||
"memAddr": "40036",
|
||||
"tipoMem": "Int",
|
||||
"index": 36,
|
||||
"size": 1,
|
||||
"factor": 0.01,
|
||||
"minVal": 0,
|
||||
"maxVal": 1000,
|
||||
"unit": "PPM"
|
||||
},
|
||||
"PPM_min_C4": {
|
||||
"name": "PPM_min_C4",
|
||||
"description": "PPM min Camera 4",
|
||||
"memAddr": "40037",
|
||||
"tipoMem": "Int",
|
||||
"index": 37,
|
||||
"size": 1,
|
||||
"factor": 0.01,
|
||||
"minVal": 0,
|
||||
"maxVal": 1000,
|
||||
"unit": "PPM"
|
||||
},
|
||||
"PPM_max_C4": {
|
||||
"name": "PPM_max_C4",
|
||||
"description": "PPM MAX Camera 4",
|
||||
"memAddr": "40038",
|
||||
"tipoMem": "Int",
|
||||
"index": 38,
|
||||
"size": 1,
|
||||
"factor": 0.01,
|
||||
"minVal": 0,
|
||||
"maxVal": 1000,
|
||||
"unit": "PPM"
|
||||
},
|
||||
"Sonda01": {
|
||||
"name": "Sonda01",
|
||||
"description": "Sonda 01",
|
||||
"memAddr": "30110",
|
||||
"tipoMem": "Int",
|
||||
"index": 110,
|
||||
"size": 1,
|
||||
"func": "MAX",
|
||||
"period": 90,
|
||||
"factor": 0.01,
|
||||
"minVal": 0,
|
||||
"maxVal": 999999999,
|
||||
"unit": "#"
|
||||
},
|
||||
"Sonda02": {
|
||||
"name": "Sonda02",
|
||||
"description": "Sonda 02",
|
||||
"memAddr": "30120",
|
||||
"tipoMem": "Int",
|
||||
"index": 120,
|
||||
"size": 1,
|
||||
"func": "MAX",
|
||||
"period": 90,
|
||||
"factor": 0.01,
|
||||
"minVal": 0,
|
||||
"maxVal": 999999999,
|
||||
"unit": "#"
|
||||
},
|
||||
"Sonda03": {
|
||||
"name": "Sonda03",
|
||||
"description": "Sonda 03",
|
||||
"memAddr": "30130",
|
||||
"tipoMem": "Int",
|
||||
"index": 130,
|
||||
"size": 1,
|
||||
"func": "MAX",
|
||||
"period": 90,
|
||||
"factor": 0.01,
|
||||
"minVal": 0,
|
||||
"maxVal": 999999999,
|
||||
"unit": "#"
|
||||
},
|
||||
"Sonda04": {
|
||||
"name": "Sonda04",
|
||||
"description": "Sonda 04",
|
||||
"memAddr": "30140",
|
||||
"tipoMem": "Int",
|
||||
"index": 140,
|
||||
"size": 1,
|
||||
"func": "MAX",
|
||||
"period": 90,
|
||||
"factor": 0.01,
|
||||
"minVal": 0,
|
||||
"maxVal": 999999999,
|
||||
"unit": "#"
|
||||
},
|
||||
|
||||
"Amper01": {
|
||||
"name": "Amper01",
|
||||
"description": "Amper 01",
|
||||
"memAddr": "30010",
|
||||
"tipoMem": "Int",
|
||||
"index": 10,
|
||||
"size": 1,
|
||||
"func": "MAX",
|
||||
"period": 90,
|
||||
"factor": 1,
|
||||
"minVal": 0,
|
||||
"maxVal": 999999999,
|
||||
"unit": "#"
|
||||
},
|
||||
"Amper02": {
|
||||
"name": "Amper02",
|
||||
"description": "Amper 02",
|
||||
"memAddr": "30011",
|
||||
"tipoMem": "Int",
|
||||
"index": 11,
|
||||
"size": 1,
|
||||
"func": "MAX",
|
||||
"period": 90,
|
||||
"factor": 1,
|
||||
"minVal": 0,
|
||||
"maxVal": 999999999,
|
||||
"unit": "#"
|
||||
},
|
||||
"Amper03": {
|
||||
"name": "Amper03",
|
||||
"description": "Amper 03",
|
||||
"memAddr": "30012",
|
||||
"tipoMem": "Int",
|
||||
"index": 12,
|
||||
"size": 1,
|
||||
"func": "MAX",
|
||||
"period": 90,
|
||||
"factor": 1,
|
||||
"minVal": 0,
|
||||
"maxVal": 999999999,
|
||||
"unit": "#"
|
||||
},
|
||||
"Amper04": {
|
||||
"name": "Amper04",
|
||||
"description": "Amper 04",
|
||||
"memAddr": "30013",
|
||||
"tipoMem": "Int",
|
||||
"index": 13,
|
||||
"size": 1,
|
||||
"func": "MAX",
|
||||
"period": 90,
|
||||
"factor": 1,
|
||||
"minVal": 0,
|
||||
"maxVal": 999999999,
|
||||
"unit": "#"
|
||||
},
|
||||
|
||||
"ContCam01": {
|
||||
"name": "ContCam01",
|
||||
"description": "Cont Camera 01",
|
||||
"memAddr": "30021",
|
||||
"tipoMem": "Int",
|
||||
"index": 21,
|
||||
"size": 1,
|
||||
"func": "MAX",
|
||||
"period": 90,
|
||||
"factor": 1,
|
||||
"minVal": 0,
|
||||
"maxVal": 999999999,
|
||||
"unit": "#"
|
||||
},
|
||||
"ContCam02": {
|
||||
"name": "ContCam02",
|
||||
"description": "Cont Camera 02",
|
||||
"memAddr": "30022",
|
||||
"tipoMem": "Int",
|
||||
"index": 22,
|
||||
"size": 1,
|
||||
"func": "MAX",
|
||||
"period": 90,
|
||||
"factor": 1,
|
||||
"minVal": 0,
|
||||
"maxVal": 999999999,
|
||||
"unit": "#"
|
||||
},
|
||||
"ContCam03": {
|
||||
"name": "ContCam03",
|
||||
"description": "Cont Camera 03",
|
||||
"memAddr": "30023",
|
||||
"tipoMem": "Int",
|
||||
"index": 23,
|
||||
"size": 1,
|
||||
"func": "MAX",
|
||||
"period": 90,
|
||||
"factor": 1,
|
||||
"minVal": 0,
|
||||
"maxVal": 999999999,
|
||||
"unit": "#"
|
||||
},
|
||||
"ContCam04": {
|
||||
"name": "ContCam04",
|
||||
"description": "Cont Camera 04",
|
||||
"memAddr": "30024",
|
||||
"tipoMem": "Int",
|
||||
"index": 24,
|
||||
"size": 1,
|
||||
"func": "MAX",
|
||||
"period": 90,
|
||||
"factor": 1,
|
||||
"minVal": 0,
|
||||
"maxVal": 999999999,
|
||||
"unit": "#"
|
||||
}
|
||||
},
|
||||
"optMemPar": {
|
||||
"AlarmBitCond": "10002.0=1",
|
||||
"WorkBitCond": "10001.0=1"
|
||||
},
|
||||
"fileDecod": {
|
||||
"Product": 3,
|
||||
"Variety": 9,
|
||||
"Supplier": 8,
|
||||
"ExtDoc": 2,
|
||||
"DateRif": 14,
|
||||
"QtyTot": 22,
|
||||
"NumPack": 21,
|
||||
"NumPed": 17,
|
||||
"PackPed": 18,
|
||||
"PesoPack": 20
|
||||
},
|
||||
"optKVP": {
|
||||
"fluxLogReduce": true,
|
||||
"fluxLogRedDeadBand": 1.0,
|
||||
"fluxLogResendPeriod": 60
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,9 @@
|
||||
{
|
||||
"ReadBlocks": {
|
||||
"10000": 10,
|
||||
"10100": 10,
|
||||
"30000": 30,
|
||||
"30100": 50,
|
||||
"40030": 10
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,88 @@
|
||||
;Configurazione IOB-WIN
|
||||
[IOB]
|
||||
;Impianto SAIM 03 Locorotondo - Giacovelli
|
||||
CNCTYPE=MODBUS_TCP_SAIM
|
||||
PING_MS_TIMEOUT=1000
|
||||
MinDeltaSec=5
|
||||
|
||||
[MACHINE]
|
||||
VENDOR=SAIM
|
||||
MODEL=Trattamento Ozono
|
||||
|
||||
[CNC]
|
||||
IP=192.168.18.10
|
||||
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=40000
|
||||
ADDR_WRITE=40000
|
||||
SIZE_READ=200
|
||||
SIZE_WRITE=0
|
||||
HR_BASE_ADDR=40000
|
||||
;DELTA_BASE=1
|
||||
DELTA_BASE=0
|
||||
MODBUS_EXT_REG=0
|
||||
INDEX_LUT_CORR=-1
|
||||
|
||||
[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
|
||||
|
||||
; clock base (da 10ms)
|
||||
timerIntMs=10
|
||||
|
||||
AUTO_CHANGE_ODL=TRUE
|
||||
CHANGE_ODL_MODE=DAILY
|
||||
|
||||
; conf parametri memoria READ/WRITE
|
||||
PARAM_CONF=GIACO_SAIM_003.json
|
||||
|
||||
NO_PING=FALSE
|
||||
; conf blocchi memoria x READ
|
||||
MEM_BLOCK=GIACO_SAIM_003_MBlock.json
|
||||
; conf aree allarme
|
||||
;ALARM_CONF=GIACO_SAIM_003_alarm.json
|
||||
|
||||
; rimozione check limiti min/max dynData
|
||||
disDynDataRangeCheck=true
|
||||
|
||||
; conf file import
|
||||
FILE_IMPORT_FOLDER=C:\GiacenzeLocorotondo
|
||||
FILE_IMPORT_TYPE=*.xlsx
|
||||
FILE_ARCHIVE_FOLDER=C:\GiacenzeLocorotondo\SAIM002
|
||||
|
||||
[BRANCH]
|
||||
NAME=master
|
||||
@@ -0,0 +1,590 @@
|
||||
{
|
||||
"mMapWrite": {
|
||||
"PPM_min_C1": {
|
||||
"name": "PPM_min_C1",
|
||||
"description": "PPM min Camera 1",
|
||||
"memAddr": "40031",
|
||||
"tipoMem": "Int",
|
||||
"index": 31,
|
||||
"size": 1,
|
||||
"factor": 0.01,
|
||||
"minVal": 0,
|
||||
"maxVal": 1000,
|
||||
"unit": "PPM"
|
||||
},
|
||||
"PPM_max_C1": {
|
||||
"name": "PPM_max_C1",
|
||||
"description": "PPM MAX Camera 1",
|
||||
"memAddr": "40032",
|
||||
"tipoMem": "Int",
|
||||
"index": 32,
|
||||
"size": 1,
|
||||
"factor": 0.01,
|
||||
"minVal": 0,
|
||||
"maxVal": 1000,
|
||||
"unit": "PPM"
|
||||
},
|
||||
"PPM_min_C2": {
|
||||
"name": "PPM_min_C2",
|
||||
"description": "PPM min Camera 2",
|
||||
"memAddr": "40033",
|
||||
"tipoMem": "Int",
|
||||
"index": 33,
|
||||
"size": 1,
|
||||
"factor": 0.01,
|
||||
"minVal": 0,
|
||||
"maxVal": 1000,
|
||||
"unit": "PPM"
|
||||
},
|
||||
"PPM_max_C2": {
|
||||
"name": "PPM_max_C2",
|
||||
"description": "PPM MAX Camera 2",
|
||||
"memAddr": "40034",
|
||||
"tipoMem": "Int",
|
||||
"index": 34,
|
||||
"size": 1,
|
||||
"factor": 0.01,
|
||||
"minVal": 0,
|
||||
"maxVal": 1000,
|
||||
"unit": "PPM"
|
||||
},
|
||||
"PPM_min_C3": {
|
||||
"name": "PPM_min_C3",
|
||||
"description": "PPM min Camera 3",
|
||||
"memAddr": "40035",
|
||||
"tipoMem": "Int",
|
||||
"index": 35,
|
||||
"size": 1,
|
||||
"factor": 0.01,
|
||||
"minVal": 0,
|
||||
"maxVal": 1000,
|
||||
"unit": "PPM"
|
||||
},
|
||||
"PPM_max_C3": {
|
||||
"name": "PPM_max_C3",
|
||||
"description": "PPM MAX Camera 3",
|
||||
"memAddr": "40036",
|
||||
"tipoMem": "Int",
|
||||
"index": 36,
|
||||
"size": 1,
|
||||
"factor": 0.01,
|
||||
"minVal": 0,
|
||||
"maxVal": 1000,
|
||||
"unit": "PPM"
|
||||
},
|
||||
"PPM_min_C4": {
|
||||
"name": "PPM_min_C4",
|
||||
"description": "PPM min Camera 4",
|
||||
"memAddr": "40037",
|
||||
"tipoMem": "Int",
|
||||
"index": 37,
|
||||
"size": 1,
|
||||
"factor": 0.01,
|
||||
"minVal": 0,
|
||||
"maxVal": 1000,
|
||||
"unit": "PPM"
|
||||
},
|
||||
"PPM_max_C4": {
|
||||
"name": "PPM_max_C4",
|
||||
"description": "PPM MAX Camera 4",
|
||||
"memAddr": "40038",
|
||||
"tipoMem": "Int",
|
||||
"index": 38,
|
||||
"size": 1,
|
||||
"factor": 0.01,
|
||||
"minVal": 0,
|
||||
"maxVal": 1000,
|
||||
"unit": "PPM"
|
||||
},
|
||||
"PPM_min_C5": {
|
||||
"name": "PPM_min_C5",
|
||||
"description": "PPM min Camera 5",
|
||||
"memAddr": "40039",
|
||||
"tipoMem": "Int",
|
||||
"index": 39,
|
||||
"size": 1,
|
||||
"factor": 0.01,
|
||||
"minVal": 0,
|
||||
"maxVal": 1000,
|
||||
"unit": "PPM"
|
||||
},
|
||||
"PPM_max_C5": {
|
||||
"name": "PPM_max_C5",
|
||||
"description": "PPM MAX Camera 5",
|
||||
"memAddr": "40040",
|
||||
"tipoMem": "Int",
|
||||
"index": 40,
|
||||
"size": 1,
|
||||
"factor": 0.01,
|
||||
"minVal": 0,
|
||||
"maxVal": 1000,
|
||||
"unit": "PPM"
|
||||
},
|
||||
"PPM_min_C6": {
|
||||
"name": "PPM_min_C6",
|
||||
"description": "PPM min Camera 6",
|
||||
"memAddr": "40041",
|
||||
"tipoMem": "Int",
|
||||
"index": 41,
|
||||
"size": 1,
|
||||
"factor": 0.01,
|
||||
"minVal": 0,
|
||||
"maxVal": 1000,
|
||||
"unit": "PPM"
|
||||
},
|
||||
"PPM_max_C6": {
|
||||
"name": "PPM_max_C6",
|
||||
"description": "PPM MAX Camera 6",
|
||||
"memAddr": "40042",
|
||||
"tipoMem": "Int",
|
||||
"index": 42,
|
||||
"size": 1,
|
||||
"factor": 0.01,
|
||||
"minVal": 0,
|
||||
"maxVal": 1000,
|
||||
"unit": "PPM"
|
||||
}
|
||||
},
|
||||
"mMapRead": {
|
||||
"PPM_min_C1": {
|
||||
"name": "PPM_min_C1",
|
||||
"description": "PPM min Camera 1",
|
||||
"memAddr": "40031",
|
||||
"tipoMem": "Int",
|
||||
"index": 31,
|
||||
"size": 1,
|
||||
"factor": 0.01,
|
||||
"minVal": 0,
|
||||
"maxVal": 1000,
|
||||
"unit": "PPM"
|
||||
},
|
||||
"PPM_max_C1": {
|
||||
"name": "PPM_max_C1",
|
||||
"description": "PPM MAX Camera 1",
|
||||
"memAddr": "40032",
|
||||
"tipoMem": "Int",
|
||||
"index": 32,
|
||||
"size": 1,
|
||||
"factor": 0.01,
|
||||
"minVal": 0,
|
||||
"maxVal": 1000,
|
||||
"unit": "PPM"
|
||||
},
|
||||
"PPM_min_C2": {
|
||||
"name": "PPM_min_C2",
|
||||
"description": "PPM min Camera 2",
|
||||
"memAddr": "40033",
|
||||
"tipoMem": "Int",
|
||||
"index": 33,
|
||||
"size": 1,
|
||||
"factor": 0.01,
|
||||
"minVal": 0,
|
||||
"maxVal": 1000,
|
||||
"unit": "PPM"
|
||||
},
|
||||
"PPM_max_C2": {
|
||||
"name": "PPM_max_C2",
|
||||
"description": "PPM MAX Camera 2",
|
||||
"memAddr": "40034",
|
||||
"tipoMem": "Int",
|
||||
"index": 34,
|
||||
"size": 1,
|
||||
"factor": 0.01,
|
||||
"minVal": 0,
|
||||
"maxVal": 1000,
|
||||
"unit": "PPM"
|
||||
},
|
||||
"PPM_min_C3": {
|
||||
"name": "PPM_min_C3",
|
||||
"description": "PPM min Camera 3",
|
||||
"memAddr": "40035",
|
||||
"tipoMem": "Int",
|
||||
"index": 35,
|
||||
"size": 1,
|
||||
"factor": 0.01,
|
||||
"minVal": 0,
|
||||
"maxVal": 1000,
|
||||
"unit": "PPM"
|
||||
},
|
||||
"PPM_max_C3": {
|
||||
"name": "PPM_max_C3",
|
||||
"description": "PPM MAX Camera 3",
|
||||
"memAddr": "40036",
|
||||
"tipoMem": "Int",
|
||||
"index": 36,
|
||||
"size": 1,
|
||||
"factor": 0.01,
|
||||
"minVal": 0,
|
||||
"maxVal": 1000,
|
||||
"unit": "PPM"
|
||||
},
|
||||
"PPM_min_C4": {
|
||||
"name": "PPM_min_C4",
|
||||
"description": "PPM min Camera 4",
|
||||
"memAddr": "40037",
|
||||
"tipoMem": "Int",
|
||||
"index": 37,
|
||||
"size": 1,
|
||||
"factor": 0.01,
|
||||
"minVal": 0,
|
||||
"maxVal": 1000,
|
||||
"unit": "PPM"
|
||||
},
|
||||
"PPM_max_C4": {
|
||||
"name": "PPM_max_C4",
|
||||
"description": "PPM MAX Camera 4",
|
||||
"memAddr": "40038",
|
||||
"tipoMem": "Int",
|
||||
"index": 38,
|
||||
"size": 1,
|
||||
"factor": 0.01,
|
||||
"minVal": 0,
|
||||
"maxVal": 1000,
|
||||
"unit": "PPM"
|
||||
},
|
||||
"PPM_min_C5": {
|
||||
"name": "PPM_min_C5",
|
||||
"description": "PPM min Camera 5",
|
||||
"memAddr": "40039",
|
||||
"tipoMem": "Int",
|
||||
"index": 39,
|
||||
"size": 1,
|
||||
"factor": 0.01,
|
||||
"minVal": 0,
|
||||
"maxVal": 1000,
|
||||
"unit": "PPM"
|
||||
},
|
||||
"PPM_max_C5": {
|
||||
"name": "PPM_max_C5",
|
||||
"description": "PPM MAX Camera 5",
|
||||
"memAddr": "40040",
|
||||
"tipoMem": "Int",
|
||||
"index": 40,
|
||||
"size": 1,
|
||||
"factor": 0.01,
|
||||
"minVal": 0,
|
||||
"maxVal": 1000,
|
||||
"unit": "PPM"
|
||||
},
|
||||
"PPM_min_C6": {
|
||||
"name": "PPM_min_C6",
|
||||
"description": "PPM min Camera 6",
|
||||
"memAddr": "40041",
|
||||
"tipoMem": "Int",
|
||||
"index": 41,
|
||||
"size": 1,
|
||||
"factor": 0.01,
|
||||
"minVal": 0,
|
||||
"maxVal": 1000,
|
||||
"unit": "PPM"
|
||||
},
|
||||
"PPM_max_C6": {
|
||||
"name": "PPM_max_C6",
|
||||
"description": "PPM MAX Camera 6",
|
||||
"memAddr": "40042",
|
||||
"tipoMem": "Int",
|
||||
"index": 42,
|
||||
"size": 1,
|
||||
"factor": 0.01,
|
||||
"minVal": 0,
|
||||
"maxVal": 1000,
|
||||
"unit": "PPM"
|
||||
},
|
||||
"Sonda01": {
|
||||
"name": "Sonda01",
|
||||
"description": "Sonda 01",
|
||||
"memAddr": "30110",
|
||||
"tipoMem": "Int",
|
||||
"index": 110,
|
||||
"size": 1,
|
||||
"func": "MAX",
|
||||
"period": 90,
|
||||
"factor": 0.01,
|
||||
"minVal": 0,
|
||||
"maxVal": 999999999,
|
||||
"unit": "#"
|
||||
},
|
||||
"Sonda02": {
|
||||
"name": "Sonda02",
|
||||
"description": "Sonda 02",
|
||||
"memAddr": "30120",
|
||||
"tipoMem": "Int",
|
||||
"index": 120,
|
||||
"size": 1,
|
||||
"func": "MAX",
|
||||
"period": 90,
|
||||
"factor": 0.01,
|
||||
"minVal": 0,
|
||||
"maxVal": 999999999,
|
||||
"unit": "#"
|
||||
},
|
||||
"Sonda03": {
|
||||
"name": "Sonda03",
|
||||
"description": "Sonda 03",
|
||||
"memAddr": "30130",
|
||||
"tipoMem": "Int",
|
||||
"index": 130,
|
||||
"size": 1,
|
||||
"func": "MAX",
|
||||
"period": 90,
|
||||
"factor": 0.01,
|
||||
"minVal": 0,
|
||||
"maxVal": 999999999,
|
||||
"unit": "#"
|
||||
},
|
||||
"Sonda04": {
|
||||
"name": "Sonda04",
|
||||
"description": "Sonda 04",
|
||||
"memAddr": "30140",
|
||||
"tipoMem": "Int",
|
||||
"index": 140,
|
||||
"size": 1,
|
||||
"func": "MAX",
|
||||
"period": 90,
|
||||
"factor": 0.01,
|
||||
"minVal": 0,
|
||||
"maxVal": 999999999,
|
||||
"unit": "#"
|
||||
},
|
||||
"Sonda05": {
|
||||
"name": "Sonda05",
|
||||
"description": "Sonda 05",
|
||||
"memAddr": "30150",
|
||||
"tipoMem": "Int",
|
||||
"index": 150,
|
||||
"size": 1,
|
||||
"func": "MAX",
|
||||
"period": 90,
|
||||
"factor": 0.01,
|
||||
"minVal": 0,
|
||||
"maxVal": 999999999,
|
||||
"unit": "#"
|
||||
},
|
||||
"Sonda06": {
|
||||
"name": "Sonda06",
|
||||
"description": "Sonda 06",
|
||||
"memAddr": "30160",
|
||||
"tipoMem": "Int",
|
||||
"index": 160,
|
||||
"size": 1,
|
||||
"func": "MAX",
|
||||
"period": 90,
|
||||
"factor": 0.01,
|
||||
"minVal": 0,
|
||||
"maxVal": 999999999,
|
||||
"unit": "#"
|
||||
},
|
||||
"Amper01": {
|
||||
"name": "Amper01",
|
||||
"description": "Amper 01",
|
||||
"memAddr": "30010",
|
||||
"tipoMem": "Int",
|
||||
"index": 10,
|
||||
"size": 1,
|
||||
"func": "MAX",
|
||||
"period": 90,
|
||||
"factor": 1,
|
||||
"minVal": 0,
|
||||
"maxVal": 999999999,
|
||||
"unit": "#"
|
||||
},
|
||||
"Amper02": {
|
||||
"name": "Amper02",
|
||||
"description": "Amper 02",
|
||||
"memAddr": "30011",
|
||||
"tipoMem": "Int",
|
||||
"index": 11,
|
||||
"size": 1,
|
||||
"func": "MAX",
|
||||
"period": 90,
|
||||
"factor": 1,
|
||||
"minVal": 0,
|
||||
"maxVal": 999999999,
|
||||
"unit": "#"
|
||||
},
|
||||
"Amper03": {
|
||||
"name": "Amper03",
|
||||
"description": "Amper 03",
|
||||
"memAddr": "30012",
|
||||
"tipoMem": "Int",
|
||||
"index": 12,
|
||||
"size": 1,
|
||||
"func": "MAX",
|
||||
"period": 90,
|
||||
"factor": 1,
|
||||
"minVal": 0,
|
||||
"maxVal": 999999999,
|
||||
"unit": "#"
|
||||
},
|
||||
"Amper04": {
|
||||
"name": "Amper04",
|
||||
"description": "Amper 04",
|
||||
"memAddr": "30013",
|
||||
"tipoMem": "Int",
|
||||
"index": 13,
|
||||
"size": 1,
|
||||
"func": "MAX",
|
||||
"period": 90,
|
||||
"factor": 1,
|
||||
"minVal": 0,
|
||||
"maxVal": 999999999,
|
||||
"unit": "#"
|
||||
},
|
||||
"Amper05": {
|
||||
"name": "Amper05",
|
||||
"description": "Amper 05",
|
||||
"memAddr": "30014",
|
||||
"tipoMem": "Int",
|
||||
"index": 14,
|
||||
"size": 1,
|
||||
"func": "MAX",
|
||||
"period": 90,
|
||||
"factor": 1,
|
||||
"minVal": 0,
|
||||
"maxVal": 999999999,
|
||||
"unit": "#"
|
||||
},
|
||||
"Amper06": {
|
||||
"name": "Amper06",
|
||||
"description": "Amper 06",
|
||||
"memAddr": "30015",
|
||||
"tipoMem": "Int",
|
||||
"index": 15,
|
||||
"size": 1,
|
||||
"func": "MAX",
|
||||
"period": 90,
|
||||
"factor": 1,
|
||||
"minVal": 0,
|
||||
"maxVal": 999999999,
|
||||
"unit": "#"
|
||||
},
|
||||
"Amper07": {
|
||||
"name": "Amper07",
|
||||
"description": "Amper 07",
|
||||
"memAddr": "30016",
|
||||
"tipoMem": "Int",
|
||||
"index": 16,
|
||||
"size": 1,
|
||||
"func": "MAX",
|
||||
"period": 90,
|
||||
"factor": 1,
|
||||
"minVal": 0,
|
||||
"maxVal": 999999999,
|
||||
"unit": "#"
|
||||
},
|
||||
"Amper08": {
|
||||
"name": "Amper08",
|
||||
"description": "Amper 08",
|
||||
"memAddr": "30017",
|
||||
"tipoMem": "Int",
|
||||
"index": 17,
|
||||
"size": 1,
|
||||
"func": "MAX",
|
||||
"period": 90,
|
||||
"factor": 1,
|
||||
"minVal": 0,
|
||||
"maxVal": 999999999,
|
||||
"unit": "#"
|
||||
},
|
||||
"ContCam01": {
|
||||
"name": "ContCam01",
|
||||
"description": "Cont Camera 01",
|
||||
"memAddr": "30021",
|
||||
"tipoMem": "Int",
|
||||
"index": 21,
|
||||
"size": 1,
|
||||
"func": "MAX",
|
||||
"period": 90,
|
||||
"factor": 1,
|
||||
"minVal": 0,
|
||||
"maxVal": 999999999,
|
||||
"unit": "#"
|
||||
},
|
||||
"ContCam02": {
|
||||
"name": "ContCam02",
|
||||
"description": "Cont Camera 02",
|
||||
"memAddr": "30022",
|
||||
"tipoMem": "Int",
|
||||
"index": 22,
|
||||
"size": 1,
|
||||
"func": "MAX",
|
||||
"period": 90,
|
||||
"factor": 1,
|
||||
"minVal": 0,
|
||||
"maxVal": 999999999,
|
||||
"unit": "#"
|
||||
},
|
||||
"ContCam03": {
|
||||
"name": "ContCam03",
|
||||
"description": "Cont Camera 03",
|
||||
"memAddr": "30023",
|
||||
"tipoMem": "Int",
|
||||
"index": 23,
|
||||
"size": 1,
|
||||
"func": "MAX",
|
||||
"period": 90,
|
||||
"factor": 1,
|
||||
"minVal": 0,
|
||||
"maxVal": 999999999,
|
||||
"unit": "#"
|
||||
},
|
||||
"ContCam04": {
|
||||
"name": "ContCam04",
|
||||
"description": "Cont Camera 04",
|
||||
"memAddr": "30024",
|
||||
"tipoMem": "Int",
|
||||
"index": 24,
|
||||
"size": 1,
|
||||
"func": "MAX",
|
||||
"period": 90,
|
||||
"factor": 1,
|
||||
"minVal": 0,
|
||||
"maxVal": 999999999,
|
||||
"unit": "#"
|
||||
},
|
||||
"ContCam05": {
|
||||
"name": "ContCam05",
|
||||
"description": "Cont Camera 05",
|
||||
"memAddr": "30025",
|
||||
"tipoMem": "Int",
|
||||
"index": 25,
|
||||
"size": 1,
|
||||
"func": "MAX",
|
||||
"period": 90,
|
||||
"factor": 1,
|
||||
"minVal": 0,
|
||||
"maxVal": 999999999,
|
||||
"unit": "#"
|
||||
},
|
||||
"ContCam06": {
|
||||
"name": "ContCam06",
|
||||
"description": "Cont Camera 06",
|
||||
"memAddr": "30026",
|
||||
"tipoMem": "Int",
|
||||
"index": 26,
|
||||
"size": 1,
|
||||
"func": "MAX",
|
||||
"period": 90,
|
||||
"factor": 1,
|
||||
"minVal": 0,
|
||||
"maxVal": 999999999,
|
||||
"unit": "#"
|
||||
}
|
||||
},
|
||||
"optMemPar": {
|
||||
"AlarmBitCond": "10002.0=0",
|
||||
"WorkBitCond": "10001.0=1"
|
||||
},
|
||||
"fileDecod": {
|
||||
"Product": 3,
|
||||
"Variety": 9,
|
||||
"Supplier": 8,
|
||||
"ExtDoc": 2,
|
||||
"DateRif": 14,
|
||||
"QtyTot": 22,
|
||||
"NumPack": 21,
|
||||
"NumPed": 17,
|
||||
"PackPed": 18,
|
||||
"PesoPack": 20
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,10 @@
|
||||
{
|
||||
"ReadBlocks": {
|
||||
"10000": 10,
|
||||
"10100": 10,
|
||||
"30000": 50,
|
||||
"30100": 40,
|
||||
"30140": 30,
|
||||
"40030": 20
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,86 @@
|
||||
;Configurazione IOB-WIN
|
||||
[IOB]
|
||||
;Impianto Zetapack di Locorotondo (test) - Giacovelli
|
||||
CNCTYPE=MODBUS_TCP_ZETAPACK
|
||||
PING_MS_TIMEOUT=1000
|
||||
MinDeltaSec=5
|
||||
|
||||
[MACHINE]
|
||||
VENDOR=Zetapack
|
||||
MODEL=Calibratrice Linea 1
|
||||
|
||||
[CNC]
|
||||
IP=192.168.16.11
|
||||
PORT=8000
|
||||
|
||||
[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=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
|
||||
DISABLE_SEND_WDST=TRUE
|
||||
|
||||
; clock base (da 10ms)
|
||||
timerIntMs=10
|
||||
|
||||
; conf parametri memoria READ/WRITE
|
||||
PARAM_CONF=GIACO_ZPACK_L1_P1.json
|
||||
|
||||
NO_PING=FALSE
|
||||
; conf blocchi memoria x READ
|
||||
MEM_BLOCK=GIACO_ZPACK_L1_P1_MBlock.json
|
||||
; conf aree allarme
|
||||
ALARM_CONF=GIACO_ZPACK_L1_P1_alarm.json
|
||||
|
||||
; rimozione check limiti min/max dynData
|
||||
disDynDataRangeCheck=true
|
||||
|
||||
[BRANCH]
|
||||
NAME=master
|
||||
|
||||
; Tags manuali
|
||||
[TAGS]
|
||||
Customer=Giacovelli-Loco
|
||||
HostOS=WIN
|
||||
HostName=MAPO-GTW-LOC
|
||||
HostAddr=192.168.1.93
|
||||
@@ -0,0 +1,67 @@
|
||||
{
|
||||
"mMapWrite": {
|
||||
"setComm": {
|
||||
"name": "setComm",
|
||||
"description": "Commessa",
|
||||
"memAddr": "40050",
|
||||
"tipoMem": "String",
|
||||
"index": 50,
|
||||
"size": 24
|
||||
}
|
||||
},
|
||||
"mMapRead": {
|
||||
"AmpMot1": {
|
||||
"name": "AmpMot1",
|
||||
"description": "Assorbimento (MAX) motore 1 - calibratrice",
|
||||
"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 - nastro dosi",
|
||||
"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 - curva ingresso",
|
||||
"memAddr": "40005",
|
||||
"tipoMem": "Int",
|
||||
"index": 5,
|
||||
"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,5"
|
||||
},
|
||||
"paramsEndThresh": {
|
||||
"AmpMot1": 1,
|
||||
"AmpMot2": 1,
|
||||
"AmpMot3": 1
|
||||
}
|
||||
}
|
||||
@@ -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,86 @@
|
||||
;Configurazione IOB-WIN
|
||||
[IOB]
|
||||
;Impianto Zetapack di Locorotondo (test) - Giacovelli
|
||||
CNCTYPE=MODBUS_TCP_ZETAPACK
|
||||
PING_MS_TIMEOUT=1000
|
||||
MinDeltaSec=5
|
||||
|
||||
[MACHINE]
|
||||
VENDOR=Zetapack
|
||||
MODEL=Banco Linea 1
|
||||
|
||||
[CNC]
|
||||
IP=192.168.16.12
|
||||
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=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
|
||||
DISABLE_SEND_WDST=TRUE
|
||||
|
||||
; clock base (da 10ms)
|
||||
timerIntMs=10
|
||||
|
||||
; conf parametri memoria READ/WRITE
|
||||
PARAM_CONF=GIACO_ZPACK_L1_P2.json
|
||||
|
||||
NO_PING=FALSE
|
||||
; conf blocchi memoria x READ
|
||||
MEM_BLOCK=GIACO_ZPACK_L1_P2_MBlock.json
|
||||
; conf aree allarme
|
||||
ALARM_CONF=GIACO_ZPACK_L1_P2_alarm.json
|
||||
|
||||
; rimozione check limiti min/max dynData
|
||||
disDynDataRangeCheck=true
|
||||
|
||||
[BRANCH]
|
||||
NAME=master
|
||||
|
||||
; Tags manuali
|
||||
[TAGS]
|
||||
Customer=Giacovelli-Loco
|
||||
HostOS=WIN
|
||||
HostName=MAPO-GTW-LOC
|
||||
HostAddr=192.168.1.93
|
||||
@@ -0,0 +1,112 @@
|
||||
{
|
||||
"mMapWrite": {
|
||||
"setComm": {
|
||||
"name": "setComm",
|
||||
"description": "Commessa",
|
||||
"memAddr": "40050",
|
||||
"tipoMem": "String",
|
||||
"index": 50,
|
||||
"size": 24
|
||||
}
|
||||
},
|
||||
"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": "%"
|
||||
},
|
||||
"ContCasse": {
|
||||
"name": "ContCasse",
|
||||
"description": "Conteggio Casse (Auto con cassa)",
|
||||
"memAddr": "41070",
|
||||
"tipoMem": "DInt",
|
||||
"index": 1070,
|
||||
"size": 2,
|
||||
"func": "MAX",
|
||||
"period": 90,
|
||||
"factor": 1,
|
||||
"minVal": 0,
|
||||
"maxVal": 999999,
|
||||
"unit": "%"
|
||||
}
|
||||
},
|
||||
"optMemPar": {
|
||||
"AlarmIntCond": "40000|0=0",
|
||||
"ManualIntCond": "40000|0=1",
|
||||
"EStopBitCond": "40001.0=1",
|
||||
"WorkIntCond": "40000|0=2,4"
|
||||
},
|
||||
"paramsEndThresh": {
|
||||
"AmpMot1": 1,
|
||||
"AmpMot2": 1,
|
||||
"AmpMot3": 1,
|
||||
"AmpMot4": 1,
|
||||
"AmpMot5": 1,
|
||||
"ContCasse": 2
|
||||
}
|
||||
}
|
||||
@@ -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,86 @@
|
||||
;Configurazione IOB-WIN
|
||||
[IOB]
|
||||
;Impianto Zetapack di Locorotondo (test) - Giacovelli
|
||||
CNCTYPE=MODBUS_TCP_ZETAPACK
|
||||
PING_MS_TIMEOUT=1000
|
||||
MinDeltaSec=5
|
||||
|
||||
[MACHINE]
|
||||
VENDOR=Zetapack
|
||||
MODEL=Calibratrice Linea 2
|
||||
|
||||
[CNC]
|
||||
IP=192.168.16.21
|
||||
PORT=8000
|
||||
|
||||
[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=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
|
||||
DISABLE_SEND_WDST=TRUE
|
||||
|
||||
; clock base (da 10ms)
|
||||
timerIntMs=10
|
||||
|
||||
; conf parametri memoria READ/WRITE
|
||||
PARAM_CONF=GIACO_ZPACK_L2_P1.json
|
||||
|
||||
NO_PING=FALSE
|
||||
; conf blocchi memoria x READ
|
||||
MEM_BLOCK=GIACO_ZPACK_L2_P1_MBlock.json
|
||||
; conf aree allarme
|
||||
ALARM_CONF=GIACO_ZPACK_L2_P1_alarm.json
|
||||
|
||||
; rimozione check limiti min/max dynData
|
||||
disDynDataRangeCheck=true
|
||||
|
||||
[BRANCH]
|
||||
NAME=master
|
||||
|
||||
; Tags manuali
|
||||
[TAGS]
|
||||
Customer=Giacovelli-Loco
|
||||
HostOS=WIN
|
||||
HostName=MAPO-GTW-LOC
|
||||
HostAddr=192.168.1.93
|
||||
@@ -0,0 +1,67 @@
|
||||
{
|
||||
"mMapWrite": {
|
||||
"setComm": {
|
||||
"name": "setComm",
|
||||
"description": "Commessa",
|
||||
"memAddr": "40050",
|
||||
"tipoMem": "String",
|
||||
"index": 50,
|
||||
"size": 20
|
||||
}
|
||||
},
|
||||
"mMapRead": {
|
||||
"AmpMot1": {
|
||||
"name": "AmpMot1",
|
||||
"description": "Assorbimento (MAX) motore 1 - calibratrice",
|
||||
"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 - nastro dosi",
|
||||
"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 - curva ingresso",
|
||||
"memAddr": "40005",
|
||||
"tipoMem": "Int",
|
||||
"index": 5,
|
||||
"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,5"
|
||||
},
|
||||
"paramsEndThresh": {
|
||||
"AmpMot1": 1,
|
||||
"AmpMot2": 1,
|
||||
"AmpMot3": 1
|
||||
}
|
||||
}
|
||||
@@ -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,86 @@
|
||||
;Configurazione IOB-WIN
|
||||
[IOB]
|
||||
;Impianto Zetapack di Locorotondo (test) - Giacovelli
|
||||
CNCTYPE=MODBUS_TCP_ZETAPACK
|
||||
PING_MS_TIMEOUT=1000
|
||||
MinDeltaSec=5
|
||||
|
||||
[MACHINE]
|
||||
VENDOR=Zetapack
|
||||
MODEL=Banco Linea 2
|
||||
|
||||
[CNC]
|
||||
IP=192.168.16.22
|
||||
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=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
|
||||
DISABLE_SEND_WDST=TRUE
|
||||
|
||||
; clock base (da 10ms)
|
||||
timerIntMs=10
|
||||
|
||||
; conf parametri memoria READ/WRITE
|
||||
PARAM_CONF=GIACO_ZPACK_L2_P2.json
|
||||
|
||||
NO_PING=FALSE
|
||||
; conf blocchi memoria x READ
|
||||
MEM_BLOCK=GIACO_ZPACK_L2_P2_MBlock.json
|
||||
; conf aree allarme
|
||||
ALARM_CONF=GIACO_ZPACK_L2_P2_alarm.json
|
||||
|
||||
; rimozione check limiti min/max dynData
|
||||
disDynDataRangeCheck=true
|
||||
|
||||
[BRANCH]
|
||||
NAME=master
|
||||
|
||||
; Tags manuali
|
||||
[TAGS]
|
||||
Customer=Giacovelli-Loco
|
||||
HostOS=WIN
|
||||
HostName=MAPO-GTW-LOC
|
||||
HostAddr=192.168.1.93
|
||||
@@ -0,0 +1,112 @@
|
||||
{
|
||||
"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": "%"
|
||||
},
|
||||
"ContCasse": {
|
||||
"name": "ContCasse",
|
||||
"description": "Conteggio Casse (Auto con cassa)",
|
||||
"memAddr": "41070",
|
||||
"tipoMem": "DInt",
|
||||
"index": 1070,
|
||||
"size": 2,
|
||||
"func": "MAX",
|
||||
"period": 90,
|
||||
"factor": 1,
|
||||
"minVal": 0,
|
||||
"maxVal": 999999,
|
||||
"unit": "%"
|
||||
}
|
||||
},
|
||||
"optMemPar": {
|
||||
"AlarmIntCond": "40000|0=0",
|
||||
"ManualIntCond": "40000|0=1",
|
||||
"EStopBitCond": "40001.0=1",
|
||||
"WorkIntCond": "40000|0=2,4"
|
||||
},
|
||||
"paramsEndThresh": {
|
||||
"AmpMot1": 1,
|
||||
"AmpMot2": 1,
|
||||
"AmpMot3": 1,
|
||||
"AmpMot4": 1,
|
||||
"AmpMot5": 1,
|
||||
"ContCasse": 2
|
||||
}
|
||||
}
|
||||
@@ -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,82 @@
|
||||
;Configurazione IOB-WIN
|
||||
[IOB]
|
||||
;Impianto Rimor sabbiatura - IMI Remosa
|
||||
CNCTYPE=MODBUS_TCP_RIMOR
|
||||
PING_MS_TIMEOUT=1000
|
||||
MinDeltaSec=5
|
||||
IOB_NAME=IMI_RIMOR_SAB
|
||||
DIS_EXE_TASK=FALSE
|
||||
DIS_STATE_CH=FALSE
|
||||
|
||||
[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=400000
|
||||
ADDR_WRITE=400000
|
||||
SIZE_READ=10
|
||||
SIZE_WRITE=0
|
||||
HR_BASE_ADDR=400000
|
||||
DELTA_BASE=-1
|
||||
MODBUS_EXT_REG=1
|
||||
|
||||
|
||||
[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,217 @@
|
||||
{
|
||||
"mMapWrite": {
|
||||
"setProg": {
|
||||
"name": "setProg",
|
||||
"description": "Qty",
|
||||
"memAddr": "421006",
|
||||
"tipoMem": "Int",
|
||||
"index": 21006,
|
||||
"size": 1
|
||||
}
|
||||
},
|
||||
"mMapRead": {
|
||||
"StatoLavorazione": {
|
||||
"name": "01) StatoLavorazione",
|
||||
"description": "Stato Lavorazione",
|
||||
"memAddr": "421004",
|
||||
"tipoMem": "Int",
|
||||
"index": 21004,
|
||||
"size": 1,
|
||||
"func": "MAX",
|
||||
"period": 90,
|
||||
"factor": 1,
|
||||
"minVal": 0,
|
||||
"maxVal": 999999,
|
||||
"unit": "#"
|
||||
},
|
||||
"DurataLavorazione": {
|
||||
"name": "02) DurataLavorazione",
|
||||
"description": "Durata Lavorazione",
|
||||
"memAddr": "421002",
|
||||
"tipoMem": "Int",
|
||||
"index": 21002,
|
||||
"size": 1,
|
||||
"func": "MAX",
|
||||
"period": 90,
|
||||
"factor": 1,
|
||||
"minVal": 0,
|
||||
"maxVal": 999999,
|
||||
"unit": "h/m"
|
||||
},
|
||||
"OreFunzFiltro1": {
|
||||
"name": "OreFunzFiltro1",
|
||||
"description": "03) Filtro 1 Ore funzionamento",
|
||||
"memAddr": "420201",
|
||||
"tipoMem": "Int",
|
||||
"index": 20201,
|
||||
"size": 1,
|
||||
"func": "MAX",
|
||||
"period": 90,
|
||||
"factor": 1,
|
||||
"minVal": 0,
|
||||
"maxVal": 999999,
|
||||
"unit": "h"
|
||||
},
|
||||
"MinFunzFiltro1": {
|
||||
"name": "MinFunzFiltro1",
|
||||
"description": "04) Filtro 1 Minuti funzionamento",
|
||||
"memAddr": "420205",
|
||||
"tipoMem": "Int",
|
||||
"index": 20205,
|
||||
"size": 1,
|
||||
"func": "MAX",
|
||||
"period": 90,
|
||||
"factor": 1,
|
||||
"minVal": 0,
|
||||
"maxVal": 999999,
|
||||
"unit": "m"
|
||||
},
|
||||
"OreFunzFiltroPar1": {
|
||||
"name": "OreFunzFiltroPar1",
|
||||
"description": "Filtro 1 (c) Ore funzionamento (contatore parziale azzerabile)",
|
||||
"memAddr": "420203",
|
||||
"tipoMem": "Int",
|
||||
"index": 20203,
|
||||
"size": 1,
|
||||
"func": "MAX",
|
||||
"period": 90,
|
||||
"factor": 1,
|
||||
"minVal": 0,
|
||||
"maxVal": 999999,
|
||||
"unit": "h"
|
||||
},
|
||||
"MinFunzFiltroPar1": {
|
||||
"name": "MinFunzFiltroPar1",
|
||||
"description": "Filtro 1 (d) Minuti funzionamento (contatore parziale azzerabile)",
|
||||
"memAddr": "420206",
|
||||
"tipoMem": "Int",
|
||||
"index": 20206,
|
||||
"size": 1,
|
||||
"func": "MAX",
|
||||
"period": 90,
|
||||
"factor": 1,
|
||||
"minVal": 0,
|
||||
"maxVal": 999999,
|
||||
"unit": "m"
|
||||
},
|
||||
"OreFunzFiltro2": {
|
||||
"name": "OreFunzFiltro2",
|
||||
"description": "Filtro 2 (a) Ore funzionamento ",
|
||||
"memAddr": "420301",
|
||||
"tipoMem": "Int",
|
||||
"index": 20301,
|
||||
"size": 1,
|
||||
"func": "MAX",
|
||||
"period": 90,
|
||||
"factor": 1,
|
||||
"minVal": 0,
|
||||
"maxVal": 999999,
|
||||
"unit": "h"
|
||||
},
|
||||
"MinFunzFiltro2": {
|
||||
"name": "MinFunzFiltro2",
|
||||
"description": "Filtro 2 (b) Minuti funzionamento",
|
||||
"memAddr": "420305",
|
||||
"tipoMem": "Int",
|
||||
"index": 20305,
|
||||
"size": 1,
|
||||
"func": "MAX",
|
||||
"period": 90,
|
||||
"factor": 1,
|
||||
"minVal": 0,
|
||||
"maxVal": 999999,
|
||||
"unit": "m"
|
||||
},
|
||||
"OreFunzFiltroPar2": {
|
||||
"name": "OreFunzFiltroPar2",
|
||||
"description": "Filtro 2 (c) Ore funzionamento (contatore parziale azzerabile)",
|
||||
"memAddr": "420303",
|
||||
"tipoMem": "Int",
|
||||
"index": 20303,
|
||||
"size": 1,
|
||||
"func": "MAX",
|
||||
"period": 90,
|
||||
"factor": 1,
|
||||
"minVal": 0,
|
||||
"maxVal": 999999,
|
||||
"unit": "h"
|
||||
},
|
||||
"MinFunzFiltroPar2": {
|
||||
"name": "MinFunzFiltroPar2",
|
||||
"description": "Filtro 2 (d) Minuti funzionamento (contatore parziale azzerabile)",
|
||||
"memAddr": "420306",
|
||||
"tipoMem": "Int",
|
||||
"index": 20306,
|
||||
"size": 1,
|
||||
"func": "MAX",
|
||||
"period": 90,
|
||||
"factor": 1,
|
||||
"minVal": 0,
|
||||
"maxVal": 999999,
|
||||
"unit": "m"
|
||||
},
|
||||
"OreFunzAspiratore": {
|
||||
"name": "OreFunzAspiratore",
|
||||
"description": "Aspiratore (a) Ore funzionamento",
|
||||
"memAddr": "420401",
|
||||
"tipoMem": "Int",
|
||||
"index": 20401,
|
||||
"size": 1,
|
||||
"func": "MAX",
|
||||
"period": 90,
|
||||
"factor": 1,
|
||||
"minVal": 0,
|
||||
"maxVal": 999999,
|
||||
"unit": "h"
|
||||
},
|
||||
"MinFunzAspiratore": {
|
||||
"name": "MinFunzAspiratore",
|
||||
"description": "Aspiratore (b) Minuti funzionamento",
|
||||
"memAddr": "420405",
|
||||
"tipoMem": "Int",
|
||||
"index": 20405,
|
||||
"size": 1,
|
||||
"func": "MAX",
|
||||
"period": 90,
|
||||
"factor": 1,
|
||||
"minVal": 0,
|
||||
"maxVal": 999999,
|
||||
"unit": "m"
|
||||
},
|
||||
"OreFunzAspiratorePar": {
|
||||
"name": "OreFunzAspiratorePar",
|
||||
"description": "Aspiratore (c) Ore funzionamento (contatore parziale azzerabile)",
|
||||
"memAddr": "420403",
|
||||
"tipoMem": "Int",
|
||||
"index": 20403,
|
||||
"size": 1,
|
||||
"func": "MAX",
|
||||
"period": 90,
|
||||
"factor": 1,
|
||||
"minVal": 0,
|
||||
"maxVal": 999999,
|
||||
"unit": "h"
|
||||
},
|
||||
"MinFunzAspiratorePar": {
|
||||
"name": "MinFunzAspiratorePar",
|
||||
"description": "Aspiratore (d) Minuti funzionamento (contatore parziale azzerabile)",
|
||||
"memAddr": "420406",
|
||||
"tipoMem": "Int",
|
||||
"index": 20406,
|
||||
"size": 1,
|
||||
"func": "MAX",
|
||||
"period": 90,
|
||||
"factor": 1,
|
||||
"minVal": 0,
|
||||
"maxVal": 999999,
|
||||
"unit": "m"
|
||||
}
|
||||
},
|
||||
"optMemPar": {
|
||||
"EndOrdIntCond": "421002|1=1",
|
||||
//"AlarmIntCond": "421002|1=1",
|
||||
"ManualIntCond": "421002|1=3",
|
||||
//"EStopBitCond": "100040.0=1",
|
||||
"WorkIntCond": "421002|1=2,4"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,13 @@
|
||||
{
|
||||
"ReadBlocks": {
|
||||
//"100040": 20,
|
||||
//"332760": 20,
|
||||
"400000": 10,
|
||||
"400100": 60,
|
||||
"400200": 20,
|
||||
"420200": 20,
|
||||
"420300": 20,
|
||||
"420400": 20,
|
||||
"421000": 20
|
||||
}
|
||||
}
|
||||
@@ -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,80 @@
|
||||
;Configurazione IOB-WIN
|
||||
[IOB]
|
||||
;Impianto Rimor sabbiatura - IMI Remosa
|
||||
CNCTYPE=MODBUS_TCP_RIMOR
|
||||
PING_MS_TIMEOUT=1000
|
||||
MinDeltaSec=5
|
||||
IOB_NAME=IMI_RIMOR_SAB
|
||||
DIS_EXE_TASK=FALSE
|
||||
DIS_STATE_CH=TRUE
|
||||
|
||||
[MACHINE]
|
||||
VENDOR=RIMOR
|
||||
MODEL=Sabbiatura - HMI
|
||||
|
||||
[CNC]
|
||||
IP=192.168.10.6
|
||||
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=40000
|
||||
ADDR_WRITE=40000
|
||||
SIZE_READ=10
|
||||
SIZE_WRITE=0
|
||||
HR_BASE_ADDR=40000
|
||||
DELTA_BASE=-1
|
||||
MODBUS_EXT_REG=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_02.json
|
||||
|
||||
NO_PING=FALSE
|
||||
; conf blocchi memoria x READ
|
||||
MEM_BLOCK=IMI_RIMOR_SAB_02_MBlock.json
|
||||
|
||||
; rimozione check limiti min/max dynData
|
||||
disDynDataRangeCheck=true
|
||||
|
||||
[BRANCH]
|
||||
NAME=master
|
||||
@@ -0,0 +1,74 @@
|
||||
{
|
||||
"mMapWrite": {
|
||||
"setArt": {
|
||||
"name": "setArt",
|
||||
"description": "Articolo",
|
||||
"memAddr": "40901",
|
||||
"tipoMem": "String",
|
||||
"index": 901,
|
||||
"size": 12
|
||||
},
|
||||
"setComm": {
|
||||
"name": "setComm",
|
||||
"description": "Commessa",
|
||||
"memAddr": "40921",
|
||||
"tipoMem": "String",
|
||||
"index": 921,
|
||||
"size": 12
|
||||
},
|
||||
"setProg": {
|
||||
"name": "setProg",
|
||||
"description": "Qty",
|
||||
"memAddr": "40941",
|
||||
"tipoMem": "String",
|
||||
"index": 941,
|
||||
"size": 30
|
||||
}
|
||||
},
|
||||
"mMapRead": {
|
||||
"setArt": {
|
||||
"name": "setArt",
|
||||
"description": "Articolo",
|
||||
"memAddr": "40901",
|
||||
"tipoMem": "String",
|
||||
"index": 901,
|
||||
"size": 12,
|
||||
"func": "POINT",
|
||||
"period": 90,
|
||||
"factor": 1,
|
||||
"minVal": 0,
|
||||
"maxVal": 999999,
|
||||
"unit": ""
|
||||
},
|
||||
"setComm": {
|
||||
"name": "setComm",
|
||||
"description": "Commessa",
|
||||
"memAddr": "40921",
|
||||
"tipoMem": "String",
|
||||
"index": 921,
|
||||
"size": 12,
|
||||
"func": "POINT",
|
||||
"period": 90,
|
||||
"factor": 1,
|
||||
"minVal": 0,
|
||||
"maxVal": 0,
|
||||
"unit": ""
|
||||
},
|
||||
"setProg": {
|
||||
"name": "setProg",
|
||||
"description": "Qty",
|
||||
"memAddr": "40941",
|
||||
"tipoMem": "String",
|
||||
"index": 941,
|
||||
"size": 30,
|
||||
"func": "POINT",
|
||||
"period": 90,
|
||||
"factor": 1,
|
||||
"minVal": 0,
|
||||
"maxVal": 0,
|
||||
"unit": ""
|
||||
}
|
||||
},
|
||||
"optMemPar": {
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,5 @@
|
||||
{
|
||||
"ReadBlocks": {
|
||||
"40900": 70
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,82 @@
|
||||
;Configurazione IOB-WIN
|
||||
[IOB]
|
||||
;Impianto Rimor verniciatura - IMI Remosa
|
||||
CNCTYPE=MODBUS_TCP_RIMOR
|
||||
PING_MS_TIMEOUT=1000
|
||||
MinDeltaSec=5
|
||||
IOB_NAME=IMI_RIMOR_VER
|
||||
DIS_EXE_TASK=FALSE
|
||||
DIS_STATE_CH=FALSE
|
||||
|
||||
[MACHINE]
|
||||
VENDOR=RIMOR
|
||||
MODEL=Verniciatura - PLC
|
||||
|
||||
[CNC]
|
||||
IP=192.168.10.7
|
||||
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=400000
|
||||
ADDR_WRITE=400000
|
||||
SIZE_READ=10
|
||||
SIZE_WRITE=0
|
||||
HR_BASE_ADDR=400000
|
||||
DELTA_BASE=-1
|
||||
MODBUS_EXT_REG=1
|
||||
|
||||
|
||||
[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_VER_01.json
|
||||
|
||||
NO_PING=FALSE
|
||||
; conf blocchi memoria x READ
|
||||
MEM_BLOCK=IMI_RIMOR_VER_01_MBlock.json
|
||||
; conf aree allarme
|
||||
ALARM_CONF=IMI_RIMOR_VER_01_alarm.json
|
||||
|
||||
; rimozione check limiti min/max dynData
|
||||
disDynDataRangeCheck=true
|
||||
|
||||
[BRANCH]
|
||||
NAME=master
|
||||
@@ -0,0 +1,217 @@
|
||||
{
|
||||
"mMapWrite": {
|
||||
"setProg": {
|
||||
"name": "setProg",
|
||||
"description": "Qty",
|
||||
"memAddr": "406202",
|
||||
"tipoMem": "Int",
|
||||
"index": 6202,
|
||||
"size": 1
|
||||
}
|
||||
},
|
||||
"mMapRead": {
|
||||
"OreFunzFiltro1": {
|
||||
"name": "OreFunzFiltro1",
|
||||
"description": "Ore funzionamento filtro 1",
|
||||
"memAddr": "406297",
|
||||
"tipoMem": "Int",
|
||||
"index": 6297,
|
||||
"size": 1,
|
||||
"func": "MAX",
|
||||
"period": 90,
|
||||
"factor": 1,
|
||||
"minVal": 0,
|
||||
"maxVal": 999999,
|
||||
"unit": "h"
|
||||
},
|
||||
"MinFunzFiltro1": {
|
||||
"name": "MinFunzFiltro1",
|
||||
"description": "Minuti funzionamento filtro 1",
|
||||
"memAddr": "406301",
|
||||
"tipoMem": "Int",
|
||||
"index": 6301,
|
||||
"size": 1,
|
||||
"func": "MAX",
|
||||
"period": 90,
|
||||
"factor": 1,
|
||||
"minVal": 0,
|
||||
"maxVal": 999999,
|
||||
"unit": "m"
|
||||
},
|
||||
"OreFunzFiltroPar1": {
|
||||
"name": "OreFunzFiltroPar1",
|
||||
"description": "Ore funzionamento filtro 1 (contatore parziale azzerabile)",
|
||||
"memAddr": "406299",
|
||||
"tipoMem": "Int",
|
||||
"index": 6299,
|
||||
"size": 1,
|
||||
"func": "MAX",
|
||||
"period": 90,
|
||||
"factor": 1,
|
||||
"minVal": 0,
|
||||
"maxVal": 999999,
|
||||
"unit": "h"
|
||||
},
|
||||
"MinFunzFiltroPar1": {
|
||||
"name": "MinFunzFiltroPar1",
|
||||
"description": "Minuti funzionamento filtro 1 (contatore parziale azzerabile)",
|
||||
"memAddr": "406302",
|
||||
"tipoMem": "Int",
|
||||
"index": 6302,
|
||||
"size": 1,
|
||||
"func": "MAX",
|
||||
"period": 90,
|
||||
"factor": 1,
|
||||
"minVal": 0,
|
||||
"maxVal": 999999,
|
||||
"unit": "m"
|
||||
},
|
||||
"OreFunzFiltro2": {
|
||||
"name": "OreFunzFiltro2",
|
||||
"description": "Ore funzionamento filtro 2",
|
||||
"memAddr": "406303",
|
||||
"tipoMem": "Int",
|
||||
"index": 6303,
|
||||
"size": 1,
|
||||
"func": "MAX",
|
||||
"period": 90,
|
||||
"factor": 1,
|
||||
"minVal": 0,
|
||||
"maxVal": 999999,
|
||||
"unit": "h"
|
||||
},
|
||||
"MinFunzFiltro2": {
|
||||
"name": "MinFunzFiltro2",
|
||||
"description": "Minuti funzionamento filtro 2",
|
||||
"memAddr": "406307",
|
||||
"tipoMem": "Int",
|
||||
"index": 6307,
|
||||
"size": 1,
|
||||
"func": "MAX",
|
||||
"period": 90,
|
||||
"factor": 1,
|
||||
"minVal": 0,
|
||||
"maxVal": 999999,
|
||||
"unit": "m"
|
||||
},
|
||||
"OreFunzFiltroPar2": {
|
||||
"name": "OreFunzFiltroPar2",
|
||||
"description": "Ore funzionamento filtro 1 (contatore parziale azzerabile)",
|
||||
"memAddr": "406305",
|
||||
"tipoMem": "Int",
|
||||
"index": 6305,
|
||||
"size": 1,
|
||||
"func": "MAX",
|
||||
"period": 90,
|
||||
"factor": 1,
|
||||
"minVal": 0,
|
||||
"maxVal": 999999,
|
||||
"unit": "h"
|
||||
},
|
||||
"MinFunzFiltroPar2": {
|
||||
"name": "MinFunzFiltroPar2",
|
||||
"description": "Minuti funzionamento filtro 1 (contatore parziale azzerabile)",
|
||||
"memAddr": "406308",
|
||||
"tipoMem": "Int",
|
||||
"index": 6308,
|
||||
"size": 1,
|
||||
"func": "MAX",
|
||||
"period": 90,
|
||||
"factor": 1,
|
||||
"minVal": 0,
|
||||
"maxVal": 999999,
|
||||
"unit": "m"
|
||||
},
|
||||
"OreFunzAgitatori": {
|
||||
"name": "OreFunzAgitatori",
|
||||
"description": "Ore funzionamento Agitatori",
|
||||
"memAddr": "406309",
|
||||
"tipoMem": "Int",
|
||||
"index": 6309,
|
||||
"size": 1,
|
||||
"func": "MAX",
|
||||
"period": 90,
|
||||
"factor": 1,
|
||||
"minVal": 0,
|
||||
"maxVal": 999999,
|
||||
"unit": "h"
|
||||
},
|
||||
"MinFunzAgitatori": {
|
||||
"name": "MinFunzAgitatori",
|
||||
"description": "Minuti funzionamento Agitatori",
|
||||
"memAddr": "406313",
|
||||
"tipoMem": "Int",
|
||||
"index": 6313,
|
||||
"size": 1,
|
||||
"func": "MAX",
|
||||
"period": 90,
|
||||
"factor": 1,
|
||||
"minVal": 0,
|
||||
"maxVal": 999999,
|
||||
"unit": "m"
|
||||
},
|
||||
"OreFunzAgitatoriPar": {
|
||||
"name": "OreFunzAgitatoriPar",
|
||||
"description": "Ore funzionamento Agitatori (contatore parziale azzerabile)",
|
||||
"memAddr": "406311",
|
||||
"tipoMem": "Int",
|
||||
"index": 6311,
|
||||
"size": 1,
|
||||
"func": "MAX",
|
||||
"period": 90,
|
||||
"factor": 1,
|
||||
"minVal": 0,
|
||||
"maxVal": 999999,
|
||||
"unit": "h"
|
||||
},
|
||||
"MinFunzAgitatoriPar": {
|
||||
"name": "MinFunzAgitatoriPar",
|
||||
"description": "Minuti funzionamento Agitatori (contatore parziale azzerabile)",
|
||||
"memAddr": "406314",
|
||||
"tipoMem": "Int",
|
||||
"index": 6314,
|
||||
"size": 1,
|
||||
"func": "MAX",
|
||||
"period": 90,
|
||||
"factor": 1,
|
||||
"minVal": 0,
|
||||
"maxVal": 999999,
|
||||
"unit": "m"
|
||||
},
|
||||
"DurataLavorazione": {
|
||||
"name": "DurataLavorazione",
|
||||
"description": "Durata Lavorazione",
|
||||
"memAddr": "406198",
|
||||
"tipoMem": "Int",
|
||||
"index": 6198,
|
||||
"size": 1,
|
||||
"func": "MAX",
|
||||
"period": 90,
|
||||
"factor": 1,
|
||||
"minVal": 0,
|
||||
"maxVal": 999999,
|
||||
"unit": "h/m"
|
||||
},
|
||||
"StatoLavorazione": {
|
||||
"name": "StatoLavorazione",
|
||||
"description": "Stato Lavorazione",
|
||||
"memAddr": "406200",
|
||||
"tipoMem": "Int",
|
||||
"index": 6200,
|
||||
"size": 1,
|
||||
"func": "MAX",
|
||||
"period": 90,
|
||||
"factor": 1,
|
||||
"minVal": 0,
|
||||
"maxVal": 999999,
|
||||
"unit": "#"
|
||||
}
|
||||
},
|
||||
"optMemPar": {
|
||||
"EndOrdIntCond": "406198|1=1",
|
||||
//"AlarmIntCond": "406200|0=1",
|
||||
"ManualIntCond": "406198|1=3",
|
||||
//"EStopBitCond": "100040.0=1",
|
||||
"WorkIntCond": "406198|1=2,4"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,10 @@
|
||||
{
|
||||
"ReadBlocks": {
|
||||
//"100040": 20,
|
||||
//"332760": 20,
|
||||
"406190": 20,
|
||||
"406290": 30,
|
||||
"404200": 60,
|
||||
"404300": 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,80 @@
|
||||
;Configurazione IOB-WIN
|
||||
[IOB]
|
||||
;Impianto Rimor verniciatura - IMI Remosa
|
||||
CNCTYPE=MODBUS_TCP_RIMOR
|
||||
PING_MS_TIMEOUT=1000
|
||||
MinDeltaSec=5
|
||||
IOB_NAME=IMI_RIMOR_VER
|
||||
DIS_EXE_TASK=FALSE
|
||||
DIS_STATE_CH=TRUE
|
||||
|
||||
[MACHINE]
|
||||
VENDOR=RIMOR
|
||||
MODEL=Verniciatura - HMI
|
||||
|
||||
[CNC]
|
||||
IP=192.168.10.8
|
||||
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=40000
|
||||
ADDR_WRITE=40000
|
||||
SIZE_READ=10
|
||||
SIZE_WRITE=0
|
||||
HR_BASE_ADDR=40000
|
||||
DELTA_BASE=-1
|
||||
MODBUS_EXT_REG=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_VER_02.json
|
||||
|
||||
NO_PING=FALSE
|
||||
; conf blocchi memoria x READ
|
||||
MEM_BLOCK=IMI_RIMOR_VER_02_MBlock.json
|
||||
|
||||
; rimozione check limiti min/max dynData
|
||||
disDynDataRangeCheck=true
|
||||
|
||||
[BRANCH]
|
||||
NAME=master
|
||||
@@ -0,0 +1,74 @@
|
||||
{
|
||||
"mMapWrite": {
|
||||
"setArt": {
|
||||
"name": "setArt",
|
||||
"description": "Articolo",
|
||||
"memAddr": "40901",
|
||||
"tipoMem": "String",
|
||||
"index": 901,
|
||||
"size": 12
|
||||
},
|
||||
"setComm": {
|
||||
"name": "setComm",
|
||||
"description": "Commessa",
|
||||
"memAddr": "40921",
|
||||
"tipoMem": "String",
|
||||
"index": 921,
|
||||
"size": 12
|
||||
},
|
||||
"setProg": {
|
||||
"name": "setProg",
|
||||
"description": "Qty",
|
||||
"memAddr": "40941",
|
||||
"tipoMem": "String",
|
||||
"index": 941,
|
||||
"size": 30
|
||||
}
|
||||
},
|
||||
"mMapRead": {
|
||||
"setArt": {
|
||||
"name": "setArt",
|
||||
"description": "Articolo",
|
||||
"memAddr": "40901",
|
||||
"tipoMem": "String",
|
||||
"index": 901,
|
||||
"size": 12,
|
||||
"func": "POINT",
|
||||
"period": 90,
|
||||
"factor": 1,
|
||||
"minVal": 0,
|
||||
"maxVal": 999999,
|
||||
"unit": ""
|
||||
},
|
||||
"setComm": {
|
||||
"name": "setComm",
|
||||
"description": "Commessa",
|
||||
"memAddr": "40921",
|
||||
"tipoMem": "String",
|
||||
"index": 921,
|
||||
"size": 12,
|
||||
"func": "POINT",
|
||||
"period": 90,
|
||||
"factor": 1,
|
||||
"minVal": 0,
|
||||
"maxVal": 0,
|
||||
"unit": ""
|
||||
},
|
||||
"setProg": {
|
||||
"name": "setProg",
|
||||
"description": "Qty",
|
||||
"memAddr": "40941",
|
||||
"tipoMem": "String",
|
||||
"index": 941,
|
||||
"size": 30,
|
||||
"func": "POINT",
|
||||
"period": 90,
|
||||
"factor": 1,
|
||||
"minVal": 0,
|
||||
"maxVal": 0,
|
||||
"unit": ""
|
||||
}
|
||||
},
|
||||
"optMemPar": {
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,5 @@
|
||||
{
|
||||
"ReadBlocks": {
|
||||
"40900": 70
|
||||
}
|
||||
}
|
||||
@@ -1,51 +0,0 @@
|
||||
;Configurazione IOB-WIN
|
||||
[IOB]
|
||||
CNCTYPE=PingWatchdog
|
||||
PING_MS_TIMEOUT=500
|
||||
;IOB_NAME=SIMUL_09
|
||||
IOB_NAME=SIMUL_01
|
||||
|
||||
[MACHINE]
|
||||
VENDOR=STEAMWARE
|
||||
MODEL=WATCHDOG
|
||||
|
||||
[CNC]
|
||||
IP=10.74.83.183
|
||||
;IP=10.74.82.253
|
||||
PORT=0000
|
||||
|
||||
[SERVER]
|
||||
MPIP=http://10.74.82.218
|
||||
MPURL=/MP/IO
|
||||
CMDBASE=/IOB/input/
|
||||
CMDFLOG=/IOB/flog/
|
||||
CMDALIVE=/IOB
|
||||
CMDENABLED=/IOB/enabled/
|
||||
CMDADV1=?valore=
|
||||
CMDREBO=/sendReboot.aspx?idxMacchina=
|
||||
CMD_ODL_STARTED=/IOB/getCurrOdlStart/
|
||||
CMD_FORCLE_SPLIT_ODL=/IOB/forceSplitOdlFull/
|
||||
CMD_IDLE_TIME=/IOB/getIdlePeriod/
|
||||
|
||||
[MEMORY]
|
||||
|
||||
[BLINK]
|
||||
MAX_COUNTER_BLINK = 15
|
||||
BLINK_FILT=0
|
||||
|
||||
[OPTPAR]
|
||||
VETO_QUEUE_IN=15
|
||||
AUTO_CHANGE_ODL=false
|
||||
POWEROFF_TIMEOUT_SEC=60
|
||||
DISABLE_PZCOUNT=TRUE
|
||||
;; gestioni PING
|
||||
;MAX_TRY_PING=3
|
||||
;VETO_QUEUE_IN=4
|
||||
;VETO_PING_SEC=4
|
||||
;VETO_CHECKDIR_SEC=10
|
||||
;MAX_ELAPSED_TIME_SEC=60
|
||||
;VETO_SEND_SNAPSHOT=3
|
||||
|
||||
|
||||
[BRANCH]
|
||||
NAME=master
|
||||
@@ -0,0 +1,80 @@
|
||||
;Configurazione IOB-WIN
|
||||
[IOB]
|
||||
;Impianto HAM Noceto per Pizzaferri
|
||||
CNCTYPE=MODBUS_TCP_HAM
|
||||
PING_MS_TIMEOUT=1000
|
||||
|
||||
[MACHINE]
|
||||
VENDOR=HAM
|
||||
MODEL=HAM
|
||||
|
||||
[CNC]
|
||||
IP=hampizzaferri.dyndns.org
|
||||
PORT=502
|
||||
|
||||
[SERVER]
|
||||
;MPIP=https://localhost:44339
|
||||
MPIP=https://gwms.egalware.com
|
||||
MPURL=/pizzaferri/api
|
||||
CMDBASE=/IOB/input/
|
||||
CMDFLOG=/IOB/flog/
|
||||
CMDALIVE=/IOB
|
||||
CMDENABLED=/IOB/enabled/
|
||||
CMDADV1=?valore=
|
||||
CMDREBO=/IOB/sendReboot?idxMacchina=
|
||||
|
||||
[MEMORY]
|
||||
ADDR_READ=40000
|
||||
ADDR_WRITE=40400
|
||||
SIZE_READ=64
|
||||
SIZE_WRITE=358
|
||||
|
||||
HR_BASE_ADDR=40000
|
||||
;DELTA_BASE=1
|
||||
DELTA_BASE=0
|
||||
INDEX_LUT_CORR=-1
|
||||
|
||||
|
||||
[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=150
|
||||
|
||||
MAX_ERROR_READ=10
|
||||
|
||||
; conf parametri memoria READ/WRITE
|
||||
PARAM_CONF=PIZ04.json
|
||||
|
||||
NO_PING=FALSE
|
||||
; conf blocchi memoria x READ
|
||||
MEM_BLOCK=PIZ04_MBlock.json
|
||||
; conf aree allarme
|
||||
ALARM_CONF=PIZ04_alarm.json
|
||||
|
||||
[BRANCH]
|
||||
NAME=master
|
||||
@@ -0,0 +1,290 @@
|
||||
{
|
||||
"mMapWrite": {
|
||||
"SetLowTempGNC01": {
|
||||
"name": "SetLowTempGNC01",
|
||||
"description": "Set point di avviso per bassa temperatura all'uscita del vaporizzatore GNC 01",
|
||||
"memAddr": "40453",
|
||||
"tipoMem": "Real",
|
||||
"index": 453,
|
||||
"size": 2,
|
||||
"minVal": -200,
|
||||
"maxVal": 200,
|
||||
"unit": "C"
|
||||
},
|
||||
"SetHighTempGNC01": {
|
||||
"name": "SetHighTempGNC01",
|
||||
"description": "Set point di avviso per alta temperatura all'uscita del vaporizzatore GNC 01",
|
||||
"memAddr": "40455",
|
||||
"tipoMem": "Real",
|
||||
"index": 455,
|
||||
"size": 2,
|
||||
"minVal": -200,
|
||||
"maxVal": 200,
|
||||
"unit": "C"
|
||||
},
|
||||
"SetLowTempGNC02": {
|
||||
"name": "SetLowTempGNC02",
|
||||
"description": "Set point di avviso per bassa temperatura all'uscita del vaporizzatore GNC 02",
|
||||
"memAddr": "40457",
|
||||
"tipoMem": "Real",
|
||||
"index": 457,
|
||||
"size": 2,
|
||||
"minVal": -200,
|
||||
"maxVal": 200,
|
||||
"unit": "C"
|
||||
},
|
||||
"SetHighTempGNC02": {
|
||||
"name": "SetHighTempGNC02",
|
||||
"description": "Set point di avviso per alta temperatura all'uscita del vaporizzatore GNC 02",
|
||||
"memAddr": "40459",
|
||||
"tipoMem": "Real",
|
||||
"index": 459,
|
||||
"size": 2,
|
||||
"minVal": -200,
|
||||
"maxVal": 200,
|
||||
"unit": "C"
|
||||
},
|
||||
"SetLowTempAmb01": {
|
||||
"name": "SetLowTempAmb01",
|
||||
"description": "Set point di avviso per bassa temperatura ambiente nell'impianto 01",
|
||||
"memAddr": "40421",
|
||||
"tipoMem": "Real",
|
||||
"index": 421,
|
||||
"size": 2,
|
||||
"minVal": -200,
|
||||
"maxVal": 200,
|
||||
"unit": "C"
|
||||
},
|
||||
"SetHighTempAmb01": {
|
||||
"name": "SetHighTempAmb01",
|
||||
"description": "Set point di avviso per alta temperatura ambiente nell'impianto 01",
|
||||
"memAddr": "40423",
|
||||
"tipoMem": "Real",
|
||||
"index": 423,
|
||||
"size": 2,
|
||||
"minVal": -200,
|
||||
"maxVal": 200,
|
||||
"unit": "C"
|
||||
},
|
||||
"SetLowTempAmb02": {
|
||||
"name": "SetLowTempAmb02",
|
||||
"description": "Set point di avviso per bassa temperatura ambiente nell'impianto 02",
|
||||
"memAddr": "40425",
|
||||
"tipoMem": "Real",
|
||||
"index": 425,
|
||||
"size": 2,
|
||||
"minVal": -200,
|
||||
"maxVal": 200,
|
||||
"unit": "C"
|
||||
},
|
||||
"SetHighTempAmb02": {
|
||||
"name": "SetHighTempAmb02",
|
||||
"description": "Set point di avviso per alta temperatura ambiente nell'impianto 02",
|
||||
"memAddr": "40427",
|
||||
"tipoMem": "Real",
|
||||
"index": 427,
|
||||
"size": 2,
|
||||
"minVal": -200,
|
||||
"maxVal": 200,
|
||||
"unit": "C"
|
||||
}
|
||||
},
|
||||
"mMapRead": {
|
||||
"Level": {
|
||||
"name": "Level",
|
||||
"description": "Livello Serbatoio",
|
||||
"memAddr": "40001",
|
||||
"tipoMem": "Real",
|
||||
"index": 1,
|
||||
"size": 2,
|
||||
"func": "MEDIAN",
|
||||
"period": 90,
|
||||
"factor": 360,
|
||||
"minVal": 0,
|
||||
"maxVal": 100,
|
||||
"unit": "Kg"
|
||||
},
|
||||
"MainPress": {
|
||||
"name": "MainPress",
|
||||
"description": "Pressione Serbatoio",
|
||||
"memAddr": "40003",
|
||||
"tipoMem": "Real",
|
||||
"index": 3,
|
||||
"size": 2,
|
||||
"func": "MEDIAN",
|
||||
"period": 90,
|
||||
"factor": 1,
|
||||
"minVal": 0,
|
||||
"maxVal": 400,
|
||||
"unit": "bar"
|
||||
},
|
||||
"PressBH": {
|
||||
"name": "PressBH",
|
||||
"description": "Pressione media all'interno dell'accumulo GNC (pacco bombole) di alta pressione",
|
||||
"memAddr": "40019",
|
||||
"tipoMem": "Real",
|
||||
"index": 19,
|
||||
"size": 2,
|
||||
"func": "MEDIAN",
|
||||
"period": 90,
|
||||
"factor": 1,
|
||||
"minVal": 0,
|
||||
"maxVal": 400,
|
||||
"unit": "bar"
|
||||
},
|
||||
"PressBL": {
|
||||
"name": "PressBL",
|
||||
"description": "Pressione media all'interno dell'accumulo GNC (pacco bombole) di media pressione",
|
||||
"memAddr": "40021",
|
||||
"tipoMem": "Real",
|
||||
"index": 21,
|
||||
"size": 2,
|
||||
"func": "MEDIAN",
|
||||
"period": 90,
|
||||
"factor": 1,
|
||||
"minVal": 0,
|
||||
"maxVal": 400,
|
||||
"unit": "bar"
|
||||
},
|
||||
"TempGNC": {
|
||||
"name": "TempGNC",
|
||||
"description": "Temperatura all'uscita del vaporizzatore GNC",
|
||||
"memAddr": "40027",
|
||||
"tipoMem": "Real",
|
||||
"index": 27,
|
||||
"size": 2,
|
||||
"func": "MEDIAN",
|
||||
"period": 90,
|
||||
"factor": 1,
|
||||
"minVal": -200,
|
||||
"maxVal": 200,
|
||||
"unit": "C"
|
||||
},
|
||||
"TempAmb": {
|
||||
"name": "TempAmb",
|
||||
"description": "Temperatura ambiente nell'impianto",
|
||||
"memAddr": "40011",
|
||||
"tipoMem": "Real",
|
||||
"index": 11,
|
||||
"size": 2,
|
||||
"func": "MEDIAN",
|
||||
"period": 90,
|
||||
"factor": 1,
|
||||
"minVal": -200,
|
||||
"maxVal": 200,
|
||||
"unit": "C"
|
||||
},
|
||||
"SetLowTempGNC01": {
|
||||
"name": "SetLowTempGNC01",
|
||||
"description": "Set point di avviso per bassa temperatura all'uscita del vaporizzatore GNC 01",
|
||||
"memAddr": "40453",
|
||||
"tipoMem": "Real",
|
||||
"index": 453,
|
||||
"size": 2,
|
||||
"func": "MEDIAN",
|
||||
"period": 90,
|
||||
"factor": 1,
|
||||
"minVal": -200,
|
||||
"maxVal": 200,
|
||||
"unit": "C"
|
||||
},
|
||||
"SetHighTempGNC01": {
|
||||
"name": "SetHighTempGNC01",
|
||||
"description": "Set point di avviso per alta temperatura all'uscita del vaporizzatore GNC 01",
|
||||
"memAddr": "40455",
|
||||
"tipoMem": "Real",
|
||||
"index": 455,
|
||||
"size": 2,
|
||||
"func": "MEDIAN",
|
||||
"period": 90,
|
||||
"factor": 1,
|
||||
"minVal": -200,
|
||||
"maxVal": 200,
|
||||
"unit": "C"
|
||||
},
|
||||
"SetLowTempGNC02": {
|
||||
"name": "SetLowTempGNC02",
|
||||
"description": "Set point di avviso per bassa temperatura all'uscita del vaporizzatore GNC 02",
|
||||
"memAddr": "40457",
|
||||
"tipoMem": "Real",
|
||||
"index": 457,
|
||||
"size": 2,
|
||||
"func": "MEDIAN",
|
||||
"period": 90,
|
||||
"factor": 1,
|
||||
"minVal": -200,
|
||||
"maxVal": 200,
|
||||
"unit": "C"
|
||||
},
|
||||
"SetHighTempGNC02": {
|
||||
"name": "SetHighTempGNC02",
|
||||
"description": "Set point di avviso per alta temperatura all'uscita del vaporizzatore GNC 02",
|
||||
"memAddr": "40459",
|
||||
"tipoMem": "Real",
|
||||
"index": 459,
|
||||
"size": 2,
|
||||
"func": "MEDIAN",
|
||||
"period": 90,
|
||||
"factor": 1,
|
||||
"minVal": -200,
|
||||
"maxVal": 200,
|
||||
"unit": "C"
|
||||
},
|
||||
"SetLowTempAmb01": {
|
||||
"name": "SetLowTempAmb01",
|
||||
"description": "Set point di avviso per bassa temperatura ambiente nell'impianto 01",
|
||||
"memAddr": "40421",
|
||||
"tipoMem": "Real",
|
||||
"index": 421,
|
||||
"size": 2,
|
||||
"func": "MEDIAN",
|
||||
"period": 90,
|
||||
"factor": 1,
|
||||
"minVal": -200,
|
||||
"maxVal": 200,
|
||||
"unit": "C"
|
||||
},
|
||||
"SetHighTempAmb01": {
|
||||
"name": "SetHighTempAmb01",
|
||||
"description": "Set point di avviso per alta temperatura ambiente nell'impianto 01",
|
||||
"memAddr": "40423",
|
||||
"tipoMem": "Real",
|
||||
"index": 423,
|
||||
"size": 2,
|
||||
"func": "MEDIAN",
|
||||
"period": 90,
|
||||
"factor": 1,
|
||||
"minVal": -200,
|
||||
"maxVal": 200,
|
||||
"unit": "C"
|
||||
},
|
||||
"SetLowTempAmb02": {
|
||||
"name": "SetLowTempAmb02",
|
||||
"description": "Set point di avviso per bassa temperatura ambiente nell'impianto 02",
|
||||
"memAddr": "40425",
|
||||
"tipoMem": "Real",
|
||||
"index": 425,
|
||||
"size": 2,
|
||||
"func": "MEDIAN",
|
||||
"period": 90,
|
||||
"factor": 1,
|
||||
"minVal": -200,
|
||||
"maxVal": 200,
|
||||
"unit": "C"
|
||||
},
|
||||
"SetHighTempAmb02": {
|
||||
"name": "SetHighTempAmb02",
|
||||
"description": "Set point di avviso per alta temperatura ambiente nell'impianto 02",
|
||||
"memAddr": "40427",
|
||||
"tipoMem": "Real",
|
||||
"index": 427,
|
||||
"size": 2,
|
||||
"func": "MEDIAN",
|
||||
"period": 90,
|
||||
"factor": 1,
|
||||
"minVal": -200,
|
||||
"maxVal": 200,
|
||||
"unit": "C"
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,7 @@
|
||||
{
|
||||
"ReadBlocks": {
|
||||
"40000": 64,
|
||||
"40420": 64,
|
||||
"40900": 8
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,52 @@
|
||||
[
|
||||
{
|
||||
"description": "Allarmi Impianto",
|
||||
"tipoMem": "DInt",
|
||||
"memAddr": "40901",
|
||||
"index": 901,
|
||||
"size": 2,
|
||||
"messages": [
|
||||
"Basso livello serbatoio",
|
||||
"Alto livello serbatoio",
|
||||
"Errore trasmettitore livello",
|
||||
"Bassa pressione serbatoio",
|
||||
"Alta pressione serbatoio",
|
||||
"##",
|
||||
"##",
|
||||
"Allarme rilevatore gas 1",
|
||||
"##",
|
||||
"##",
|
||||
"Allarme rilevatore gas 2",
|
||||
"##",
|
||||
"##",
|
||||
"Allarme rilevatore gas 3",
|
||||
"##",
|
||||
"##"
|
||||
]
|
||||
},
|
||||
{
|
||||
"description": "Emergenza",
|
||||
"tipoMem": "DInt",
|
||||
"memAddr": "40907",
|
||||
"index": 907,
|
||||
"size": 2,
|
||||
"messages": [
|
||||
"##",
|
||||
"Pulsante di Emergenza Premuto",
|
||||
"##",
|
||||
"##",
|
||||
"##",
|
||||
"##",
|
||||
"##",
|
||||
"##",
|
||||
"##",
|
||||
"##",
|
||||
"##",
|
||||
"##",
|
||||
"##",
|
||||
"##",
|
||||
"##",
|
||||
"##"
|
||||
]
|
||||
}
|
||||
]
|
||||
@@ -0,0 +1,80 @@
|
||||
;Configurazione IOB-WIN
|
||||
[IOB]
|
||||
;Impianto HAM Baganzola per Pizzaferri
|
||||
CNCTYPE=MODBUS_TCP_HAM
|
||||
PING_MS_TIMEOUT=1000
|
||||
|
||||
[MACHINE]
|
||||
VENDOR=HAM
|
||||
MODEL=HAM
|
||||
|
||||
[CNC]
|
||||
IP=hambaganzola.dyndns.org
|
||||
PORT=502
|
||||
|
||||
[SERVER]
|
||||
;MPIP=https://localhost:44339
|
||||
MPIP=https://gwms.egalware.com
|
||||
MPURL=/pizzaferri/api
|
||||
CMDBASE=/IOB/input/
|
||||
CMDFLOG=/IOB/flog/
|
||||
CMDALIVE=/IOB
|
||||
CMDENABLED=/IOB/enabled/
|
||||
CMDADV1=?valore=
|
||||
CMDREBO=/IOB/sendReboot?idxMacchina=
|
||||
|
||||
[MEMORY]
|
||||
ADDR_READ=40000
|
||||
ADDR_WRITE=40400
|
||||
SIZE_READ=64
|
||||
SIZE_WRITE=358
|
||||
|
||||
HR_BASE_ADDR=40000
|
||||
;DELTA_BASE=1
|
||||
DELTA_BASE=0
|
||||
INDEX_LUT_CORR=-1
|
||||
|
||||
|
||||
[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=150
|
||||
|
||||
MAX_ERROR_READ=10
|
||||
|
||||
; conf parametri memoria READ/WRITE
|
||||
PARAM_CONF=PIZ05.json
|
||||
|
||||
NO_PING=FALSE
|
||||
; conf blocchi memoria x READ
|
||||
MEM_BLOCK=PIZ05_MBlock.json
|
||||
; conf aree allarme
|
||||
ALARM_CONF=PIZ05_alarm.json
|
||||
|
||||
[BRANCH]
|
||||
NAME=master
|
||||
@@ -0,0 +1,290 @@
|
||||
{
|
||||
"mMapWrite": {
|
||||
"SetLowTempGNC01": {
|
||||
"name": "SetLowTempGNC01",
|
||||
"description": "Set point di avviso per bassa temperatura all'uscita del vaporizzatore GNC 01",
|
||||
"memAddr": "40453",
|
||||
"tipoMem": "Real",
|
||||
"index": 453,
|
||||
"size": 2,
|
||||
"minVal": -200,
|
||||
"maxVal": 200,
|
||||
"unit": "C"
|
||||
},
|
||||
"SetHighTempGNC01": {
|
||||
"name": "SetHighTempGNC01",
|
||||
"description": "Set point di avviso per alta temperatura all'uscita del vaporizzatore GNC 01",
|
||||
"memAddr": "40455",
|
||||
"tipoMem": "Real",
|
||||
"index": 455,
|
||||
"size": 2,
|
||||
"minVal": -200,
|
||||
"maxVal": 200,
|
||||
"unit": "C"
|
||||
},
|
||||
"SetLowTempGNC02": {
|
||||
"name": "SetLowTempGNC02",
|
||||
"description": "Set point di avviso per bassa temperatura all'uscita del vaporizzatore GNC 02",
|
||||
"memAddr": "40457",
|
||||
"tipoMem": "Real",
|
||||
"index": 457,
|
||||
"size": 2,
|
||||
"minVal": -200,
|
||||
"maxVal": 200,
|
||||
"unit": "C"
|
||||
},
|
||||
"SetHighTempGNC02": {
|
||||
"name": "SetHighTempGNC02",
|
||||
"description": "Set point di avviso per alta temperatura all'uscita del vaporizzatore GNC 02",
|
||||
"memAddr": "40459",
|
||||
"tipoMem": "Real",
|
||||
"index": 459,
|
||||
"size": 2,
|
||||
"minVal": -200,
|
||||
"maxVal": 200,
|
||||
"unit": "C"
|
||||
},
|
||||
"SetLowTempAmb01": {
|
||||
"name": "SetLowTempAmb01",
|
||||
"description": "Set point di avviso per bassa temperatura ambiente nell'impianto 01",
|
||||
"memAddr": "40421",
|
||||
"tipoMem": "Real",
|
||||
"index": 421,
|
||||
"size": 2,
|
||||
"minVal": -200,
|
||||
"maxVal": 200,
|
||||
"unit": "C"
|
||||
},
|
||||
"SetHighTempAmb01": {
|
||||
"name": "SetHighTempAmb01",
|
||||
"description": "Set point di avviso per alta temperatura ambiente nell'impianto 01",
|
||||
"memAddr": "40423",
|
||||
"tipoMem": "Real",
|
||||
"index": 423,
|
||||
"size": 2,
|
||||
"minVal": -200,
|
||||
"maxVal": 200,
|
||||
"unit": "C"
|
||||
},
|
||||
"SetLowTempAmb02": {
|
||||
"name": "SetLowTempAmb02",
|
||||
"description": "Set point di avviso per bassa temperatura ambiente nell'impianto 02",
|
||||
"memAddr": "40425",
|
||||
"tipoMem": "Real",
|
||||
"index": 425,
|
||||
"size": 2,
|
||||
"minVal": -200,
|
||||
"maxVal": 200,
|
||||
"unit": "C"
|
||||
},
|
||||
"SetHighTempAmb02": {
|
||||
"name": "SetHighTempAmb02",
|
||||
"description": "Set point di avviso per alta temperatura ambiente nell'impianto 02",
|
||||
"memAddr": "40427",
|
||||
"tipoMem": "Real",
|
||||
"index": 427,
|
||||
"size": 2,
|
||||
"minVal": -200,
|
||||
"maxVal": 200,
|
||||
"unit": "C"
|
||||
}
|
||||
},
|
||||
"mMapRead": {
|
||||
"Level": {
|
||||
"name": "Level",
|
||||
"description": "Livello Serbatoio",
|
||||
"memAddr": "40001",
|
||||
"tipoMem": "Real",
|
||||
"index": 1,
|
||||
"size": 2,
|
||||
"func": "MEDIAN",
|
||||
"period": 90,
|
||||
"factor": 270,
|
||||
"minVal": -1,
|
||||
"maxVal": 101,
|
||||
"unit": "Kg"
|
||||
},
|
||||
"MainPress": {
|
||||
"name": "MainPress",
|
||||
"description": "Pressione Serbatoio",
|
||||
"memAddr": "40003",
|
||||
"tipoMem": "Real",
|
||||
"index": 3,
|
||||
"size": 2,
|
||||
"func": "MEDIAN",
|
||||
"period": 90,
|
||||
"factor": 1,
|
||||
"minVal": 0,
|
||||
"maxVal": 400,
|
||||
"unit": "bar"
|
||||
},
|
||||
"PressBH": {
|
||||
"name": "PressBH",
|
||||
"description": "Pressione media all'interno dell'accumulo GNC (pacco bombole) di alta pressione",
|
||||
"memAddr": "40019",
|
||||
"tipoMem": "Real",
|
||||
"index": 19,
|
||||
"size": 2,
|
||||
"func": "MEDIAN",
|
||||
"period": 90,
|
||||
"factor": 1,
|
||||
"minVal": 0,
|
||||
"maxVal": 400,
|
||||
"unit": "bar"
|
||||
},
|
||||
"PressBL": {
|
||||
"name": "PressBL",
|
||||
"description": "Pressione media all'interno dell'accumulo GNC (pacco bombole) di media pressione",
|
||||
"memAddr": "40021",
|
||||
"tipoMem": "Real",
|
||||
"index": 21,
|
||||
"size": 2,
|
||||
"func": "MEDIAN",
|
||||
"period": 90,
|
||||
"factor": 1,
|
||||
"minVal": 0,
|
||||
"maxVal": 400,
|
||||
"unit": "bar"
|
||||
},
|
||||
"TempGNC": {
|
||||
"name": "TempGNC",
|
||||
"description": "Temperatura all'uscita del vaporizzatore GNC",
|
||||
"memAddr": "40027",
|
||||
"tipoMem": "Real",
|
||||
"index": 27,
|
||||
"size": 2,
|
||||
"func": "MEDIAN",
|
||||
"period": 90,
|
||||
"factor": 1,
|
||||
"minVal": -200,
|
||||
"maxVal": 301,
|
||||
"unit": "C"
|
||||
},
|
||||
"TempAmb": {
|
||||
"name": "TempAmb",
|
||||
"description": "Temperatura ambiente nell'impianto",
|
||||
"memAddr": "40011",
|
||||
"tipoMem": "Real",
|
||||
"index": 11,
|
||||
"size": 2,
|
||||
"func": "MEDIAN",
|
||||
"period": 90,
|
||||
"factor": 1,
|
||||
"minVal": -200,
|
||||
"maxVal": 301,
|
||||
"unit": "C"
|
||||
},
|
||||
"SetLowTempGNC01": {
|
||||
"name": "SetLowTempGNC01",
|
||||
"description": "Set point di avviso per bassa temperatura all'uscita del vaporizzatore GNC 01",
|
||||
"memAddr": "40453",
|
||||
"tipoMem": "Real",
|
||||
"index": 453,
|
||||
"size": 2,
|
||||
"func": "MEDIAN",
|
||||
"period": 90,
|
||||
"factor": 1,
|
||||
"minVal": -200,
|
||||
"maxVal": 200,
|
||||
"unit": "C"
|
||||
},
|
||||
"SetHighTempGNC01": {
|
||||
"name": "SetHighTempGNC01",
|
||||
"description": "Set point di avviso per alta temperatura all'uscita del vaporizzatore GNC 01",
|
||||
"memAddr": "40455",
|
||||
"tipoMem": "Real",
|
||||
"index": 455,
|
||||
"size": 2,
|
||||
"func": "MEDIAN",
|
||||
"period": 90,
|
||||
"factor": 1,
|
||||
"minVal": -200,
|
||||
"maxVal": 200,
|
||||
"unit": "C"
|
||||
},
|
||||
"SetLowTempGNC02": {
|
||||
"name": "SetLowTempGNC02",
|
||||
"description": "Set point di avviso per bassa temperatura all'uscita del vaporizzatore GNC 02",
|
||||
"memAddr": "40457",
|
||||
"tipoMem": "Real",
|
||||
"index": 457,
|
||||
"size": 2,
|
||||
"func": "MEDIAN",
|
||||
"period": 90,
|
||||
"factor": 1,
|
||||
"minVal": -200,
|
||||
"maxVal": 200,
|
||||
"unit": "C"
|
||||
},
|
||||
"SetHighTempGNC02": {
|
||||
"name": "SetHighTempGNC02",
|
||||
"description": "Set point di avviso per alta temperatura all'uscita del vaporizzatore GNC 02",
|
||||
"memAddr": "40459",
|
||||
"tipoMem": "Real",
|
||||
"index": 459,
|
||||
"size": 2,
|
||||
"func": "MEDIAN",
|
||||
"period": 90,
|
||||
"factor": 1,
|
||||
"minVal": -200,
|
||||
"maxVal": 200,
|
||||
"unit": "C"
|
||||
},
|
||||
"SetLowTempAmb01": {
|
||||
"name": "SetLowTempAmb01",
|
||||
"description": "Set point di avviso per bassa temperatura ambiente nell'impianto 01",
|
||||
"memAddr": "40421",
|
||||
"tipoMem": "Real",
|
||||
"index": 421,
|
||||
"size": 2,
|
||||
"func": "MEDIAN",
|
||||
"period": 90,
|
||||
"factor": 1,
|
||||
"minVal": -200,
|
||||
"maxVal": 200,
|
||||
"unit": "C"
|
||||
},
|
||||
"SetHighTempAmb01": {
|
||||
"name": "SetHighTempAmb01",
|
||||
"description": "Set point di avviso per alta temperatura ambiente nell'impianto 01",
|
||||
"memAddr": "40423",
|
||||
"tipoMem": "Real",
|
||||
"index": 423,
|
||||
"size": 2,
|
||||
"func": "MEDIAN",
|
||||
"period": 90,
|
||||
"factor": 1,
|
||||
"minVal": -200,
|
||||
"maxVal": 200,
|
||||
"unit": "C"
|
||||
},
|
||||
"SetLowTempAmb02": {
|
||||
"name": "SetLowTempAmb02",
|
||||
"description": "Set point di avviso per bassa temperatura ambiente nell'impianto 02",
|
||||
"memAddr": "40425",
|
||||
"tipoMem": "Real",
|
||||
"index": 425,
|
||||
"size": 2,
|
||||
"func": "MEDIAN",
|
||||
"period": 90,
|
||||
"factor": 1,
|
||||
"minVal": -200,
|
||||
"maxVal": 200,
|
||||
"unit": "C"
|
||||
},
|
||||
"SetHighTempAmb02": {
|
||||
"name": "SetHighTempAmb02",
|
||||
"description": "Set point di avviso per alta temperatura ambiente nell'impianto 02",
|
||||
"memAddr": "40427",
|
||||
"tipoMem": "Real",
|
||||
"index": 427,
|
||||
"size": 2,
|
||||
"func": "MEDIAN",
|
||||
"period": 90,
|
||||
"factor": 1,
|
||||
"minVal": -200,
|
||||
"maxVal": 200,
|
||||
"unit": "C"
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,7 @@
|
||||
{
|
||||
"ReadBlocks": {
|
||||
"40000": 64,
|
||||
"40420": 64,
|
||||
"40900": 8
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,52 @@
|
||||
[
|
||||
{
|
||||
"description": "Allarmi Impianto",
|
||||
"tipoMem": "DInt",
|
||||
"memAddr": "40901",
|
||||
"index": 901,
|
||||
"size": 2,
|
||||
"messages": [
|
||||
"Basso livello serbatoio",
|
||||
"Alto livello serbatoio",
|
||||
"Errore trasmettitore livello",
|
||||
"Bassa pressione serbatoio",
|
||||
"Alta pressione serbatoio",
|
||||
"##",
|
||||
"##",
|
||||
"Allarme rilevatore gas 1",
|
||||
"##",
|
||||
"##",
|
||||
"Allarme rilevatore gas 2",
|
||||
"##",
|
||||
"##",
|
||||
"Allarme rilevatore gas 3",
|
||||
"##",
|
||||
"##"
|
||||
]
|
||||
},
|
||||
{
|
||||
"description": "Emergenza",
|
||||
"tipoMem": "DInt",
|
||||
"memAddr": "40907",
|
||||
"index": 907,
|
||||
"size": 2,
|
||||
"messages": [
|
||||
"##",
|
||||
"Pulsante di Emergenza Premuto",
|
||||
"##",
|
||||
"##",
|
||||
"##",
|
||||
"##",
|
||||
"##",
|
||||
"##",
|
||||
"##",
|
||||
"##",
|
||||
"##",
|
||||
"##",
|
||||
"##",
|
||||
"##",
|
||||
"##",
|
||||
"##"
|
||||
]
|
||||
}
|
||||
]
|
||||
@@ -0,0 +1,80 @@
|
||||
;Configurazione IOB-WIN
|
||||
[IOB]
|
||||
;Impianto HAM Guardamiglio per Pizzaferri
|
||||
CNCTYPE=MODBUS_TCP_HAM
|
||||
PING_MS_TIMEOUT=1000
|
||||
|
||||
[MACHINE]
|
||||
VENDOR=HAM
|
||||
MODEL=HAM
|
||||
|
||||
[CNC]
|
||||
IP=hamguardamiglio.dyndns.org
|
||||
PORT=502
|
||||
|
||||
[SERVER]
|
||||
;MPIP=https://localhost:44339
|
||||
MPIP=https://gwms.egalware.com
|
||||
MPURL=/pizzaferri/api
|
||||
CMDBASE=/IOB/input/
|
||||
CMDFLOG=/IOB/flog/
|
||||
CMDALIVE=/IOB
|
||||
CMDENABLED=/IOB/enabled/
|
||||
CMDADV1=?valore=
|
||||
CMDREBO=/IOB/sendReboot?idxMacchina=
|
||||
|
||||
[MEMORY]
|
||||
ADDR_READ=40000
|
||||
ADDR_WRITE=40400
|
||||
SIZE_READ=64
|
||||
SIZE_WRITE=358
|
||||
|
||||
HR_BASE_ADDR=40000
|
||||
;DELTA_BASE=1
|
||||
DELTA_BASE=0
|
||||
INDEX_LUT_CORR=-1
|
||||
|
||||
|
||||
[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=150
|
||||
|
||||
MAX_ERROR_READ=10
|
||||
|
||||
; conf parametri memoria READ/WRITE
|
||||
PARAM_CONF=PIZ09.json
|
||||
|
||||
NO_PING=FALSE
|
||||
; conf blocchi memoria x READ
|
||||
MEM_BLOCK=PIZ09_MBlock.json
|
||||
; conf aree allarme
|
||||
ALARM_CONF=PIZ09_alarm.json
|
||||
|
||||
[BRANCH]
|
||||
NAME=master
|
||||
@@ -0,0 +1,148 @@
|
||||
{
|
||||
"mMapWrite": {
|
||||
"SetLowTempAmb01": {
|
||||
"name": "SetLowTempAmb01",
|
||||
"description": "Set point di avviso per bassa temperatura ambiente nell'impianto 01",
|
||||
"memAddr": "40421",
|
||||
"tipoMem": "Real",
|
||||
"index": 421,
|
||||
"size": 2,
|
||||
"minVal": -200,
|
||||
"maxVal": 200,
|
||||
"unit": "C"
|
||||
},
|
||||
"SetHighTempAmb01": {
|
||||
"name": "SetHighTempAmb01",
|
||||
"description": "Set point di avviso per alta temperatura ambiente nell'impianto 01",
|
||||
"memAddr": "40423",
|
||||
"tipoMem": "Real",
|
||||
"index": 423,
|
||||
"size": 2,
|
||||
"minVal": -200,
|
||||
"maxVal": 200,
|
||||
"unit": "C"
|
||||
},
|
||||
"SetLowTempAmb02": {
|
||||
"name": "SetLowTempAmb02",
|
||||
"description": "Set point di avviso per bassa temperatura ambiente nell'impianto 02",
|
||||
"memAddr": "40425",
|
||||
"tipoMem": "Real",
|
||||
"index": 425,
|
||||
"size": 2,
|
||||
"minVal": -200,
|
||||
"maxVal": 200,
|
||||
"unit": "C"
|
||||
},
|
||||
"SetHighTempAmb02": {
|
||||
"name": "SetHighTempAmb02",
|
||||
"description": "Set point di avviso per alta temperatura ambiente nell'impianto 02",
|
||||
"memAddr": "40427",
|
||||
"tipoMem": "Real",
|
||||
"index": 427,
|
||||
"size": 2,
|
||||
"minVal": -200,
|
||||
"maxVal": 200,
|
||||
"unit": "C"
|
||||
}
|
||||
},
|
||||
"mMapRead": {
|
||||
"Level": {
|
||||
"name": "Level",
|
||||
"description": "Livello Serbatoio",
|
||||
"memAddr": "40001",
|
||||
"tipoMem": "Real",
|
||||
"index": 1,
|
||||
"size": 2,
|
||||
"func": "MEDIAN",
|
||||
"period": 90,
|
||||
"factor": 360,
|
||||
"minVal": 0,
|
||||
"maxVal": 100,
|
||||
"unit": "Kg"
|
||||
},
|
||||
"MainPress": {
|
||||
"name": "MainPress",
|
||||
"description": "Pressione Serbatoio",
|
||||
"memAddr": "40003",
|
||||
"tipoMem": "Real",
|
||||
"index": 3,
|
||||
"size": 2,
|
||||
"func": "MEDIAN",
|
||||
"period": 90,
|
||||
"factor": 1,
|
||||
"minVal": 0,
|
||||
"maxVal": 400,
|
||||
"unit": "bar"
|
||||
},
|
||||
"TempSerb": {
|
||||
"name": "TempSerb",
|
||||
"description": "Temperatura prodotto all'interno del serbatoio",
|
||||
"memAddr": "40049",
|
||||
"tipoMem": "Real",
|
||||
"index": 49,
|
||||
"size": 2,
|
||||
"func": "MEDIAN",
|
||||
"period": 90,
|
||||
"factor": 1,
|
||||
"minVal": -200,
|
||||
"maxVal": 200,
|
||||
"unit": "C"
|
||||
},
|
||||
"SetLowTempAmb01": {
|
||||
"name": "SetLowTempAmb01",
|
||||
"description": "Set point di avviso per bassa temperatura ambiente nell'impianto 01",
|
||||
"memAddr": "40421",
|
||||
"tipoMem": "Real",
|
||||
"index": 421,
|
||||
"size": 2,
|
||||
"func": "MEDIAN",
|
||||
"period": 90,
|
||||
"factor": 1,
|
||||
"minVal": -200,
|
||||
"maxVal": 200,
|
||||
"unit": "C"
|
||||
},
|
||||
"SetHighTempAmb01": {
|
||||
"name": "SetHighTempAmb01",
|
||||
"description": "Set point di avviso per alta temperatura ambiente nell'impianto 01",
|
||||
"memAddr": "40423",
|
||||
"tipoMem": "Real",
|
||||
"index": 423,
|
||||
"size": 2,
|
||||
"func": "MEDIAN",
|
||||
"period": 90,
|
||||
"factor": 1,
|
||||
"minVal": -200,
|
||||
"maxVal": 200,
|
||||
"unit": "C"
|
||||
},
|
||||
"SetLowTempAmb02": {
|
||||
"name": "SetLowTempAmb02",
|
||||
"description": "Set point di avviso per bassa temperatura ambiente nell'impianto 02",
|
||||
"memAddr": "40425",
|
||||
"tipoMem": "Real",
|
||||
"index": 425,
|
||||
"size": 2,
|
||||
"func": "MEDIAN",
|
||||
"period": 90,
|
||||
"factor": 1,
|
||||
"minVal": -200,
|
||||
"maxVal": 200,
|
||||
"unit": "C"
|
||||
},
|
||||
"SetHighTempAmb02": {
|
||||
"name": "SetHighTempAmb02",
|
||||
"description": "Set point di avviso per alta temperatura ambiente nell'impianto 02",
|
||||
"memAddr": "40427",
|
||||
"tipoMem": "Real",
|
||||
"index": 427,
|
||||
"size": 2,
|
||||
"func": "MEDIAN",
|
||||
"period": 90,
|
||||
"factor": 1,
|
||||
"minVal": -200,
|
||||
"maxVal": 200,
|
||||
"unit": "C"
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,7 @@
|
||||
{
|
||||
"ReadBlocks": {
|
||||
"40000": 64,
|
||||
"40420": 64,
|
||||
"40900": 8
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,54 @@
|
||||
[
|
||||
{
|
||||
"blinkVal": 100,
|
||||
"description": "Allarmi Impianto",
|
||||
"tipoMem": "DInt",
|
||||
"memAddr": "40901",
|
||||
"index": 901,
|
||||
"size": 2,
|
||||
"messages": [
|
||||
"Basso livello serbatoio",
|
||||
"Alto livello serbatoio",
|
||||
"Errore trasmettitore livello",
|
||||
"Bassa pressione serbatoio",
|
||||
"Alta pressione serbatoio",
|
||||
"##",
|
||||
"##",
|
||||
"Allarme rilevatore gas 1",
|
||||
"##",
|
||||
"##",
|
||||
"Allarme rilevatore gas 2",
|
||||
"##",
|
||||
"##",
|
||||
"Allarme rilevatore gas 3",
|
||||
"##",
|
||||
"##"
|
||||
]
|
||||
},
|
||||
{
|
||||
"blinkVal": 100,
|
||||
"description": "Emergenza",
|
||||
"tipoMem": "DInt",
|
||||
"memAddr": "40907",
|
||||
"index": 907,
|
||||
"size": 2,
|
||||
"messages": [
|
||||
"##",
|
||||
"Pulsante di Emergenza Premuto",
|
||||
"##",
|
||||
"##",
|
||||
"##",
|
||||
"##",
|
||||
"##",
|
||||
"##",
|
||||
"##",
|
||||
"##",
|
||||
"##",
|
||||
"##",
|
||||
"##",
|
||||
"##",
|
||||
"##",
|
||||
"##"
|
||||
]
|
||||
}
|
||||
]
|
||||
@@ -0,0 +1,88 @@
|
||||
;Configurazione IOB-WIN
|
||||
[IOB]
|
||||
;Impianto HAM Guardamiglio per Pizzaferri
|
||||
CNCTYPE=MODBUS_TCP_HAM
|
||||
PING_MS_TIMEOUT=1000
|
||||
|
||||
[MACHINE]
|
||||
VENDOR=HAM
|
||||
MODEL=HAM
|
||||
|
||||
[CNC]
|
||||
IP=192.168.10.100
|
||||
;IP=hamsantilario.dyndns.org
|
||||
PORT=502
|
||||
|
||||
[SERVER]
|
||||
;MPIP=https://localhost:44339
|
||||
MPIP=https://gwms.egalware.com
|
||||
MPURL=/pizzaferri/api
|
||||
CMDBASE=/IOB/input/
|
||||
CMDFLOG=/IOB/flog/
|
||||
CMDALIVE=/IOB
|
||||
CMDENABLED=/IOB/enabled/
|
||||
CMDADV1=?valore=
|
||||
CMDREBO=/IOB/sendReboot?idxMacchina=
|
||||
|
||||
[MEMORY]
|
||||
ADDR_READ=40000
|
||||
ADDR_WRITE=40400
|
||||
SIZE_READ=64
|
||||
SIZE_WRITE=358
|
||||
|
||||
HR_BASE_ADDR=40000
|
||||
;DELTA_BASE=1
|
||||
DELTA_BASE=0
|
||||
INDEX_LUT_CORR=-1
|
||||
|
||||
|
||||
[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=50
|
||||
|
||||
MAX_ERROR_READ=10
|
||||
|
||||
; conf parametri memoria READ/WRITE
|
||||
PARAM_CONF=PIZ10.json
|
||||
|
||||
NO_PING=FALSE
|
||||
; conf blocchi memoria x READ
|
||||
MEM_BLOCK=PIZ10_MBlock.json
|
||||
; conf aree allarme
|
||||
ALARM_CONF=PIZ10_alarm.json
|
||||
|
||||
[BRANCH]
|
||||
NAME=master
|
||||
|
||||
; Tags manuali
|
||||
[TAGS]
|
||||
Customer=Pizzaferri
|
||||
HostOS=WIN
|
||||
HostName=PIZZAFERRI-IOB-WIN-03
|
||||
HostAddr=192.168.10.50
|
||||
@@ -0,0 +1,176 @@
|
||||
{
|
||||
"mMapWrite": {
|
||||
"SetLowTempAmb01": {
|
||||
"name": "SetLowTempAmb01",
|
||||
"description": "Set point di avviso per bassa temperatura ambiente nell'impianto 01",
|
||||
"memAddr": "40421",
|
||||
"tipoMem": "Real",
|
||||
"index": 421,
|
||||
"size": 2,
|
||||
"minVal": -200,
|
||||
"maxVal": 200,
|
||||
"unit": "C"
|
||||
},
|
||||
"SetHighTempAmb01": {
|
||||
"name": "SetHighTempAmb01",
|
||||
"description": "Set point di avviso per alta temperatura ambiente nell'impianto 01",
|
||||
"memAddr": "40423",
|
||||
"tipoMem": "Real",
|
||||
"index": 423,
|
||||
"size": 2,
|
||||
"minVal": -200,
|
||||
"maxVal": 200,
|
||||
"unit": "C"
|
||||
},
|
||||
"SetLowTempAmb02": {
|
||||
"name": "SetLowTempAmb02",
|
||||
"description": "Set point di avviso per bassa temperatura ambiente nell'impianto 02",
|
||||
"memAddr": "40425",
|
||||
"tipoMem": "Real",
|
||||
"index": 425,
|
||||
"size": 2,
|
||||
"minVal": -200,
|
||||
"maxVal": 200,
|
||||
"unit": "C"
|
||||
},
|
||||
"SetHighTempAmb02": {
|
||||
"name": "SetHighTempAmb02",
|
||||
"description": "Set point di avviso per alta temperatura ambiente nell'impianto 02",
|
||||
"memAddr": "40427",
|
||||
"tipoMem": "Real",
|
||||
"index": 427,
|
||||
"size": 2,
|
||||
"minVal": -200,
|
||||
"maxVal": 200,
|
||||
"unit": "C"
|
||||
}
|
||||
},
|
||||
"mMapRead": {
|
||||
"Level": {
|
||||
"name": "Level",
|
||||
"description": "Livello Serbatoio",
|
||||
"memAddr": "40001",
|
||||
"tipoMem": "Real",
|
||||
"index": 1,
|
||||
"size": 2,
|
||||
"func": "MEDIAN",
|
||||
"period": 90,
|
||||
"factor": 360,
|
||||
"minVal": 0,
|
||||
"maxVal": 100,
|
||||
"unit": "Kg"
|
||||
},
|
||||
"MainPress": {
|
||||
"name": "MainPress",
|
||||
"description": "Pressione Serbatoio",
|
||||
"memAddr": "40003",
|
||||
"tipoMem": "Real",
|
||||
"index": 3,
|
||||
"size": 2,
|
||||
"func": "MEDIAN",
|
||||
"period": 90,
|
||||
"factor": 1,
|
||||
"minVal": 0,
|
||||
"maxVal": 400,
|
||||
"unit": "bar"
|
||||
},
|
||||
"TempSerb": {
|
||||
"name": "TempSerb",
|
||||
"description": "Temperatura prodotto all'interno del serbatoio",
|
||||
"memAddr": "40049",
|
||||
"tipoMem": "Real",
|
||||
"index": 49,
|
||||
"size": 2,
|
||||
"func": "MEDIAN",
|
||||
"period": 90,
|
||||
"factor": 1,
|
||||
"minVal": -200,
|
||||
"maxVal": 200,
|
||||
"unit": "C"
|
||||
},
|
||||
"SetLowTempAmb01": {
|
||||
"name": "SetLowTempAmb01",
|
||||
"description": "Set point di avviso per bassa temperatura ambiente nell'impianto 01",
|
||||
"memAddr": "40421",
|
||||
"tipoMem": "Real",
|
||||
"index": 421,
|
||||
"size": 2,
|
||||
"func": "MEDIAN",
|
||||
"period": 90,
|
||||
"factor": 1,
|
||||
"minVal": -200,
|
||||
"maxVal": 200,
|
||||
"unit": "C"
|
||||
},
|
||||
"SetHighTempAmb01": {
|
||||
"name": "SetHighTempAmb01",
|
||||
"description": "Set point di avviso per alta temperatura ambiente nell'impianto 01",
|
||||
"memAddr": "40423",
|
||||
"tipoMem": "Real",
|
||||
"index": 423,
|
||||
"size": 2,
|
||||
"func": "MEDIAN",
|
||||
"period": 90,
|
||||
"factor": 1,
|
||||
"minVal": -200,
|
||||
"maxVal": 200,
|
||||
"unit": "C"
|
||||
},
|
||||
"SetLowTempAmb02": {
|
||||
"name": "SetLowTempAmb02",
|
||||
"description": "Set point di avviso per bassa temperatura ambiente nell'impianto 02",
|
||||
"memAddr": "40425",
|
||||
"tipoMem": "Real",
|
||||
"index": 425,
|
||||
"size": 2,
|
||||
"func": "MEDIAN",
|
||||
"period": 90,
|
||||
"factor": 1,
|
||||
"minVal": -200,
|
||||
"maxVal": 200,
|
||||
"unit": "C"
|
||||
},
|
||||
"SetHighTempAmb02": {
|
||||
"name": "SetHighTempAmb02",
|
||||
"description": "Set point di avviso per alta temperatura ambiente nell'impianto 02",
|
||||
"memAddr": "40427",
|
||||
"tipoMem": "Real",
|
||||
"index": 427,
|
||||
"size": 2,
|
||||
"func": "MEDIAN",
|
||||
"period": 90,
|
||||
"factor": 1,
|
||||
"minVal": -200,
|
||||
"maxVal": 200,
|
||||
"unit": "C"
|
||||
},
|
||||
"PressBH": {
|
||||
"name": "PressBH",
|
||||
"description": "Pressione media all'interno dell'accumulo GNC (pacco bombole) di alta pressione",
|
||||
"memAddr": "40019",
|
||||
"tipoMem": "Real",
|
||||
"index": 19,
|
||||
"size": 2,
|
||||
"func": "MEDIAN",
|
||||
"period": 90,
|
||||
"factor": 1,
|
||||
"minVal": 0,
|
||||
"maxVal": 400,
|
||||
"unit": "bar"
|
||||
},
|
||||
"PressBL": {
|
||||
"name": "PressBL",
|
||||
"description": "Pressione media all'interno dell'accumulo GNC (pacco bombole) di media pressione",
|
||||
"memAddr": "40021",
|
||||
"tipoMem": "Real",
|
||||
"index": 21,
|
||||
"size": 2,
|
||||
"func": "MEDIAN",
|
||||
"period": 90,
|
||||
"factor": 1,
|
||||
"minVal": 0,
|
||||
"maxVal": 400,
|
||||
"unit": "bar"
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,7 @@
|
||||
{
|
||||
"ReadBlocks": {
|
||||
"40000": 64,
|
||||
"40420": 64,
|
||||
"40900": 8
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,54 @@
|
||||
[
|
||||
{
|
||||
"blinkVal": 100,
|
||||
"description": "Allarmi Impianto",
|
||||
"tipoMem": "DInt",
|
||||
"memAddr": "40901",
|
||||
"index": 901,
|
||||
"size": 2,
|
||||
"messages": [
|
||||
"Basso livello serbatoio",
|
||||
"Alto livello serbatoio",
|
||||
"Errore trasmettitore livello",
|
||||
"Bassa pressione serbatoio",
|
||||
"Alta pressione serbatoio",
|
||||
"##",
|
||||
"##",
|
||||
"Allarme rilevatore gas 1",
|
||||
"##",
|
||||
"##",
|
||||
"Allarme rilevatore gas 2",
|
||||
"##",
|
||||
"##",
|
||||
"Allarme rilevatore gas 3",
|
||||
"##",
|
||||
"##"
|
||||
]
|
||||
},
|
||||
{
|
||||
"blinkVal": 100,
|
||||
"description": "Emergenza",
|
||||
"tipoMem": "DInt",
|
||||
"memAddr": "40907",
|
||||
"index": 907,
|
||||
"size": 2,
|
||||
"messages": [
|
||||
"##",
|
||||
"Pulsante di Emergenza Premuto",
|
||||
"##",
|
||||
"##",
|
||||
"##",
|
||||
"##",
|
||||
"##",
|
||||
"##",
|
||||
"##",
|
||||
"##",
|
||||
"##",
|
||||
"##",
|
||||
"##",
|
||||
"##",
|
||||
"##",
|
||||
"##"
|
||||
]
|
||||
}
|
||||
]
|
||||
@@ -0,0 +1,80 @@
|
||||
;Configurazione IOB-WIN
|
||||
[IOB]
|
||||
;Impianto Rimor verniciatura - IMI Remosa
|
||||
CNCTYPE=MODBUS_TCP_FIMAT
|
||||
PING_MS_TIMEOUT=1000
|
||||
MinDeltaSec=5
|
||||
;IOB_NAME=Tend_Fimat
|
||||
DIS_EXE_TASK=FALSE
|
||||
DIS_STATE_CH=FALSE
|
||||
|
||||
[MACHINE]
|
||||
VENDOR=FIMAT
|
||||
MODEL=Impianto mix colori - PLC
|
||||
|
||||
[CNC]
|
||||
IP=192.168.10.49
|
||||
PORT=502
|
||||
|
||||
[SERVER]
|
||||
MPIP=http://192.168.10.7
|
||||
MPURL=/MP/IO
|
||||
CMDBASE=/IOB/input/
|
||||
CMDFLOG=/IOB/flog/
|
||||
CMDALIVE=/IOB
|
||||
CMDENABLED=/IOB/enabled/
|
||||
CMDADV1=?valore=
|
||||
CMDREBO=/sendReboot.aspx?idxMacchina=
|
||||
|
||||
[MEMORY]
|
||||
ADDR_READ=40000
|
||||
ADDR_WRITE=40000
|
||||
SIZE_READ=10
|
||||
SIZE_WRITE=0
|
||||
HR_BASE_ADDR=40000
|
||||
DELTA_BASE=0
|
||||
INDEX_LUT_CORR=0
|
||||
MODBUS_EXT_REG=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=Tend_FIMAT_01.json
|
||||
NO_PING=FALSE
|
||||
; conf blocchi memoria x READ
|
||||
MEM_BLOCK=Tend_FIMAT_01_MBlock.json
|
||||
; conf aree allarme
|
||||
ALARM_CONF=Tend_FIMAT_01_alarm.json
|
||||
; rimozione check limiti min/max dynData
|
||||
disDynDataRangeCheck=true
|
||||
|
||||
|
||||
[BRANCH]
|
||||
NAME=master
|
||||
@@ -0,0 +1,342 @@
|
||||
{
|
||||
"mMapWrite": {},
|
||||
"mMapRead": {
|
||||
"StatoMacchina": {
|
||||
"name": "StatoMacchina",
|
||||
"description": "Stato della Macchina",
|
||||
"memAddr": "40001",
|
||||
"tipoMem": "Int",
|
||||
"index": 1,
|
||||
"size": 1,
|
||||
"func": "MAX",
|
||||
"period": 90,
|
||||
"factor": 1,
|
||||
"minVal": 0,
|
||||
"maxVal": 10,
|
||||
"unit": "#"
|
||||
},
|
||||
"ElencoAnomalie": {
|
||||
"name": "ElencoAnomalie",
|
||||
"description": "Elenco Anomalie",
|
||||
"memAddr": "40002",
|
||||
"tipoMem": "Int",
|
||||
"index": 2,
|
||||
"size": 1,
|
||||
"func": "MAX",
|
||||
"period": 90,
|
||||
"factor": 1,
|
||||
"minVal": 0,
|
||||
"maxVal": 10,
|
||||
"unit": "#"
|
||||
},
|
||||
"ElencoAttivita": {
|
||||
"name": "ElencoAttivita",
|
||||
"description": "Elenco Attivita",
|
||||
"memAddr": "40003",
|
||||
"tipoMem": "Int",
|
||||
"index": 3,
|
||||
"size": 1,
|
||||
"func": "MAX",
|
||||
"period": 90,
|
||||
"factor": 1,
|
||||
"minVal": 0,
|
||||
"maxVal": 10,
|
||||
"unit": "#"
|
||||
},
|
||||
"StatoRicircolo": {
|
||||
"name": "StatoRicircolo",
|
||||
"description": "Stato Ricircolo Serbatoi",
|
||||
"memAddr": "40004",
|
||||
"tipoMem": "Int",
|
||||
"index": 4,
|
||||
"size": 1,
|
||||
"func": "MAX",
|
||||
"period": 90,
|
||||
"factor": 1,
|
||||
"minVal": 0,
|
||||
"maxVal": 10,
|
||||
"unit": "#"
|
||||
},
|
||||
"NumAllarmi": {
|
||||
"name": "NumAllarmi",
|
||||
"description": "Numero Allarmi Presenti",
|
||||
"memAddr": "40005",
|
||||
"tipoMem": "Int",
|
||||
"index": 5,
|
||||
"size": 1,
|
||||
"func": "MAX",
|
||||
"period": 90,
|
||||
"factor": 1,
|
||||
"minVal": 0,
|
||||
"maxVal": 1000,
|
||||
"unit": "#"
|
||||
},
|
||||
"NumAllarmiNR": {
|
||||
"name": "NumAllarmiNR",
|
||||
"description": "NUmero Allarmi Non Riconosciuti",
|
||||
"memAddr": "40006",
|
||||
"tipoMem": "Int",
|
||||
"index": 6,
|
||||
"size": 1,
|
||||
"func": "MAX",
|
||||
"period": 90,
|
||||
"factor": 1,
|
||||
"minVal": 0,
|
||||
"maxVal": 1000,
|
||||
"unit": "#"
|
||||
},
|
||||
"ModoPreparazione": {
|
||||
"name": "ModoPreparazione",
|
||||
"description": "Modo Preparazione Ricetta",
|
||||
"memAddr": "40007",
|
||||
"tipoMem": "Int",
|
||||
"index": 7,
|
||||
"size": 1,
|
||||
"func": "MAX",
|
||||
"period": 90,
|
||||
"factor": 1,
|
||||
"minVal": 0,
|
||||
"maxVal": 10,
|
||||
"unit": "#"
|
||||
},
|
||||
"NumRicette": {
|
||||
"name": "NumRicette",
|
||||
"description": "Numero Ricette in coda",
|
||||
"memAddr": "40008",
|
||||
"tipoMem": "Int",
|
||||
"index": 8,
|
||||
"size": 1,
|
||||
"func": "MAX",
|
||||
"period": 90,
|
||||
"factor": 1,
|
||||
"minVal": 0,
|
||||
"maxVal": 1000,
|
||||
"unit": "#"
|
||||
},
|
||||
"StatoImport": {
|
||||
"name": "StatoImport",
|
||||
"description": "Stato Importazione file ricette XML da esterno",
|
||||
"memAddr": "40009",
|
||||
"tipoMem": "Int",
|
||||
"index": 9,
|
||||
"size": 1,
|
||||
"func": "MAX",
|
||||
"period": 90,
|
||||
"factor": 1,
|
||||
"minVal": 0,
|
||||
"maxVal": 10,
|
||||
"unit": "#"
|
||||
},
|
||||
"LivSerb01": {
|
||||
"name": "LivSerb01",
|
||||
"description": "Livello Servatoio 01",
|
||||
"memAddr": "40020",
|
||||
"tipoMem": "Int",
|
||||
"index": 20,
|
||||
"size": 1,
|
||||
"func": "MAX",
|
||||
"period": 90,
|
||||
"factor": 1,
|
||||
"minVal": 0,
|
||||
"maxVal": 1000,
|
||||
"unit": "#"
|
||||
},
|
||||
"LivSerb02": {
|
||||
"name": "LivSerb02",
|
||||
"description": "Livello Servatoio 02",
|
||||
"memAddr": "40021",
|
||||
"tipoMem": "Int",
|
||||
"index": 21,
|
||||
"size": 1,
|
||||
"func": "MAX",
|
||||
"period": 90,
|
||||
"factor": 1,
|
||||
"minVal": 0,
|
||||
"maxVal": 1000,
|
||||
"unit": "#"
|
||||
},
|
||||
"LivSerb03": {
|
||||
"name": "LivSerb03",
|
||||
"description": "Livello Servatoio 03",
|
||||
"memAddr": "40022",
|
||||
"tipoMem": "Int",
|
||||
"index": 22,
|
||||
"size": 1,
|
||||
"func": "MAX",
|
||||
"period": 90,
|
||||
"factor": 1,
|
||||
"minVal": 0,
|
||||
"maxVal": 1000,
|
||||
"unit": "#"
|
||||
},
|
||||
"LivSerb04": {
|
||||
"name": "LivSerb04",
|
||||
"description": "Livello Servatoio 04",
|
||||
"memAddr": "40023",
|
||||
"tipoMem": "Int",
|
||||
"index": 23,
|
||||
"size": 1,
|
||||
"func": "MAX",
|
||||
"period": 90,
|
||||
"factor": 1,
|
||||
"minVal": 0,
|
||||
"maxVal": 1000,
|
||||
"unit": "#"
|
||||
},
|
||||
"LivSerb05": {
|
||||
"name": "LivSerb05",
|
||||
"description": "Livello Servatoio 05",
|
||||
"memAddr": "40024",
|
||||
"tipoMem": "Int",
|
||||
"index": 24,
|
||||
"size": 1,
|
||||
"func": "MAX",
|
||||
"period": 90,
|
||||
"factor": 1,
|
||||
"minVal": 0,
|
||||
"maxVal": 1000,
|
||||
"unit": "#"
|
||||
},
|
||||
"LivSerb06": {
|
||||
"name": "LivSerb06",
|
||||
"description": "Livello Servatoio 06",
|
||||
"memAddr": "40025",
|
||||
"tipoMem": "Int",
|
||||
"index": 25,
|
||||
"size": 1,
|
||||
"func": "MAX",
|
||||
"period": 90,
|
||||
"factor": 1,
|
||||
"minVal": 0,
|
||||
"maxVal": 1000,
|
||||
"unit": "#"
|
||||
},
|
||||
"LivSerb07": {
|
||||
"name": "LivSerb07",
|
||||
"description": "Livello Servatoio 07",
|
||||
"memAddr": "40026",
|
||||
"tipoMem": "Int",
|
||||
"index": 26,
|
||||
"size": 1,
|
||||
"func": "MAX",
|
||||
"period": 90,
|
||||
"factor": 1,
|
||||
"minVal": 0,
|
||||
"maxVal": 1000,
|
||||
"unit": "#"
|
||||
},
|
||||
"LivSerb08": {
|
||||
"name": "LivSerb08",
|
||||
"description": "Livello Servatoio 08",
|
||||
"memAddr": "40027",
|
||||
"tipoMem": "Int",
|
||||
"index": 27,
|
||||
"size": 1,
|
||||
"func": "MAX",
|
||||
"period": 90,
|
||||
"factor": 1,
|
||||
"minVal": 0,
|
||||
"maxVal": 1000,
|
||||
"unit": "#"
|
||||
},
|
||||
"LivSerb09": {
|
||||
"name": "LivSerb09",
|
||||
"description": "Livello Servatoio 09",
|
||||
"memAddr": "40028",
|
||||
"tipoMem": "Int",
|
||||
"index": 28,
|
||||
"size": 1,
|
||||
"func": "MAX",
|
||||
"period": 90,
|
||||
"factor": 1,
|
||||
"minVal": 0,
|
||||
"maxVal": 1000,
|
||||
"unit": "#"
|
||||
},
|
||||
"LivSerb10": {
|
||||
"name": "LivSerb10",
|
||||
"description": "Livello Servatoio 10",
|
||||
"memAddr": "40029",
|
||||
"tipoMem": "Int",
|
||||
"index": 29,
|
||||
"size": 1,
|
||||
"func": "MAX",
|
||||
"period": 90,
|
||||
"factor": 1,
|
||||
"minVal": 0,
|
||||
"maxVal": 1000,
|
||||
"unit": "#"
|
||||
},
|
||||
"LivSerb11": {
|
||||
"name": "LivSerb11",
|
||||
"description": "Livello Servatoio 11",
|
||||
"memAddr": "40030",
|
||||
"tipoMem": "Int",
|
||||
"index": 30,
|
||||
"size": 1,
|
||||
"func": "MAX",
|
||||
"period": 90,
|
||||
"factor": 1,
|
||||
"minVal": 0,
|
||||
"maxVal": 1000,
|
||||
"unit": "#"
|
||||
},
|
||||
"LivSerb12": {
|
||||
"name": "LivSerb12",
|
||||
"description": "Livello Servatoio 12",
|
||||
"memAddr": "40031",
|
||||
"tipoMem": "Int",
|
||||
"index": 31,
|
||||
"size": 1,
|
||||
"func": "MAX",
|
||||
"period": 90,
|
||||
"factor": 1,
|
||||
"minVal": 0,
|
||||
"maxVal": 1000,
|
||||
"unit": "#"
|
||||
}
|
||||
},
|
||||
"optMemPar": {
|
||||
"AlarmIntCond": "40000|1=2",
|
||||
"ManualBitCond": "40002.1=1",
|
||||
"EStopBitCond": "40002.0=1",
|
||||
"WorkIntCond": "40000|1=3",
|
||||
//"VarInt2Translate": "40001,40007",
|
||||
//"VarBit2Translate": "40003"
|
||||
},
|
||||
"optKVP": {
|
||||
"hasRecipe": true,
|
||||
"maxPodlQty": 530,
|
||||
"useLocalRecipe": true,
|
||||
"path-locBase": "E:\\MesData\\",
|
||||
"path-remBase": "C:\\MesData\\Remote",
|
||||
"path-00-Arch": "ArchivioRicette\\FIMAT",
|
||||
"path-01-Temp": "01-Temp\\FIMAT",
|
||||
"path-02-Sent": "02-Inviate\\FIMAT",
|
||||
"path-03-Recv": "03-Ricevute\\FIMAT",
|
||||
"path-04-remReq": "Y:\\",
|
||||
"path-05-remExe": "Z:\\",
|
||||
"path-06-remRec": "R:\\",
|
||||
"path-outReport": "C:\\MesData\\Report",
|
||||
"path-confSetup": "E:\\MesData\\Setup\\setupConsumi.json",
|
||||
"replace-<Variant>": "<Variant>{{PODL}}",
|
||||
"replace-<Info1>": "<Info1>Kg{{Qty}} | {{Note}}"
|
||||
},
|
||||
"itemTranslation": {
|
||||
"40001_0": "Stato non aggiornato per mancanza comunicazione da computer",
|
||||
"40001_1": "Stato non aggiornato per mancanza comunicazione da PLC",
|
||||
"40001_2": "Presenza di anomalie od attivita che limitano il funzionamento",
|
||||
"40001_3": "Macchina impegnata per attivita normale in corso",
|
||||
"40001_4": "Macchina libera e pronta al funzionamento",
|
||||
"40003.0": "Posizione di dosaggio impegnata",
|
||||
"40003.1": "Bidone con ricetta terminata od annullata da rimuovere da posizione di dosaggio",
|
||||
"40003.2": "Ricetta in preparazione",
|
||||
"40003.3": "Lavaggio valvole in corso",
|
||||
"40003.4": "Avvio caricamento nuova ricetta in corso",
|
||||
"40007_0": "Nessuno",
|
||||
"40007_1": "Singola ricetta",
|
||||
"40007_2": "Coda (modo non ancora avviato)",
|
||||
"40007_3": "Coda (modo avviato)",
|
||||
"40007_4": "Correzione"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,5 @@
|
||||
{
|
||||
"ReadBlocks": {
|
||||
"40000": 40
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,19 @@
|
||||
[
|
||||
{
|
||||
"description": "Anomalie Macchina",
|
||||
"tipoMem": "Int",
|
||||
"memAddr": "40002",
|
||||
"index": 2,
|
||||
"size": 1,
|
||||
"messages": [
|
||||
"Emergenza Premuta",
|
||||
"##Macchina in Manuale",
|
||||
"Azzeramento asse non ancora eseguito o anomalia al posizionamento valvole",
|
||||
"Anomalia alla bilancia (errore, mancanza comunicazione o fuori scala)",
|
||||
"Anomalia ad elemento di dosaggio",
|
||||
"##Richiesta Sospensione attività",
|
||||
"##Azzeramento peso in corso",
|
||||
"##"
|
||||
]
|
||||
}
|
||||
]
|
||||
@@ -0,0 +1,8 @@
|
||||
<linker>
|
||||
<assembly fullname="System.Diagnostics.DiagnosticSource">
|
||||
<type fullname="System.Diagnostics.Metrics.MetricsEventSource">
|
||||
<!-- Used by System.Private.CoreLib via reflection to init the EventSource -->
|
||||
<method name="GetInstance" />
|
||||
</type>
|
||||
</assembly>
|
||||
</linker>
|
||||
@@ -4,10 +4,10 @@
|
||||
<PropertyGroup>
|
||||
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
|
||||
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
|
||||
<ProjectGuid>{EEBE38BD-29EE-45DE-9AF4-8FA34B58D8BA}</ProjectGuid>
|
||||
<ProjectGuid>{8A4954B2-1492-4CEF-8F6C-619E397718CF}</ProjectGuid>
|
||||
<OutputType>WinExe</OutputType>
|
||||
<RootNamespace>IOB_WIN_MTC</RootNamespace>
|
||||
<AssemblyName>IOB-WIN-MTC</AssemblyName>
|
||||
<RootNamespace>IOB_WIN_MBUS</RootNamespace>
|
||||
<AssemblyName>IOB-WIN-MBUS</AssemblyName>
|
||||
<TargetFrameworkVersion>v4.6.2</TargetFrameworkVersion>
|
||||
<FileAlignment>512</FileAlignment>
|
||||
<AutoGenerateBindingRedirects>true</AutoGenerateBindingRedirects>
|
||||
@@ -34,24 +34,21 @@
|
||||
<ErrorReport>prompt</ErrorReport>
|
||||
<WarningLevel>4</WarningLevel>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Remote_DEBUG|AnyCPU'">
|
||||
<DebugSymbols>true</DebugSymbols>
|
||||
<OutputPath>bin\Remote_DEBUG\</OutputPath>
|
||||
<DefineConstants>DEBUG;TRACE</DefineConstants>
|
||||
<DebugType>full</DebugType>
|
||||
<PlatformTarget>x86</PlatformTarget>
|
||||
<LangVersion>7.3</LangVersion>
|
||||
<ErrorReport>prompt</ErrorReport>
|
||||
</PropertyGroup>
|
||||
<ItemGroup>
|
||||
<Reference Include="EasyModbus, Version=5.6.0.0, Culture=neutral, processorArchitecture=MSIL">
|
||||
<HintPath>..\packages\EasyModbusTCP.5.6.0\lib\net40\EasyModbus.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="MapoSDK, Version=6.14.2411.518, Culture=neutral, processorArchitecture=MSIL">
|
||||
<HintPath>..\packages\MapoSDK.6.14.2411.518\lib\MapoSDK.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="Microsoft.Bcl.AsyncInterfaces, Version=6.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51, processorArchitecture=MSIL">
|
||||
<HintPath>..\packages\Microsoft.Bcl.AsyncInterfaces.6.0.0\lib\net461\Microsoft.Bcl.AsyncInterfaces.dll</HintPath>
|
||||
<Reference Include="Microsoft.Bcl.AsyncInterfaces, Version=9.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51, processorArchitecture=MSIL">
|
||||
<HintPath>..\packages\Microsoft.Bcl.AsyncInterfaces.9.0.0\lib\net462\Microsoft.Bcl.AsyncInterfaces.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="Microsoft.Extensions.Logging.Abstractions, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60, processorArchitecture=MSIL">
|
||||
<HintPath>..\packages\Microsoft.Extensions.Logging.Abstractions.6.0.0\lib\net461\Microsoft.Extensions.Logging.Abstractions.dll</HintPath>
|
||||
<Reference Include="Microsoft.Extensions.DependencyInjection.Abstractions, Version=9.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60, processorArchitecture=MSIL">
|
||||
<HintPath>..\packages\Microsoft.Extensions.DependencyInjection.Abstractions.9.0.0\lib\net462\Microsoft.Extensions.DependencyInjection.Abstractions.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="Microsoft.Extensions.Logging.Abstractions, Version=9.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60, processorArchitecture=MSIL">
|
||||
<HintPath>..\packages\Microsoft.Extensions.Logging.Abstractions.9.0.0\lib\net462\Microsoft.Extensions.Logging.Abstractions.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="Newtonsoft.Json, Version=13.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed, processorArchitecture=MSIL">
|
||||
<HintPath>..\packages\Newtonsoft.Json.13.0.3\lib\net45\Newtonsoft.Json.dll</HintPath>
|
||||
@@ -59,42 +56,34 @@
|
||||
<Reference Include="NLog, Version=5.0.0.0, Culture=neutral, PublicKeyToken=5120e14c03d0593c, processorArchitecture=MSIL">
|
||||
<HintPath>..\packages\NLog.5.3.4\lib\net46\NLog.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="Pipelines.Sockets.Unofficial, Version=1.0.0.0, Culture=neutral, PublicKeyToken=42ea0a778e13fbe2, processorArchitecture=MSIL">
|
||||
<HintPath>..\packages\Pipelines.Sockets.Unofficial.2.2.8\lib\net461\Pipelines.Sockets.Unofficial.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="StackExchange.Redis, Version=2.0.0.0, Culture=neutral, PublicKeyToken=c219ff1ca8c2ce46, processorArchitecture=MSIL">
|
||||
<HintPath>..\packages\StackExchange.Redis.2.8.24\lib\net461\StackExchange.Redis.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="System" />
|
||||
<Reference Include="System.Buffers, Version=4.0.3.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51, processorArchitecture=MSIL">
|
||||
<HintPath>..\packages\System.Buffers.4.5.1\lib\net461\System.Buffers.dll</HintPath>
|
||||
<Reference Include="System.Buffers, Version=4.0.4.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51, processorArchitecture=MSIL">
|
||||
<HintPath>..\packages\System.Buffers.4.6.0\lib\net462\System.Buffers.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="System.Configuration" />
|
||||
<Reference Include="System.Core" />
|
||||
<Reference Include="System.IO.Compression, Version=4.1.2.0, Culture=neutral, PublicKeyToken=b77a5c561934e089, processorArchitecture=MSIL">
|
||||
<HintPath>..\packages\System.IO.Compression.4.3.0\lib\net46\System.IO.Compression.dll</HintPath>
|
||||
<Reference Include="System.Diagnostics.DiagnosticSource, Version=9.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51, processorArchitecture=MSIL">
|
||||
<HintPath>..\packages\System.Diagnostics.DiagnosticSource.9.0.0\lib\net462\System.Diagnostics.DiagnosticSource.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="System.IO.Pipelines, Version=5.0.0.1, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51, processorArchitecture=MSIL">
|
||||
<HintPath>..\packages\System.IO.Pipelines.5.0.1\lib\net461\System.IO.Pipelines.dll</HintPath>
|
||||
<Reference Include="System.IO.Compression" />
|
||||
<Reference Include="System.IO.Pipelines, Version=9.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51, processorArchitecture=MSIL">
|
||||
<HintPath>..\packages\System.IO.Pipelines.9.0.0\lib\net462\System.IO.Pipelines.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="System.Memory, Version=4.0.1.1, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51, processorArchitecture=MSIL">
|
||||
<HintPath>..\packages\System.Memory.4.5.4\lib\net461\System.Memory.dll</HintPath>
|
||||
<Reference Include="System.Memory, Version=4.0.2.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51, processorArchitecture=MSIL">
|
||||
<HintPath>..\packages\System.Memory.4.6.0\lib\net462\System.Memory.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="System.Numerics" />
|
||||
<Reference Include="System.Numerics.Vectors, Version=4.1.4.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL">
|
||||
<HintPath>..\packages\System.Numerics.Vectors.4.5.0\lib\net46\System.Numerics.Vectors.dll</HintPath>
|
||||
<Reference Include="System.Numerics.Vectors, Version=4.1.5.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL">
|
||||
<HintPath>..\packages\System.Numerics.Vectors.4.6.0\lib\net462\System.Numerics.Vectors.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="System.Runtime.CompilerServices.Unsafe, Version=4.0.4.1, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL">
|
||||
<HintPath>..\packages\System.Runtime.CompilerServices.Unsafe.4.5.3\lib\net461\System.Runtime.CompilerServices.Unsafe.dll</HintPath>
|
||||
<Reference Include="System.Runtime.CompilerServices.Unsafe, Version=6.0.1.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL">
|
||||
<HintPath>..\packages\System.Runtime.CompilerServices.Unsafe.6.1.0\lib\net462\System.Runtime.CompilerServices.Unsafe.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="System.Runtime.InteropServices.RuntimeInformation, Version=4.0.1.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL">
|
||||
<HintPath>..\packages\System.Runtime.InteropServices.RuntimeInformation.4.3.0\lib\net45\System.Runtime.InteropServices.RuntimeInformation.dll</HintPath>
|
||||
<Reference Include="System.Threading.Channels, Version=9.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51, processorArchitecture=MSIL">
|
||||
<HintPath>..\packages\System.Threading.Channels.9.0.0\lib\net462\System.Threading.Channels.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="System.Threading.Channels, Version=5.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51, processorArchitecture=MSIL">
|
||||
<HintPath>..\packages\System.Threading.Channels.5.0.0\lib\net461\System.Threading.Channels.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="System.Threading.Tasks.Extensions, Version=4.2.0.1, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51, processorArchitecture=MSIL">
|
||||
<HintPath>..\packages\System.Threading.Tasks.Extensions.4.5.4\lib\net461\System.Threading.Tasks.Extensions.dll</HintPath>
|
||||
<Reference Include="System.Threading.Tasks.Extensions, Version=4.2.1.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51, processorArchitecture=MSIL">
|
||||
<HintPath>..\packages\System.Threading.Tasks.Extensions.4.6.0\lib\net462\System.Threading.Tasks.Extensions.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="System.Xml.Linq" />
|
||||
<Reference Include="System.Data.DataSetExtensions" />
|
||||
@@ -113,12 +102,24 @@
|
||||
<Compile Include="AdapterFormNext.cs">
|
||||
<SubType>Form</SubType>
|
||||
</Compile>
|
||||
<Compile Include="connParamModBusTCP.cs" />
|
||||
<Compile Include="IobModbustTCP\ModbusTCP.cs" />
|
||||
<Compile Include="IobModbustTCP\ModbusTCPCedax.cs" />
|
||||
<Compile Include="IobModbustTCP\ModbusTCPCenterfrigo.cs" />
|
||||
<Compile Include="IobModbustTCP\ModbusTCPFimat.cs" />
|
||||
<Compile Include="IobModbustTCP\ModbusTCPHam.cs" />
|
||||
<Compile Include="IobModbustTCP\ModbusTCPHelpi.cs" />
|
||||
<Compile Include="IobModbustTCP\ModbusTCPImaxAeromec.cs" />
|
||||
<Compile Include="IobModbustTCP\ModbusTCPRimor.cs" />
|
||||
<Compile Include="IobModbustTCP\ModbusTCPSaim.cs" />
|
||||
<Compile Include="IobModbustTCP\ModbusTCPZetapack.cs" />
|
||||
<Compile Include="Iob\GenericNext.cs" />
|
||||
<Compile Include="MainFormNext.cs">
|
||||
<SubType>Form</SubType>
|
||||
</Compile>
|
||||
<Compile Include="Program.cs" />
|
||||
<Compile Include="Properties\AssemblyInfo.cs" />
|
||||
<Content Include="ILLink\ILLink.Descriptors.LibraryBuild.xml" />
|
||||
<Content Include="Resources\STEAM-IOB-WIN.xml">
|
||||
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
|
||||
</Content>
|
||||
@@ -133,33 +134,104 @@
|
||||
<Compile Include="Properties\Resources.Designer.cs">
|
||||
<AutoGen>True</AutoGen>
|
||||
<DependentUpon>Resources.resx</DependentUpon>
|
||||
<DesignTime>True</DesignTime>
|
||||
</Compile>
|
||||
<None Include="NLog.config">
|
||||
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
|
||||
</None>
|
||||
<None Include="App.Debug.config">
|
||||
<DependentUpon>App.config</DependentUpon>
|
||||
<IsTransformFile>True</IsTransformFile>
|
||||
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
||||
</None>
|
||||
<None Include="App.Release.config">
|
||||
<DependentUpon>App.config</DependentUpon>
|
||||
<IsTransformFile>True</IsTransformFile>
|
||||
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
||||
</None>
|
||||
<None Include="DATA\CONF\3026-MBus.ini" />
|
||||
<None Include="DATA\CONF\3026-MBus.json" />
|
||||
<None Include="DATA\CONF\3026-MBus_alarm.json" />
|
||||
<None Include="DATA\CONF\3026-MBus_MBlock.json" />
|
||||
<None Include="DATA\CONF\FINASSI_HELPI_01.ini" />
|
||||
<None Include="DATA\CONF\FINASSI_HELPI_01.json" />
|
||||
<None Include="DATA\CONF\FINASSI_HELPI_01_alarm.json" />
|
||||
<None Include="DATA\CONF\FINASSI_HELPI_01_MBlock.json" />
|
||||
<None Include="DATA\CONF\FTP-PING.ini">
|
||||
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
|
||||
</None>
|
||||
<None Include="DATA\CONF\GIACO_CEDAX_001.ini" />
|
||||
<None Include="DATA\CONF\GIACO_CEDAX_001.json" />
|
||||
<None Include="DATA\CONF\GIACO_CEDAX_001_alarm.json" />
|
||||
<None Include="DATA\CONF\GIACO_CEDAX_001_MBlock.json" />
|
||||
<None Include="DATA\CONF\GIACO_CEDAX_002.ini" />
|
||||
<None Include="DATA\CONF\GIACO_CEDAX_002.json" />
|
||||
<None Include="DATA\CONF\GIACO_CEDAX_002_alarm.json" />
|
||||
<None Include="DATA\CONF\GIACO_CEDAX_002_MBlock.json" />
|
||||
<None Include="DATA\CONF\GIACO_CEDAX_003.ini" />
|
||||
<None Include="DATA\CONF\GIACO_CEDAX_003.json" />
|
||||
<None Include="DATA\CONF\GIACO_CEDAX_003_alarm.json" />
|
||||
<None Include="DATA\CONF\GIACO_CEDAX_003_MBlock.json" />
|
||||
<None Include="DATA\CONF\GIACO_CENTERFRIGO.ini" />
|
||||
<None Include="DATA\CONF\GIACO_CENTERFRIGO.json" />
|
||||
<None Include="DATA\CONF\GIACO_CENTERFRIGO_alarm.json" />
|
||||
<None Include="DATA\CONF\GIACO_CENTERFRIGO_MBlock.json" />
|
||||
<None Include="DATA\CONF\GIACO_CENTERFRIGO_MBlock_all.json" />
|
||||
<None Include="DATA\CONF\GIACO_SAIM_001.ini" />
|
||||
<None Include="DATA\CONF\GIACO_SAIM_001.json" />
|
||||
<None Include="DATA\CONF\GIACO_SAIM_001_MBlock.json" />
|
||||
<None Include="DATA\CONF\GIACO_SAIM_002.ini" />
|
||||
<None Include="DATA\CONF\GIACO_SAIM_002.json" />
|
||||
<None Include="DATA\CONF\GIACO_SAIM_002_MBlock.json" />
|
||||
<None Include="DATA\CONF\GIACO_SAIM_003.ini" />
|
||||
<None Include="DATA\CONF\GIACO_SAIM_003.json" />
|
||||
<None Include="DATA\CONF\GIACO_SAIM_003_MBlock.json" />
|
||||
<None Include="DATA\CONF\GIACO_ZPACK_L1_P1.ini" />
|
||||
<None Include="DATA\CONF\GIACO_ZPACK_L1_P1.json" />
|
||||
<None Include="DATA\CONF\GIACO_ZPACK_L1_P1_alarm.json" />
|
||||
<None Include="DATA\CONF\GIACO_ZPACK_L1_P1_MBlock.json" />
|
||||
<None Include="DATA\CONF\GIACO_ZPACK_L1_P2.ini" />
|
||||
<None Include="DATA\CONF\GIACO_ZPACK_L1_P2.json" />
|
||||
<None Include="DATA\CONF\GIACO_ZPACK_L1_P2_alarm.json" />
|
||||
<None Include="DATA\CONF\GIACO_ZPACK_L1_P2_MBlock.json" />
|
||||
<None Include="DATA\CONF\GIACO_ZPACK_L2_P1.ini" />
|
||||
<None Include="DATA\CONF\GIACO_ZPACK_L2_P1.json" />
|
||||
<None Include="DATA\CONF\GIACO_ZPACK_L2_P1_alarm.json" />
|
||||
<None Include="DATA\CONF\GIACO_ZPACK_L2_P1_MBlock.json" />
|
||||
<None Include="DATA\CONF\GIACO_ZPACK_L2_P2.ini" />
|
||||
<None Include="DATA\CONF\GIACO_ZPACK_L2_P2.json" />
|
||||
<None Include="DATA\CONF\GIACO_ZPACK_L2_P2_alarm.json" />
|
||||
<None Include="DATA\CONF\GIACO_ZPACK_L2_P2_MBlock.json" />
|
||||
<None Include="DATA\CONF\IMI_RIMOR_SAB_01.ini" />
|
||||
<None Include="DATA\CONF\IMI_RIMOR_SAB_01.json" />
|
||||
<None Include="DATA\CONF\IMI_RIMOR_SAB_01_alarm.json" />
|
||||
<None Include="DATA\CONF\IMI_RIMOR_SAB_01_MBlock.json" />
|
||||
<None Include="DATA\CONF\IMI_RIMOR_SAB_02.ini" />
|
||||
<None Include="DATA\CONF\IMI_RIMOR_SAB_02.json" />
|
||||
<None Include="DATA\CONF\IMI_RIMOR_SAB_02_MBlock.json" />
|
||||
<None Include="DATA\CONF\IMI_RIMOR_VER_01.ini" />
|
||||
<None Include="DATA\CONF\IMI_RIMOR_VER_01.json" />
|
||||
<None Include="DATA\CONF\IMI_RIMOR_VER_01_alarm.json" />
|
||||
<None Include="DATA\CONF\IMI_RIMOR_VER_01_MBlock.json" />
|
||||
<None Include="DATA\CONF\IMI_RIMOR_VER_02.ini" />
|
||||
<None Include="DATA\CONF\IMI_RIMOR_VER_02.json" />
|
||||
<None Include="DATA\CONF\IMI_RIMOR_VER_02_MBlock.json" />
|
||||
<None Include="DATA\CONF\IOB.ini">
|
||||
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
|
||||
</None>
|
||||
<None Include="DATA\CONF\MAIN.ini">
|
||||
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
|
||||
</None>
|
||||
<None Include="DATA\CONF\FTP-PING.ini">
|
||||
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
|
||||
</None>
|
||||
<None Include="DATA\CONF\PING.ini">
|
||||
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
|
||||
</None>
|
||||
<None Include="DATA\CONF\PIZ04.ini" />
|
||||
<None Include="DATA\CONF\PIZ04.json" />
|
||||
<None Include="DATA\CONF\PIZ04_alarm.json" />
|
||||
<None Include="DATA\CONF\PIZ04_MBlock.json" />
|
||||
<None Include="DATA\CONF\PIZ05.ini" />
|
||||
<None Include="DATA\CONF\PIZ05.json" />
|
||||
<None Include="DATA\CONF\PIZ05_alarm.json" />
|
||||
<None Include="DATA\CONF\PIZ05_MBlock.json" />
|
||||
<None Include="DATA\CONF\PIZ09.ini" />
|
||||
<None Include="DATA\CONF\PIZ09.json" />
|
||||
<None Include="DATA\CONF\PIZ09_alarm.json" />
|
||||
<None Include="DATA\CONF\PIZ09_MBlock.json" />
|
||||
<None Include="DATA\CONF\PIZ10.ini" />
|
||||
<None Include="DATA\CONF\PIZ10.json" />
|
||||
<None Include="DATA\CONF\PIZ10_alarm.json" />
|
||||
<None Include="DATA\CONF\PIZ10_MBlock.json" />
|
||||
<None Include="DATA\CONF\SIMUL_01.ini">
|
||||
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
|
||||
</None>
|
||||
@@ -172,6 +244,10 @@
|
||||
<None Include="DATA\CONF\SIMUL_01_WD.ini">
|
||||
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
|
||||
</None>
|
||||
<None Include="DATA\CONF\Tend_FIMAT_01.ini" />
|
||||
<None Include="DATA\CONF\Tend_FIMAT_01.json" />
|
||||
<None Include="DATA\CONF\Tend_FIMAT_01_alarm.json" />
|
||||
<None Include="DATA\CONF\Tend_FIMAT_01_MBlock.json" />
|
||||
<None Include="DATA\DAT\PersistData.dat">
|
||||
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
|
||||
</None>
|
||||
@@ -181,6 +257,9 @@
|
||||
<None Include="DATA\HIST\.placeholder">
|
||||
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
|
||||
</None>
|
||||
<None Include="NLog.config">
|
||||
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
|
||||
</None>
|
||||
<None Include="packages.config" />
|
||||
<None Include="postBuildTgt.bat" />
|
||||
<None Include="Properties\Settings.settings">
|
||||
@@ -203,7 +282,6 @@
|
||||
<ItemGroup>
|
||||
<None Include="App.config">
|
||||
<SubType>Designer</SubType>
|
||||
<TransformOnBuild>true</TransformOnBuild>
|
||||
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
||||
</None>
|
||||
</ItemGroup>
|
||||
@@ -235,23 +313,4 @@
|
||||
</ProjectReference>
|
||||
</ItemGroup>
|
||||
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
|
||||
<Import Project="..\packages\Microsoft.VisualStudio.SlowCheetah.4.0.50\build\Microsoft.VisualStudio.SlowCheetah.targets" Condition="Exists('..\packages\Microsoft.VisualStudio.SlowCheetah.4.0.50\build\Microsoft.VisualStudio.SlowCheetah.targets')" />
|
||||
<Target Name="EnsureNuGetPackageBuildImports" BeforeTargets="PrepareForBuild">
|
||||
<PropertyGroup>
|
||||
<ErrorText>This project references NuGet package(s) that are missing on this computer. Use NuGet Package Restore to download them. For more information, see http://go.microsoft.com/fwlink/?LinkID=322105. The missing file is {0}.</ErrorText>
|
||||
</PropertyGroup>
|
||||
<Error Condition="!Exists('..\packages\Microsoft.VisualStudio.SlowCheetah.4.0.50\build\Microsoft.VisualStudio.SlowCheetah.targets')" Text="$([System.String]::Format('$(ErrorText)', '..\packages\Microsoft.VisualStudio.SlowCheetah.4.0.50\build\Microsoft.VisualStudio.SlowCheetah.targets'))" />
|
||||
<Error Condition="!Exists('..\packages\Microsoft.Extensions.Logging.Abstractions.6.0.0\build\Microsoft.Extensions.Logging.Abstractions.targets')" Text="$([System.String]::Format('$(ErrorText)', '..\packages\Microsoft.Extensions.Logging.Abstractions.6.0.0\build\Microsoft.Extensions.Logging.Abstractions.targets'))" />
|
||||
</Target>
|
||||
<Target Name="AfterBuild">
|
||||
<ItemGroup>
|
||||
<MoveToLibFolder Include="$(OutputPath)*.dll ; $(OutputPath)*.pdb ; $(OutputPath)*.xml; $(OutputPath)*.so; $(OutputPath)*.dylib" />
|
||||
</ItemGroup>
|
||||
<Move SourceFiles="@(MoveToLibFolder)" DestinationFolder="$(OutputPath)lib" OverwriteReadOnlyFiles="true" />
|
||||
</Target>
|
||||
<Target Name="FinalBuild" AfterTargets="AfterBuild">
|
||||
<Exec Command="$(ProjectDir)postBuildTgt.bat $(ConfigurationName) $(TargetDir)">
|
||||
</Exec>
|
||||
</Target>
|
||||
<Import Project="..\packages\Microsoft.Extensions.Logging.Abstractions.6.0.0\build\Microsoft.Extensions.Logging.Abstractions.targets" Condition="Exists('..\packages\Microsoft.Extensions.Logging.Abstractions.6.0.0\build\Microsoft.Extensions.Logging.Abstractions.targets')" />
|
||||
</Project>
|
||||
@@ -1,6 +1,6 @@
|
||||
using IOB_UT_NEXT;
|
||||
|
||||
namespace IOB_WIN_PING.Iob
|
||||
namespace IOB_WIN_MBUS.Iob
|
||||
{
|
||||
public class GenericNext : IOB_WIN_FORM.Iob.Generic
|
||||
{
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
@@ -0,0 +1,100 @@
|
||||
using IOB_UT_NEXT;
|
||||
using System;
|
||||
|
||||
namespace IOB_WIN_MBUS.IobModbusTCP
|
||||
{
|
||||
/* --------------------------------------------------------------------------------
|
||||
* Controlli ModBusTCP Hunitronix Cedax
|
||||
* - protocollo ModBus TCP
|
||||
* - specifico comportamento impianti Unitronix Cedax
|
||||
* - nessuna gestione allarmi
|
||||
*
|
||||
* STRUTTURA MEMORIA a banchi di UInt16, convertiti successivamente in int EVENTUALMENTE divisi per 10/100/1000
|
||||
* ATTENZIONE: gestione LSB / MSB, il byte MSB (alto) DEVE essere moltiplicato x 32768 (Uint16Max/2) e sommato al byte basso
|
||||
* lettura: xxx byte,
|
||||
* scrittura yyy byte
|
||||
* G:\Drive condivisi\30_Clienti\Giacovelli - WIL\PLC CEDAX
|
||||
*
|
||||
* -------------------------------------------------------------------------------- */
|
||||
|
||||
public class ModbusTCPCedax : ModbusTCP
|
||||
{
|
||||
#region Public Constructors
|
||||
|
||||
/// <summary>
|
||||
/// Classe base con i metodi x ModBusTCP
|
||||
/// </summary>
|
||||
/// <param name="caller"></param>
|
||||
/// <param name="IOBConf"></param>
|
||||
public ModbusTCPCedax(AdapterFormNext caller, IobConfiguration IOBConf) : base(caller, IOBConf)
|
||||
{
|
||||
lgInfo("NEW IOB ModBus TCP Cedax");
|
||||
|
||||
// provo lettura una prima volta i dati DYN
|
||||
if (currPLC != null && currPLC.Connected)
|
||||
{
|
||||
try
|
||||
{
|
||||
processDynData();
|
||||
}
|
||||
catch (Exception exc)
|
||||
{
|
||||
lgError($"Eccezione in processDynData iniziale x ModBus TCP Cedax:{Environment.NewLine}{exc}");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
#endregion Public Constructors
|
||||
|
||||
#region Protected Methods
|
||||
|
||||
/// <summary>
|
||||
/// Effettua decodifica aree memoria alla bitmap usata x MAPO
|
||||
/// </summary>
|
||||
protected override void decodeToBaseBitmap()
|
||||
{
|
||||
// init a zero...
|
||||
B_input = 0;
|
||||
|
||||
/* -----------------------------------------------------
|
||||
* bitmap MAPO STANDARD 60
|
||||
* B0: POWER_ON
|
||||
* B1: RUN
|
||||
* B2: pzCount
|
||||
* B3: allarme
|
||||
* B4: manuale
|
||||
* B5: slowTC
|
||||
* B6: WarmUpCoolDown
|
||||
* B7: EmergArmata
|
||||
*
|
||||
----------------------------------------------------- */
|
||||
|
||||
var MemInt = new byte[2];
|
||||
|
||||
int byteSignals = 0;
|
||||
// bit 0 (poweron) imposto a 1 SE connected...
|
||||
if (currPLC.Connected)
|
||||
{
|
||||
byteSignals += (1 << 0);
|
||||
}
|
||||
|
||||
// processo dagli stati + gravi...
|
||||
if (hasAlarms())
|
||||
{
|
||||
byteSignals += (1 << 3);
|
||||
}
|
||||
else
|
||||
{
|
||||
byteSignals += (1 << 1);
|
||||
}
|
||||
|
||||
// segnalo NON emergenza
|
||||
byteSignals += (1 << 7);
|
||||
|
||||
// salvo!
|
||||
B_input = byteSignals;
|
||||
}
|
||||
|
||||
#endregion Protected Methods
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,116 @@
|
||||
using IOB_UT_NEXT;
|
||||
using System;
|
||||
|
||||
namespace IOB_WIN_MBUS.IobModbusTCP
|
||||
{
|
||||
/* --------------------------------------------------------------------------------
|
||||
* Controlli ModBusTCP Centerfrigo
|
||||
* - protocollo ModBus TCP
|
||||
* - specifico comportamento impianti Centerfrigo
|
||||
* - gestione allarmi
|
||||
* - gestione stati salvati come dynData
|
||||
* - gestione valori analogici
|
||||
*
|
||||
* STRUTTURA MEMORIA a banchi di UInt16, convertiti successivamente in int EVENTUALMENTE divisi per 10/100/1000
|
||||
* lettura: xxx byte,
|
||||
* scrittura yyy byte
|
||||
* G:\Drive condivisi\30_Clienti\Giacovelli - WIL\CenterFrigo
|
||||
*
|
||||
* ATTENZIONE! leggere al max 44 byte alla volta
|
||||
*
|
||||
* -------------------------------------------------------------------------------- */
|
||||
|
||||
public class ModbusTCPCenterfrigo : ModbusTCP
|
||||
{
|
||||
#region Public Constructors
|
||||
|
||||
/// <summary>
|
||||
/// Classe base con i metodi x ModBusTCP
|
||||
/// </summary>
|
||||
/// <param name="caller"></param>
|
||||
/// <param name="IOBConf"></param>
|
||||
public ModbusTCPCenterfrigo(AdapterFormNext caller, IobConfiguration IOBConf) : base(caller, IOBConf)
|
||||
{
|
||||
lgInfo("NEW IOB ModBus TCP Centerfrigo");
|
||||
|
||||
// provo lettura una prima volta i dati DYN
|
||||
if (currPLC != null && currPLC.Connected)
|
||||
{
|
||||
try
|
||||
{
|
||||
processDynData();
|
||||
}
|
||||
catch (Exception exc)
|
||||
{
|
||||
lgError($"Eccezione in processDynData iniziale x ModBus TCP Cedax:{Environment.NewLine}{exc}");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
#endregion Public Constructors
|
||||
|
||||
#region Protected Methods
|
||||
|
||||
/// <summary>
|
||||
/// Effettua decodifica aree memoria alla bitmap usata x MAPO
|
||||
/// </summary>
|
||||
protected override void decodeToBaseBitmap()
|
||||
{
|
||||
// init a zero...
|
||||
B_input = 0;
|
||||
|
||||
/* -----------------------------------------------------
|
||||
* bitmap MAPO STANDARD 60
|
||||
* B0: POWER_ON
|
||||
* B1: RUN
|
||||
* B2: pzCount
|
||||
* B3: allarme
|
||||
* B4: manuale
|
||||
* B5: slowTC
|
||||
* B6: WarmUpCoolDown
|
||||
* B7: EmergArmata
|
||||
*
|
||||
----------------------------------------------------- */
|
||||
|
||||
var MemInt = new byte[2];
|
||||
|
||||
int byteSignals = 0;
|
||||
// bit 0 (poweron) imposto a 1 SE connected...
|
||||
if (currPLC.Connected)
|
||||
{
|
||||
byteSignals += (1 << 0);
|
||||
}
|
||||
|
||||
// processo dagli stati + gravi...
|
||||
if (hasAlarms())
|
||||
{
|
||||
byteSignals += (1 << 3);
|
||||
}
|
||||
else
|
||||
{
|
||||
byteSignals += (1 << 1);
|
||||
}
|
||||
|
||||
// segnalo NON emergenza
|
||||
byteSignals += (1 << 7);
|
||||
|
||||
// salvo!
|
||||
B_input = byteSignals;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Effettua sync dati
|
||||
/// </summary>
|
||||
protected override void processDataSync()
|
||||
{
|
||||
// richiesta check autoODL
|
||||
processAutoOdl();
|
||||
// richiesta generazione quotidiana dossiers
|
||||
processAutoDossier();
|
||||
// effettua gestione import file...
|
||||
processFileImport();
|
||||
}
|
||||
|
||||
#endregion Protected Methods
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,216 @@
|
||||
using IOB_UT_NEXT;
|
||||
using System;
|
||||
using System.Globalization;
|
||||
using System.IO;
|
||||
|
||||
namespace IOB_WIN_MBUS.IobModbusTCP
|
||||
{
|
||||
/* --------------------------------------------------------------------------------
|
||||
* Controlli ModBusTCP FIMAT
|
||||
* - protocollo ModBus TCP
|
||||
* - gestione stato via Modbus
|
||||
* - resto gestioen via file
|
||||
*
|
||||
* G:\Drive condivisi\30_Clienti\Tenditalia\Macchina Fimat
|
||||
*
|
||||
* -------------------------------------------------------------------------------- */
|
||||
|
||||
public class ModbusTCPFimat : ModbusTCP
|
||||
{
|
||||
#region Public Constructors
|
||||
|
||||
/// <summary>
|
||||
/// Classe base con i metodi x ModBusTCP
|
||||
/// </summary>
|
||||
/// <param name="caller"></param>
|
||||
/// <param name="IOBConf"></param>
|
||||
public ModbusTCPFimat(AdapterFormNext caller, IobConfiguration IOBConf) : base(caller, IOBConf)
|
||||
{
|
||||
lgInfo("NEW IOB ModBus TCP FIMAT");
|
||||
|
||||
setupSpecialParams();
|
||||
// provo lettura una prima volta i dati DYN
|
||||
if (currPLC != null && currPLC.Connected)
|
||||
{
|
||||
try
|
||||
{
|
||||
processDynData();
|
||||
if (EnableTest)
|
||||
{
|
||||
testReadExt();
|
||||
}
|
||||
}
|
||||
catch (Exception exc)
|
||||
{
|
||||
lgError($"Eccezione in processDynData iniziale x ModBus TCP FIMAT:{Environment.NewLine}{exc}");
|
||||
}
|
||||
}
|
||||
if (EnableTest)
|
||||
{
|
||||
processDataSync();
|
||||
}
|
||||
}
|
||||
|
||||
#endregion Public Constructors
|
||||
|
||||
#region Protected Fields
|
||||
|
||||
/// <summary>
|
||||
/// Quantità massima PODL prima di fare split ordine (default 999'999)
|
||||
/// </summary>
|
||||
protected int maxPodlQty = 999999;
|
||||
|
||||
#endregion Protected Fields
|
||||
|
||||
#region Protected Properties
|
||||
|
||||
/// <summary>
|
||||
/// Restituisce controllo IN ALLARME
|
||||
/// </summary>
|
||||
protected bool AlarmState
|
||||
{
|
||||
get
|
||||
{
|
||||
return testIntCondition("AlarmIntCond");
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Restituisce status di ESTOP triggered (triggered = premuta, altrimenti armed)
|
||||
/// </summary>
|
||||
protected bool EStopTriggered
|
||||
{
|
||||
get
|
||||
{
|
||||
return testBitCondition("EStopBitCond");
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Restituisce status di Manuale, hard coded
|
||||
/// </summary>
|
||||
protected bool ManualState
|
||||
{
|
||||
get
|
||||
{
|
||||
return testBitCondition("ManualBitCond");
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Restituisce status di WORK (auto + lavora), hard coded
|
||||
/// </summary>
|
||||
protected bool WorkState
|
||||
{
|
||||
get
|
||||
{
|
||||
return testIntCondition("WorkIntCond");
|
||||
}
|
||||
}
|
||||
|
||||
#endregion Protected Properties
|
||||
|
||||
#region Protected Methods
|
||||
|
||||
/// <summary>
|
||||
/// Effettua decodifica aree memoria alla bitmap usata x MAPO
|
||||
/// </summary>
|
||||
protected override void decodeToBaseBitmap()
|
||||
{
|
||||
// init a zero...
|
||||
B_input = 0;
|
||||
|
||||
/* -----------------------------------------------------
|
||||
* bitmap MAPO STANDARD 60
|
||||
* B0: POWER_ON
|
||||
* B1: RUN
|
||||
* B2: pzCount
|
||||
* B3: allarme
|
||||
* B4: manuale
|
||||
* B5: slowTC
|
||||
* B6: WarmUpCoolDown
|
||||
* B7: EmergArmata
|
||||
*
|
||||
----------------------------------------------------- */
|
||||
|
||||
var MemInt = new byte[2];
|
||||
|
||||
int byteSignals = 0;
|
||||
// bit 0 (poweron) imposto a 1 SE connected...
|
||||
if (currPLC.Connected)
|
||||
{
|
||||
byteSignals += (1 << 0);
|
||||
}
|
||||
// se ho qualcosa nella holding register...
|
||||
if (HoldingRegisterLUT != null && HoldingRegisterLUT.Count > 0)
|
||||
{
|
||||
// se emergenza NON premuta (triggered) indico OK (armata...) FARE !!! togliere true
|
||||
if (!EStopTriggered)
|
||||
{
|
||||
byteSignals += (1 << 7);
|
||||
}
|
||||
|
||||
// impiego controlli da setup IntConditions... processo dagli stati + gravi...
|
||||
if (AlarmState || hasAlarms())
|
||||
{
|
||||
byteSignals += (1 << 3);
|
||||
}
|
||||
else if (ManualState)
|
||||
{
|
||||
byteSignals += (1 << 4);
|
||||
}
|
||||
else if (WorkState)
|
||||
{
|
||||
byteSignals += (1 << 1);
|
||||
}
|
||||
|
||||
checkTranslateBit();
|
||||
checkTranslateInt();
|
||||
}
|
||||
else
|
||||
{
|
||||
lgInfo("HoldingRegisterLUT vuoto!");
|
||||
}
|
||||
|
||||
// salvo!
|
||||
B_input = byteSignals;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Effettua sync dati x PODL attivi
|
||||
/// </summary>
|
||||
protected override void processDataSync()
|
||||
{
|
||||
if (hasRecipe)
|
||||
{
|
||||
lgTrace("processDataSync: START");
|
||||
DateTime adesso = DateTime.Now;
|
||||
Calendar cal = new CultureInfo("it-IT").Calendar;
|
||||
int week = cal.GetWeekOfYear(adesso, CalendarWeekRule.FirstFourDayWeek, DayOfWeek.Monday);
|
||||
string tempPath = Path.Combine(pathList["path-locBase"], pathList["path-01-Temp"]);
|
||||
string archPath = Path.Combine(pathList["path-locBase"], pathList["path-02-Sent"], $"{adesso:yyyy}", $"{week:00}");
|
||||
string remoPath = Path.Combine(pathList["path-locBase"], pathList["path-04-remReq"]);
|
||||
baseUtils.checkDir(tempPath);
|
||||
baseUtils.checkDir(archPath);
|
||||
try
|
||||
{
|
||||
// recupero elenco PODL da processare, check PODL già inviati, save locale
|
||||
bool create = RecipeReqWriteLocal(tempPath, useLocalRecipe);
|
||||
// invio ricette a impianto
|
||||
bool trasmitted = RecipeSend(tempPath, archPath, remoPath);
|
||||
}
|
||||
catch (Exception exc)
|
||||
{
|
||||
lgError($"Eccezione in processDataSync{Environment.NewLine}{exc}");
|
||||
}
|
||||
lgTrace("processDataSync: Completed");
|
||||
}
|
||||
else
|
||||
{
|
||||
lgTrace("processDataSync: NO exec, hasRecipe=false");
|
||||
}
|
||||
}
|
||||
|
||||
#endregion Protected Methods
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,92 @@
|
||||
using IOB_UT_NEXT;
|
||||
using System;
|
||||
|
||||
namespace IOB_WIN_MBUS.IobModbusTCP
|
||||
{
|
||||
/* --------------------------------------------------------------------------------
|
||||
* Controlli ModBusTCP COMECA
|
||||
* - protocollo ModBus TCP HAM
|
||||
* - specifico comportamento impianti HAM Pizzaferri
|
||||
*
|
||||
* STRUTTURA MEMORIA a banchi di byte, convertiti successivamente in bit/int/real:
|
||||
* lettura: xxx byte,
|
||||
* scrittura yyy byte
|
||||
* G:\Drive condivisi\30_Clienti\Pizzaferri\Impianti\HAM
|
||||
*
|
||||
* -------------------------------------------------------------------------------- */
|
||||
|
||||
public class ModbusTCPHam : ModbusTCP
|
||||
{
|
||||
#region Public Constructors
|
||||
|
||||
/// <summary>
|
||||
/// Classe base con i metodi x ModBusTCP
|
||||
/// </summary>
|
||||
/// <param name="caller"></param>
|
||||
/// <param name="IOBConf"></param>
|
||||
public ModbusTCPHam(AdapterFormNext caller, IobConfiguration IOBConf) : base(caller, IOBConf)
|
||||
{
|
||||
lgInfo("NEW IOB ModBus TCP HAM");
|
||||
|
||||
// provo lettura una prima volta i dati DYN
|
||||
if (currPLC != null && currPLC.Connected)
|
||||
{
|
||||
try
|
||||
{
|
||||
processDynData();
|
||||
}
|
||||
catch (Exception exc)
|
||||
{
|
||||
lgError($"Eccezione in processDynData iniziale x ModBus TCP HAM:{Environment.NewLine}{exc}");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
#endregion Public Constructors
|
||||
|
||||
#region Protected Methods
|
||||
|
||||
/// <summary>
|
||||
/// Effettua decodifica aree memoria alla bitmap usata x MAPO/GWMS
|
||||
/// - per lo scopo specifico IN REALTA' non conta lo stato macchina.... ma lo inviamo lo stesso
|
||||
/// </summary>
|
||||
protected override void decodeToBaseBitmap()
|
||||
{
|
||||
// init a zero...
|
||||
B_input = 0;
|
||||
|
||||
/* -----------------------------------------------------
|
||||
* bitmap MAPO STANDARD
|
||||
* B0: POWER_ON
|
||||
* B1: RUN
|
||||
* B2: pzCount
|
||||
* B3: allarme
|
||||
*
|
||||
----------------------------------------------------- */
|
||||
|
||||
var MemInt = new byte[2];
|
||||
|
||||
int byteSignals = 0;
|
||||
// bit 0 (poweron) imposto a 1 SE connected...
|
||||
if (currPLC.Connected)
|
||||
{
|
||||
byteSignals += (1 << 0);
|
||||
}
|
||||
|
||||
// processo dagli stati + gravi...
|
||||
if (hasAlarms())
|
||||
{
|
||||
byteSignals += (1 << 3);
|
||||
}
|
||||
else
|
||||
{
|
||||
byteSignals += (1 << 1);
|
||||
}
|
||||
|
||||
// salvo!
|
||||
B_input = byteSignals;
|
||||
}
|
||||
|
||||
#endregion Protected Methods
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,193 @@
|
||||
using EasyModbus;
|
||||
using IOB_UT_NEXT;
|
||||
using System;
|
||||
using System.Linq;
|
||||
|
||||
namespace IOB_WIN_MBUS.IobModbusTCP
|
||||
{
|
||||
/* --------------------------------------------------------------------------------
|
||||
* Controlli ModBusTCP Helpi
|
||||
* - protocollo ModBus TCP
|
||||
* - specifico comportamento impianti confezionatrici Helpi
|
||||
*
|
||||
* NRicetta UINT 16bit 41060 W
|
||||
* ApplicaRicetta UINT 16bit 41061 R/W
|
||||
* IDOrdine STRING [30] 41062 W
|
||||
* Lotto STRING [30] 41078 W
|
||||
* CodiceAllarmi_1 DWORD 32bit 41094 R
|
||||
* CodiceAllarmi_2 DWORD 32bit 41096 R
|
||||
* NPacchi UDINT 32bit 41098 W
|
||||
* NPacchiFatti UDINT 32bit 41100 R
|
||||
* EpochStart UDINT 32bit 41102 R
|
||||
* EpochStop UDINT 32bit 41104 R
|
||||
* PPM REAL 32bit 41106 R
|
||||
* StatusLavoro UINT 16bit 41108 R
|
||||
*
|
||||
* StatusLavoro indica lo stato della macchina:
|
||||
* 0. macchina completamente ferma
|
||||
* 1. macchina in riscaldamento
|
||||
* 2. macchina pronta
|
||||
* 3. macchina in manuale
|
||||
* 4. macchina in ciclo
|
||||
*
|
||||
* G:\Drive condivisi\30_Clienti\Cereria Finassi\PLC Helpi
|
||||
*
|
||||
* -------------------------------------------------------------------------------- */
|
||||
|
||||
public class ModbusTCPHelpi : ModbusTCP
|
||||
{
|
||||
#region Public Constructors
|
||||
|
||||
/// <summary>
|
||||
/// Classe base con i metodi x ModBusTCP
|
||||
/// </summary>
|
||||
/// <param name="caller"></param>
|
||||
/// <param name="IOBConf"></param>
|
||||
public ModbusTCPHelpi(AdapterFormNext caller, IobConfiguration IOBConf) : base(caller, IOBConf)
|
||||
{
|
||||
lgInfo("NEW IOB ModBus TCP Helpi");
|
||||
|
||||
// provo lettura una prima volta i dati DYN
|
||||
if (currPLC != null && currPLC.Connected)
|
||||
{
|
||||
try
|
||||
{
|
||||
processDynData();
|
||||
}
|
||||
catch (Exception exc)
|
||||
{
|
||||
lgError($"Eccezione in processDynData iniziale x ModBus TCP Helpi:{Environment.NewLine}{exc}");
|
||||
}
|
||||
}
|
||||
|
||||
//// test lettura
|
||||
//testCncConn();
|
||||
//testBlockRead(401001, 20);
|
||||
}
|
||||
|
||||
#endregion Public Constructors
|
||||
|
||||
#region Protected Properties
|
||||
|
||||
/// <summary>
|
||||
/// Restituisce status di emergenza, hard coded dall'area di allarmi
|
||||
/// </summary>
|
||||
protected bool EStop
|
||||
{
|
||||
get
|
||||
{
|
||||
bool answ = false;
|
||||
int currStatus = 0;
|
||||
// hard coded
|
||||
int statusReg = 41094;
|
||||
// deve avere allarmi (è un allarme EStop)
|
||||
if (hasAlarms())
|
||||
{
|
||||
int[] listInt = new int[2];
|
||||
listInt = HoldingRegisterLUT[statusReg];
|
||||
currStatus = ModbusClient.ConvertRegistersToInt(listInt);
|
||||
// hard coded il 5° bit
|
||||
answ = ((currStatus & (1 << 4)) > 0);
|
||||
}
|
||||
return answ;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Restituisce status di lavorazione, hard coded dall'area di memoria 41108
|
||||
/// </summary>
|
||||
protected int StatusLavoro
|
||||
{
|
||||
get
|
||||
{
|
||||
int answ = 0;
|
||||
// hard coded
|
||||
int statusReg = 41108;
|
||||
if (HoldingRegisterLUT.ContainsKey(statusReg))
|
||||
{
|
||||
int[] listInt = new int[2];
|
||||
listInt = HoldingRegisterLUT[statusReg];
|
||||
var dataList = listInt.ToList();
|
||||
dataList.Reverse();
|
||||
listInt = dataList.ToArray();
|
||||
answ = ModbusClient.ConvertRegistersToInt(listInt);
|
||||
}
|
||||
return answ;
|
||||
}
|
||||
}
|
||||
|
||||
#endregion Protected Properties
|
||||
|
||||
#region Protected Methods
|
||||
|
||||
/// <summary>
|
||||
/// Effettua decodifica aree memoria alla bitmap usata x MAPO
|
||||
/// </summary>
|
||||
protected override void decodeToBaseBitmap()
|
||||
{
|
||||
// init a zero...
|
||||
B_input = 0;
|
||||
|
||||
/* -----------------------------------------------------
|
||||
* bitmap MAPO STANDARD, tipo 60 con warm up /cool down
|
||||
* B0: POWER_ON
|
||||
* B1: RUN
|
||||
* B2: pzCount
|
||||
* B3: allarme
|
||||
* B4: manuale
|
||||
* B5: TC Lento
|
||||
* B6: WarmUp/CoolDown
|
||||
* B7: Emergenza armata
|
||||
*
|
||||
----------------------------------------------------- */
|
||||
|
||||
var MemInt = new byte[2];
|
||||
|
||||
int byteSignals = 0;
|
||||
// bit 0 (poweron) imposto a 1 SE connected...
|
||||
if (currPLC.Connected)
|
||||
{
|
||||
byteSignals += (1 << 0);
|
||||
}
|
||||
|
||||
// processo dagli stati + gravi...
|
||||
if (!EStop)
|
||||
{
|
||||
byteSignals += (1 << 7);
|
||||
}
|
||||
if (hasAlarms())
|
||||
{
|
||||
byteSignals += (1 << 3);
|
||||
}
|
||||
|
||||
// verifico gli stati specifici x decodificare... 41108
|
||||
switch (StatusLavoro)
|
||||
{
|
||||
// resta FERMA (pronta)
|
||||
case 0:
|
||||
default:
|
||||
break;
|
||||
|
||||
case 1:
|
||||
byteSignals += (1 << 6);
|
||||
break;
|
||||
|
||||
// spostato 2 in lavora
|
||||
//case 2:
|
||||
case 3:
|
||||
byteSignals += (1 << 4);
|
||||
break;
|
||||
|
||||
case 2:
|
||||
case 4:
|
||||
byteSignals += (1 << 1);
|
||||
break;
|
||||
}
|
||||
|
||||
// salvo!
|
||||
B_input = byteSignals;
|
||||
}
|
||||
|
||||
#endregion Protected Methods
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,202 @@
|
||||
using EasyModbus;
|
||||
using IOB_UT_NEXT;
|
||||
using System;
|
||||
|
||||
namespace IOB_WIN_MBUS.IobModbusTCP
|
||||
{
|
||||
/* --------------------------------------------------------------------------------
|
||||
* Controlli ModBusTCP IMAS Aeromeccanica
|
||||
* - protocollo ModBus TCP
|
||||
* - specifico comportamento impianti filtrazione IMAS Aeromeccanica
|
||||
* - gestione allarmi
|
||||
*
|
||||
* STRUTTURA MEMORIA a banchi di UInt16, convertiti successivamente in int EVENTUALMENTE divisi per 10/100/1000
|
||||
* G:\Drive condivisi\30_Clienti\Jetco\Manuali CNC-PLC\Aspiratori
|
||||
*
|
||||
* -------------------------------------------------------------------------------- */
|
||||
|
||||
public class ModbusTCPImaxAeromec : ModbusTCP
|
||||
{
|
||||
#region Public Constructors
|
||||
|
||||
/// <summary>
|
||||
/// Classe base con i metodi x ModBusTCP
|
||||
/// </summary>
|
||||
/// <param name="caller"></param>
|
||||
/// <param name="IOBConf"></param>
|
||||
public ModbusTCPImaxAeromec(AdapterFormNext caller, IobConfiguration IOBConf) : base(caller, IOBConf)
|
||||
{
|
||||
lgInfo("NEW IOB ModBus TCP IMAS Aeromec");
|
||||
|
||||
// provo lettura una prima volta i dati DYN
|
||||
if (currPLC != null && currPLC.Connected)
|
||||
{
|
||||
try
|
||||
{
|
||||
processDynData();
|
||||
}
|
||||
catch (Exception exc)
|
||||
{
|
||||
lgError($"Eccezione in processDynData iniziale x ModBus TCP IMAS Aeromec:{Environment.NewLine}{exc}");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
#endregion Public Constructors
|
||||
|
||||
#region Protected Properties
|
||||
|
||||
/// <summary>
|
||||
/// Restituisce status di AUTOmatico, hard coded
|
||||
/// </summary>
|
||||
protected bool Auto
|
||||
{
|
||||
get
|
||||
{
|
||||
return testCondition("WorkBitCond");
|
||||
#if false
|
||||
bool answ = false;
|
||||
int currStatus = 0;
|
||||
// hard coded
|
||||
int statusReg = 40002;
|
||||
int[] listInt = new int[2];
|
||||
listInt = HoldingRegisterLUT[statusReg];
|
||||
currStatus = ModbusClient.ConvertRegistersToInt(listInt);
|
||||
// hard coded il 5° bit
|
||||
answ = ((currStatus & (1 << 14)) > 0);
|
||||
return answ;
|
||||
#endif
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Restituisce status di ESTOP triggered (triggered = premuta, altrimenti armed)
|
||||
/// </summary>
|
||||
protected bool EStopTriggered
|
||||
{
|
||||
get
|
||||
{
|
||||
return testCondition("EStopBitCond");
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Restituisce status di LAVORA, hard coded
|
||||
/// </summary>
|
||||
protected bool Work
|
||||
{
|
||||
get
|
||||
{
|
||||
return testCondition("WorkBitCond");
|
||||
#if false
|
||||
|
||||
bool answ = false;
|
||||
int currStatus = 0;
|
||||
// hard coded
|
||||
int statusReg = 40002;
|
||||
int[] listInt = new int[2];
|
||||
listInt = HoldingRegisterLUT[statusReg];
|
||||
currStatus = ModbusClient.ConvertRegistersToInt(listInt);
|
||||
// hard coded il 5° bit
|
||||
answ = ((currStatus & (1 << 0)) > 0);
|
||||
return answ;
|
||||
#endif
|
||||
}
|
||||
}
|
||||
|
||||
#endregion Protected Properties
|
||||
|
||||
#region Protected Methods
|
||||
|
||||
/// <summary>
|
||||
/// Effettua decodifica aree memoria alla bitmap usata x MAPO
|
||||
/// </summary>
|
||||
protected override void decodeToBaseBitmap()
|
||||
{
|
||||
// init a zero...
|
||||
B_input = 0;
|
||||
|
||||
/* -----------------------------------------------------
|
||||
* bitmap MAPO STANDARD 60
|
||||
* B0: POWER_ON
|
||||
* B1: RUN
|
||||
* B2: pzCount
|
||||
* B3: allarme
|
||||
* B4: manuale
|
||||
* B5: slowTC
|
||||
* B6: WarmUpCoolDown
|
||||
* B7: EmergArmata
|
||||
*
|
||||
----------------------------------------------------- */
|
||||
|
||||
var MemInt = new byte[2];
|
||||
|
||||
int byteSignals = 0;
|
||||
// bit 0 (poweron) imposto a 1 SE connected...
|
||||
if (currPLC.Connected)
|
||||
{
|
||||
byteSignals += (1 << 0);
|
||||
}
|
||||
if (HoldingRegisterLUT != null && HoldingRegisterLUT.Count > 0)
|
||||
{
|
||||
// se emergenza NON premuta (triggered) indico OK (armata...)
|
||||
if (!EStopTriggered)
|
||||
{
|
||||
byteSignals += (1 << 7);
|
||||
}
|
||||
|
||||
// processo dagli stati + gravi...
|
||||
if (hasAlarms())
|
||||
{
|
||||
byteSignals += (1 << 3);
|
||||
}
|
||||
if (Work)
|
||||
{
|
||||
byteSignals += (1 << 1);
|
||||
}
|
||||
if (!Auto)
|
||||
{
|
||||
byteSignals += (1 << 4);
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
lgInfo("HoldingRegisterLUT vuoto!");
|
||||
}
|
||||
|
||||
// salvo!
|
||||
B_input = byteSignals;
|
||||
}
|
||||
|
||||
#endregion Protected Methods
|
||||
|
||||
#region Private Methods
|
||||
|
||||
/// <summary>
|
||||
/// Testa la condition modbus da LUT + configurazione
|
||||
/// </summary>
|
||||
/// <param name="cKey"></param>
|
||||
/// <returns></returns>
|
||||
private bool testCondition(string cKey)
|
||||
{
|
||||
bool answ = false;
|
||||
if (OptCheckCondBit.ContainsKey(cKey))
|
||||
{
|
||||
int currStatus = 0;
|
||||
int[] listInt = new int[2];
|
||||
listInt = HoldingRegisterLUT[OptCheckCondBit[cKey].BaseAddr];
|
||||
currStatus = ModbusClient.ConvertRegistersToInt(listInt);
|
||||
// hard coded il 9° bit a zero
|
||||
answ = ((currStatus & (1 << OptCheckCondBit[cKey].BitNum)) == OptCheckCondBit[cKey].ValOk);
|
||||
lgTrace($"testCondition for {cKey} | BaseAddr: {OptCheckCondBit[cKey].BaseAddr} | BitNum: {OptCheckCondBit[cKey].BitNum} | ValOk: {OptCheckCondBit[cKey].ValOk}");
|
||||
}
|
||||
else
|
||||
{
|
||||
lgTrace($"testCondition error: {cKey} not found");
|
||||
}
|
||||
return answ;
|
||||
}
|
||||
|
||||
#endregion Private Methods
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,246 @@
|
||||
using IOB_UT_NEXT;
|
||||
using System;
|
||||
|
||||
namespace IOB_WIN_MBUS.IobModbusTCP
|
||||
{
|
||||
/* --------------------------------------------------------------------------------
|
||||
* Controlli ModBusTCP Rimor
|
||||
* - protocollo ModBus TCP
|
||||
* - specifico comportamento sabbiatura e ossitaglio x IMI Remosa
|
||||
* - gestione stato
|
||||
* - gestione allarmi
|
||||
* - gestione parametri (ore/minuti funzionamento)
|
||||
*
|
||||
* G:\Drive condivisi\30_Clienti\IMI-Remosa\Richieste nuove integrazioni\RIMOR
|
||||
*
|
||||
* -------------------------------------------------------------------------------- */
|
||||
|
||||
public class ModbusTCPRimor : ModbusTCP
|
||||
{
|
||||
#region Public Constructors
|
||||
|
||||
/// <summary>
|
||||
/// Classe base con i metodi x ModBusTCP
|
||||
/// </summary>
|
||||
/// <param name="caller"></param>
|
||||
/// <param name="IOBConf"></param>
|
||||
public ModbusTCPRimor(AdapterFormNext caller, IobConfiguration IOBConf) : base(caller, IOBConf)
|
||||
{
|
||||
lgInfo("NEW IOB ModBus TCP Rimor");
|
||||
|
||||
// provo lettura una prima volta i dati DYN
|
||||
if (currPLC != null && currPLC.Connected)
|
||||
{
|
||||
try
|
||||
{
|
||||
processDynData();
|
||||
if (EnableTest)
|
||||
{
|
||||
processDataSync();
|
||||
testReadExt();
|
||||
}
|
||||
}
|
||||
catch (Exception exc)
|
||||
{
|
||||
lgError($"Eccezione in processDynData iniziale x ModBus TCP Rimor:{Environment.NewLine}{exc}");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
#endregion Public Constructors
|
||||
|
||||
#region Protected Properties
|
||||
|
||||
/// <summary>
|
||||
/// Restituisce controllo IN ALLARME
|
||||
/// </summary>
|
||||
protected bool AlarmState
|
||||
{
|
||||
get
|
||||
{
|
||||
bool answ = false;
|
||||
if (memMap.optMemPar.ContainsKey("AlarmBitCond"))
|
||||
{
|
||||
answ = testDisInBitCondition("AlarmBitCond");
|
||||
}
|
||||
else if (memMap.optMemPar.ContainsKey("AlarmIntCond"))
|
||||
{
|
||||
answ = testIntCondition("AlarmIntCond");
|
||||
}
|
||||
return answ;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Restituisce status di END ORDINE (chiusura ODL se aperto) HARD coded
|
||||
/// </summary>
|
||||
protected bool EndOrderState
|
||||
{
|
||||
get
|
||||
{
|
||||
bool answ = false;
|
||||
if (memMap.optMemPar.ContainsKey("EndOrdBitCond"))
|
||||
{
|
||||
answ = testDisInBitCondition("EndOrdBitCond");
|
||||
}
|
||||
else if (memMap.optMemPar.ContainsKey("EndOrdIntCond"))
|
||||
{
|
||||
answ = testIntCondition("EndOrdIntCond");
|
||||
}
|
||||
return answ;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Restituisce status di ESTOP triggered (triggered = premuta, altrimenti armed)
|
||||
/// </summary>
|
||||
protected bool EStopTriggered
|
||||
{
|
||||
get
|
||||
{
|
||||
bool answ = false;
|
||||
if (memMap.optMemPar.ContainsKey("EStopBitCond"))
|
||||
{
|
||||
answ = testDisInBitCondition("EStopBitCond");
|
||||
}
|
||||
else if (memMap.optMemPar.ContainsKey("EStopIntCond"))
|
||||
{
|
||||
answ = testIntCondition("EStopIntCond");
|
||||
}
|
||||
return answ;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Restituisce status di Manuale, hard coded
|
||||
/// </summary>
|
||||
protected bool ManualState
|
||||
{
|
||||
get
|
||||
{
|
||||
bool answ = false;
|
||||
if (memMap.optMemPar.ContainsKey("ManualBitCond"))
|
||||
{
|
||||
answ = testDisInBitCondition("ManualBitCond");
|
||||
}
|
||||
else if (memMap.optMemPar.ContainsKey("ManualIntCond"))
|
||||
{
|
||||
answ = testIntCondition("ManualIntCond");
|
||||
}
|
||||
return answ;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Restituisce status di WORK (auto + lavora), hard coded
|
||||
/// </summary>
|
||||
protected bool WorkState
|
||||
{
|
||||
get
|
||||
{
|
||||
bool answ = false;
|
||||
if (memMap.optMemPar.ContainsKey("WorkBitCond"))
|
||||
{
|
||||
answ = testDisInBitCondition("WorkBitCond");
|
||||
}
|
||||
else if (memMap.optMemPar.ContainsKey("WorkIntCond"))
|
||||
{
|
||||
answ = testIntCondition("WorkIntCond");
|
||||
}
|
||||
return answ;
|
||||
}
|
||||
}
|
||||
|
||||
#endregion Protected Properties
|
||||
|
||||
#region Protected Methods
|
||||
|
||||
/// <summary>
|
||||
/// Effettua decodifica aree memoria alla bitmap usata x MAPO
|
||||
/// </summary>
|
||||
protected override void decodeToBaseBitmap()
|
||||
{
|
||||
// init a zero...
|
||||
B_input = 0;
|
||||
|
||||
/* -----------------------------------------------------
|
||||
* bitmap MAPO STANDARD 60
|
||||
* B0: POWER_ON
|
||||
* B1: RUN
|
||||
* B2: pzCount
|
||||
* B3: allarme
|
||||
* B4: manuale
|
||||
* B5: slowTC
|
||||
* B6: WarmUpCoolDown
|
||||
* B7: EmergArmata
|
||||
*
|
||||
----------------------------------------------------- */
|
||||
|
||||
var MemInt = new byte[2];
|
||||
|
||||
int byteSignals = 0;
|
||||
// bit 0 (poweron) imposto a 1 SE connected...
|
||||
if (currPLC.Connected)
|
||||
{
|
||||
byteSignals += (1 << 0);
|
||||
}
|
||||
// se ho qualcosa nella holding register...
|
||||
if (HoldingRegisterLUT != null && HoldingRegisterLUT.Count > 0)
|
||||
{
|
||||
// se emergenza NON premuta (triggered) indico OK (armata...) FARE !!! togliere true
|
||||
//if (!EStopTriggered)
|
||||
if (true)
|
||||
{
|
||||
byteSignals += (1 << 7);
|
||||
}
|
||||
|
||||
// impiego controlli da setup IntConditions... processo dagli stati + gravi...
|
||||
if (AlarmState || hasAlarms())
|
||||
{
|
||||
byteSignals += (1 << 3);
|
||||
}
|
||||
else if (ManualState)
|
||||
{
|
||||
byteSignals += (1 << 4);
|
||||
}
|
||||
else if (WorkState)
|
||||
{
|
||||
byteSignals += (1 << 1);
|
||||
}
|
||||
|
||||
// controllo SE avesse ODL attivo ma fosse in condizione end ordine --> mando
|
||||
// chiusura ODL
|
||||
if (currIdxODL > 0)
|
||||
{
|
||||
if (EndOrderState)
|
||||
{
|
||||
// invio chiusura ODL
|
||||
tryCloseCurrODL();
|
||||
}
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
lgInfo("HoldingRegisterLUT vuoto!");
|
||||
}
|
||||
|
||||
// salvo!
|
||||
B_input = byteSignals;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Effettua sync dati
|
||||
/// </summary>
|
||||
protected override void processDataSync()
|
||||
{
|
||||
// richiesta check autoODL
|
||||
processAutoOdl();
|
||||
// richiesta generazione quotidiana dossiers
|
||||
processAutoDossier();
|
||||
// effettua gestione import file...
|
||||
processFileImport();
|
||||
}
|
||||
|
||||
#endregion Protected Methods
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,196 @@
|
||||
using IOB_UT_NEXT;
|
||||
using System;
|
||||
|
||||
namespace IOB_WIN_MBUS.IobModbusTCP
|
||||
{
|
||||
/* --------------------------------------------------------------------------------
|
||||
* Controlli ModBusTCP SAIM
|
||||
* - protocollo ModBus TCP
|
||||
* - specifico comportamento impianti sanificazione ad ozono SAIM (Giacovelli)
|
||||
* - gestione allarmi
|
||||
*
|
||||
* STRUTTURA MEMORIA a banchi di UInt16, convertiti successivamente in int EVENTUALMENTE divisi per 10/100/1000
|
||||
* G:\Drive condivisi\30_Clienti\Giacovelli - WIL\SAIM
|
||||
*
|
||||
* -------------------------------------------------------------------------------- */
|
||||
|
||||
public class ModbusTCPSaim : ModbusTCP
|
||||
{
|
||||
#region Public Constructors
|
||||
|
||||
/// <summary>
|
||||
/// Classe base con i metodi x ModBusTCP
|
||||
/// </summary>
|
||||
/// <param name="caller"></param>
|
||||
/// <param name="IOBConf"></param>
|
||||
public ModbusTCPSaim(AdapterFormNext caller, IobConfiguration IOBConf) : base(caller, IOBConf)
|
||||
{
|
||||
lgInfo("NEW IOB ModBus TCP Saim");
|
||||
|
||||
// provo lettura una prima volta i dati DYN
|
||||
if (currPLC != null && currPLC.Connected)
|
||||
{
|
||||
try
|
||||
{
|
||||
processDynData();
|
||||
if (EnableTest)
|
||||
{
|
||||
processDataSync();
|
||||
testReadExt();
|
||||
}
|
||||
}
|
||||
catch (Exception exc)
|
||||
{
|
||||
lgError($"Eccezione in processDynData iniziale x ModBus TCP SAIM:{Environment.NewLine}{exc}");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
#endregion Public Constructors
|
||||
|
||||
#region Protected Properties
|
||||
|
||||
/// <summary>
|
||||
/// Restituisce controllo IN ALLARME
|
||||
/// </summary>
|
||||
protected bool AlarmState
|
||||
{
|
||||
get
|
||||
{
|
||||
return testDisInBitCondition("AlarmBitCond");
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Restituisce status di ESTOP triggered (triggered = premuta, altrimenti armed)
|
||||
/// </summary>
|
||||
protected bool EStopTriggered
|
||||
{
|
||||
get
|
||||
{
|
||||
return testDisInBitCondition("EStopBitCond");
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Restituisce status di Manuale, hard coded
|
||||
/// </summary>
|
||||
protected bool ManualState
|
||||
{
|
||||
get
|
||||
{
|
||||
return testDisInBitCondition("ManualBitCond");
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Restituisce status di LAVORA, hard coded
|
||||
/// </summary>
|
||||
protected bool Work
|
||||
{
|
||||
get
|
||||
{
|
||||
return testDisInBitCondition("WorkBitCond");
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Restituisce status di WORK (auto + lavora), hard coded
|
||||
/// </summary>
|
||||
protected bool WorkState
|
||||
{
|
||||
get
|
||||
{
|
||||
return testDisInBitCondition("WorkBitCond");
|
||||
}
|
||||
}
|
||||
|
||||
#endregion Protected Properties
|
||||
|
||||
#region Protected Methods
|
||||
|
||||
/// <summary>
|
||||
/// Effettua decodifica aree memoria alla bitmap usata x MAPO
|
||||
/// </summary>
|
||||
protected override void decodeToBaseBitmap()
|
||||
{
|
||||
// init a zero...
|
||||
B_input = 0;
|
||||
|
||||
/* -----------------------------------------------------
|
||||
* bitmap MAPO STANDARD 60
|
||||
* B0: POWER_ON
|
||||
* B1: RUN
|
||||
* B2: pzCount
|
||||
* B3: allarme
|
||||
* B4: manuale
|
||||
* B5: slowTC
|
||||
* B6: WarmUpCoolDown
|
||||
* B7: EmergArmata
|
||||
*
|
||||
----------------------------------------------------- */
|
||||
|
||||
var MemInt = new byte[2];
|
||||
|
||||
int byteSignals = 0;
|
||||
// bit 0 (poweron) imposto a 1 SE connected...
|
||||
if (currPLC.Connected)
|
||||
{
|
||||
byteSignals += (1 << 0);
|
||||
}
|
||||
// se ho qualcosa nella holding register...
|
||||
if (HoldingRegisterLUT != null && HoldingRegisterLUT.Count > 0)
|
||||
{
|
||||
// se emergenza NON premuta (triggered) indico OK (armata...) FARE !!! togliere true
|
||||
//if (!EStopTriggered)
|
||||
if (true)
|
||||
{
|
||||
byteSignals += (1 << 7);
|
||||
}
|
||||
|
||||
// impiego controlli da setup IntConditions... processo dagli stati + gravi...
|
||||
if (AlarmState || hasAlarms())
|
||||
{
|
||||
byteSignals += (1 << 3);
|
||||
}
|
||||
else if (ManualState)
|
||||
{
|
||||
byteSignals += (1 << 4);
|
||||
}
|
||||
else if (WorkState)
|
||||
{
|
||||
byteSignals += (1 << 1);
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
lgInfo("HoldingRegisterLUT vuoto!");
|
||||
}
|
||||
|
||||
// salvo!
|
||||
B_input = byteSignals;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Effettua sync dati
|
||||
/// </summary>
|
||||
protected override void processDataSync()
|
||||
{
|
||||
// richiesta check autoODL
|
||||
processAutoOdl();
|
||||
// richiesta generazione quotidiana dossiers
|
||||
processAutoDossier();
|
||||
try
|
||||
{
|
||||
// effettua gestione import file...
|
||||
processFileImport();
|
||||
}
|
||||
catch (Exception exc)
|
||||
{
|
||||
lgError($"Eccezione in processFileImport{Environment.NewLine}{exc}");
|
||||
}
|
||||
}
|
||||
|
||||
#endregion Protected Methods
|
||||
}
|
||||
}
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user