From 79f5a2b7949d9fe240dd6322f4fc75caaea2921c Mon Sep 17 00:00:00 2001 From: Samuele Locatelli Date: Wed, 3 Nov 2021 10:58:12 +0100 Subject: [PATCH] Fix conf x Beckhoff --- IOB-WIN-NEXT/DATA/CONF/3023.ini | 11 +-- IOB-WIN-NEXT/DATA/CONF/3023.json | 118 +++++++++++++++++++++++++++++++ 2 files changed, 125 insertions(+), 4 deletions(-) create mode 100644 IOB-WIN-NEXT/DATA/CONF/3023.json diff --git a/IOB-WIN-NEXT/DATA/CONF/3023.ini b/IOB-WIN-NEXT/DATA/CONF/3023.ini index 0a90b3b0..9ba3cf1a 100644 --- a/IOB-WIN-NEXT/DATA/CONF/3023.ini +++ b/IOB-WIN-NEXT/DATA/CONF/3023.ini @@ -63,10 +63,13 @@ BLINK_FILT=0 ;;PZCAD_MODE=STD.D.6408.DW ;ENABLE_PZ_RESET=TRUE ;ENABLE_PZ_RESET_stopSetup=TRUE -;;gestione invio pezzi in blocco -;ENABLE_SEND_PZC_BLOCK=TRUE -;MIN_SEND_PZC_BLOCK=5 -;MAX_SEND_PZC_BLOCK=100 +;gestione invio pezzi in blocco +STATE_VAR=VarADS.StatoMacchina +ENABLE_SEND_PZC_BLOCK=TRUE +MIN_SEND_PZC_BLOCK=5 +MAX_SEND_PZC_BLOCK=100 +EARLY_CONNECT=FALSE +PARAM_CONF=3023.json [BRANCH] NAME=master \ No newline at end of file diff --git a/IOB-WIN-NEXT/DATA/CONF/3023.json b/IOB-WIN-NEXT/DATA/CONF/3023.json new file mode 100644 index 00000000..1db39681 --- /dev/null +++ b/IOB-WIN-NEXT/DATA/CONF/3023.json @@ -0,0 +1,118 @@ +{ + "mMapWrite": { + "setComm": { + "name": "setComm", + "description": "Commessa", + "tipoMem": "String", + "memAddr": "VarADS.NomeLancioRichiesto", + "index": 0, + "size": 0 + }, + "setArt": { + "name": "setArt", + "description": "Articolo", + "tipoMem": "String", + "memAddr": "VarADS.NomeDisegnoRichiesto", + "index": 0, + "size": 0 + }, + "setPzComm": { + "name": "setPzComm", + "description": "Qty", + "memAddr": "VarADS.nQuantitaRichiesta", + "tipoMem": "DInt", + "index": 0, + "size": 0 + } + }, + "mMapRead": { + //"StatoMacc": { + // "name": "StatoMacc", + // "description": "Stato Macchina", + // "memAddr": "VarADS.StatoMacchina", + // "tipoMem": "DInt", + // "index": 0, + // "size": 0, + // "func": "POINT", + // "period": 60, + // "factor": 1 + //}, + "CurrArt": { + "name": "CurrArt", + "description": "Articolo Corrente", + "memAddr": "VarADS.NomeDisegno", + "tipoMem": "String", + "index": 0, + "size": 0, + "func": "POINT", + "period": 60, + "factor": 1 + }, + "CurrComm": { + "name": "CurrComm", + "description": "Commessa Corrente", + "memAddr": "VarADS.NomeLancio", + "tipoMem": "String", + "index": 0, + "size": 0, + "func": "POINT", + "period": 60, + "factor": 1 + }, + "ContTotali": { + "name": "ContTotali", + "description": "Pezzi Totali", + "memAddr": "VarADS.TotaliLancio", + "tipoMem": "DInt", + "index": 0, + "size": 0, + "func": "POINT", + "period": 60, + "factor": 1 + }, + "ContBuoni": { + "name": "ContBuoni", + "description": "Pezzi Buoni", + "memAddr": "VarADS.BuoniLancio", + "tipoMem": "DInt", + "index": 0, + "size": 0, + "func": "POINT", + "period": 60, + "factor": 1 + }, + "ContScarti": { + "name": "ContScarti", + "description": "Pezzi Scarto", + "memAddr": "VarADS.ScartiLancio", + "tipoMem": "DInt", + "index": 0, + "size": 0, + "func": "POINT", + "period": 60, + "factor": 1 + }, + "ContGenerici": { + "name": "ContGenerici", + "description": "Pezzi Generici", + "memAddr": "VarADS.GenericiLancio", + "tipoMem": "DInt", + "index": 0, + "size": 0, + "func": "POINT", + "period": 60, + "factor": 1 + }, + "LastMess": { + "name": "LastMess", + "description": "Ultimo Messaggio", + "memAddr": "VarADS.MessaggioInterfaccia", + "tipoMem": "String", + "index": 0, + "size": 0, + "func": "POINT", + "period": 60, + "factor": 1 + } + } +} \ No newline at end of file