Inizio conf json x nuovi param MTC

This commit is contained in:
Samuele E. Locatelli
2020-02-26 12:17:21 +01:00
parent 89f5222a9a
commit 3be20eb0e8
4 changed files with 78 additions and 58 deletions
+66
View File
@@ -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
+7
View File
@@ -0,0 +1,7 @@
{
"paramsEndThresh": {
"PosAct": 50,
"PosTgt": 50,
"InvDDone": 50
}
}
+1 -1
View File
@@ -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
+4 -57
View File
@@ -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
}
}