diff --git a/IOB-WIN/DATA/CONF/IMI_50.ini b/IOB-WIN/DATA/CONF/IMI_50.ini new file mode 100644 index 00000000..c9566748 --- /dev/null +++ b/IOB-WIN/DATA/CONF/IMI_50.ini @@ -0,0 +1,66 @@ +;Configurazione IOB-WIN +[IOB] +;Macchina miscelazione Ossidi di Ferro Interclays +CNCTYPE=MTConnect +PING_MS_TIMEOUT=500 + +[MACHINE] +VENDOR=CMS +MODEL=WaterJet + +[CNC] +;IP=127.0.0.1 +;IP=192.168.139.100 +IP=172.28.30.50 +PORT=5000 + +[SERVER] +;MPIP=http://10.74.82.218 +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=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=TRUE +FORCE_DYN_DATA=TRUE + +; conf parametri memoria READ/WRITE +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 new file mode 100644 index 00000000..0a2aad1a --- /dev/null +++ b/IOB-WIN/DATA/CONF/IMI_50.json @@ -0,0 +1,60 @@ +{ + "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" + } + } +} \ No newline at end of file diff --git a/IOB-WIN/DATA/CONF/MAIN.ini b/IOB-WIN/DATA/CONF/MAIN.ini index b0476fec..470941b8 100644 --- a/IOB-WIN/DATA/CONF/MAIN.ini +++ b/IOB-WIN/DATA/CONF/MAIN.ini @@ -11,6 +11,8 @@ NAME=master ;MPIP=10.74.82.218 ; server interclays MPIP=10.0.0.233 +; server REMOSA +MPIP=192.168.0.110 MPURL=/MP/IO CMDREBO=/IOB/sendRebootGateway?GWIP= CMDIOB2CALL=/IOB/getIob2call?GWIP= @@ -45,11 +47,12 @@ CMDIOB2CALL=/IOB/getIob2call?GWIP= ; INTERCLAYS MISCELA ;STARTLIST=INTERCL_02 - +; IMI REMOSA +STARTLIST=IMI_50 ; SIMULAZIONE verso server ufficio ;STARTLIST=SIMUL_01,SIMUL_02,SIMUL_03,SIMUL_04 ;STARTLIST=SIMUL_01 -STARTLIST=TEST +;STARTLIST=TEST MAXCNC=10 \ No newline at end of file diff --git a/IOB-WIN/DATA/CONF/TEST.ini b/IOB-WIN/DATA/CONF/TEST.ini index 45683fd5..2cbccdcc 100644 --- a/IOB-WIN/DATA/CONF/TEST.ini +++ b/IOB-WIN/DATA/CONF/TEST.ini @@ -10,12 +10,13 @@ MODEL=WaterJet [CNC] ;IP=127.0.0.1 -IP=192.168.139.100 +;IP=192.168.139.100 +IP=172.28.30.50 PORT=5000 [SERVER] ;MPIP=http://10.74.82.218 -MPIP=http://172.28.30.50 +MPIP=http://192.168.0.110 MPURL=/MP/IO CMDBASE=/IOB/input/ CMDFLOG=/IOB/flog/ diff --git a/IOB-WIN/IOB-WIN.csproj b/IOB-WIN/IOB-WIN.csproj index 781c4630..eaf99f87 100644 --- a/IOB-WIN/IOB-WIN.csproj +++ b/IOB-WIN/IOB-WIN.csproj @@ -251,6 +251,12 @@ Always + + Always + + + Always + Always