From 3be20eb0e827f91f7be0a66e6f626abaece8f3e6 Mon Sep 17 00:00:00 2001 From: "Samuele E. Locatelli" Date: Wed, 26 Feb 2020 12:17:21 +0100 Subject: [PATCH] Inizio conf json x nuovi param MTC --- IOB-WIN/DATA/CONF/GT573.ini | 66 +++++++++++++++++++++++++++++++++++ IOB-WIN/DATA/CONF/GT573.json | 7 ++++ IOB-WIN/DATA/CONF/IMI_50.ini | 2 +- IOB-WIN/DATA/CONF/IMI_50.json | 61 +++----------------------------- 4 files changed, 78 insertions(+), 58 deletions(-) create mode 100644 IOB-WIN/DATA/CONF/GT573.ini create mode 100644 IOB-WIN/DATA/CONF/GT573.json diff --git a/IOB-WIN/DATA/CONF/GT573.ini b/IOB-WIN/DATA/CONF/GT573.ini new file mode 100644 index 00000000..4fdcab54 --- /dev/null +++ b/IOB-WIN/DATA/CONF/GT573.ini @@ -0,0 +1,66 @@ +;Configurazione IOB-WIN +[IOB] +;Tornio Mitsubishi +CNCTYPE=MTConnect +PING_MS_TIMEOUT=500 + +[MACHINE] +VENDOR=Mitsubishi +MODEL=PowerCenterPro1000 + +[CNC] +IP=192.168.1.88 +PORT=5000 +GETPRGNAME=true + +[SERVER] +MPIP=http://192.168.1.64 +MPURL=/MP/IO +CMDBASE=/IOB/input/ +CMDFLOG=/IOB/flog/ +CMDALIVE=/IOB +CMDENABLED=/IOB/enabled/ +CMDADV1=?valore= +CMDREBO=/sendReboot.aspx?idxMacchina= + +[MEMORY] +ADDR_READ=DB9999.DBB0 +ADDR_WRITE=DB9999.DBB0 +SIZE_READ=0 +SIZE_WRITE=0 +;BIT0=CONN +;BIT1=DB60.DBB1 +;BIT2=PZCOUNT.STD.DB700.DBW22 +;BIT3=DB60.DBB3 +;BIT4=DB60.DBB4 + + +[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 +; attenzione memoria sempre base BYTE (1604 DW --> 6416...) +PZCOUNT_MODE=STD.DM20.2 +DISABLE_PZCOUNT=TRUE +ENABLE_DYN_DATA=FALSE +FORCE_DYN_DATA=TRUE +ENABLE_DATA_FILTER=TRUE +ENABLE_MTC_RESTART=TRUE + +; conf parametri memoria READ/WRITE +MTC_PARAM_CONF=GT573.json + +[BRANCH] +NAME=master \ No newline at end of file diff --git a/IOB-WIN/DATA/CONF/GT573.json b/IOB-WIN/DATA/CONF/GT573.json new file mode 100644 index 00000000..c9f29f48 --- /dev/null +++ b/IOB-WIN/DATA/CONF/GT573.json @@ -0,0 +1,7 @@ +{ + "paramsEndThresh": { + "PosAct": 50, + "PosTgt": 50, + "InvDDone": 50 + } +} \ No newline at end of file diff --git a/IOB-WIN/DATA/CONF/IMI_50.ini b/IOB-WIN/DATA/CONF/IMI_50.ini index ecb457e0..ee3ce625 100644 --- a/IOB-WIN/DATA/CONF/IMI_50.ini +++ b/IOB-WIN/DATA/CONF/IMI_50.ini @@ -62,7 +62,7 @@ ENABLE_DATA_FILTER=TRUE ENABLE_MTC_RESTART=TRUE ; conf parametri memoria READ/WRITE -PARAM_CONF=IMI_50.json +MTC_PARAM_CONF=IMI_50.json [BRANCH] NAME=master \ No newline at end of file diff --git a/IOB-WIN/DATA/CONF/IMI_50.json b/IOB-WIN/DATA/CONF/IMI_50.json index 0a2aad1a..c9f29f48 100644 --- a/IOB-WIN/DATA/CONF/IMI_50.json +++ b/IOB-WIN/DATA/CONF/IMI_50.json @@ -1,60 +1,7 @@ { - "mMapWrite": { - "kgRich": { - "name": "kgRich", - "description": "Pesatura Richiesta", - "memAddr": "D26", - "tipoMem": "Int", - "index": 26, - "size": 2, - "value": "0" - }, - "kgLotto": { - "name": "kgLotto", - "description": "Tot Lotto (kg)", - "memAddr": "D52", - "tipoMem": "Int", - "index": 52, - "size": 2, - "value": "0" - }, - "portata": { - "name": "portata", - "description": "Portata Ton/h", - "memAddr": "D50", - "tipoMem": "Int", - "index": 50, - "size": 1 - }, - "setComm": { - "name": "setComm", - "description": "Commessa", - "memAddr": "W0", - "tipoMem": "String", - "index": 0, - "size": 10 - } - }, - "mMapRead": { - "kgAct": { - "name": "kgAct", - "description": "Pesatura Rilevata", - "memAddr": "D20", - "tipoMem": "Int", - "index": 20, - "size": 2, - "period": 60, - "value": "0" - }, - "kgImp": { - "name": "kgImp", - "description": "Pesatura Impostata", - "memAddr": "D22", - "tipoMem": "Int", - "index": 22, - "size": 2, - "period": 60, - "value": "0" - } + "paramsEndThresh": { + "PosAct": 50, + "PosTgt": 50, + "InvDDone": 50 } } \ No newline at end of file