;Configurazione IOB-WIN
[IOB]
;Centro di lavoro OpcUa Siemens SW
CNCTYPE=OpcUaSiemensSW
;CNCTYPE=OpcUa
PING_MS_TIMEOUT=500

[MACHINE]
VENDOR=SW Machines
MODEL=1169

[CNC]
IP=192.168.51.219
PORT=51210
GETPRGNAME=true

[SERVER] 
MPIP=http://192.168.51.77
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]
AUTO_CHANGE_ODL=false
CHANGE_ODL_MODE=PZCOUNT_RESET
; 1 = indica che la macchina sia multi --> allo scadere del contapezzo gestisce ANCHE il giro tavola sui bit relativi
IS_MULTI=1 
;elenco comma separated delle sub-machine (tipicamente tavole)
IOB_MULTI_CNAME=TAV_1,TAV_2
PZCOUNT_MODE=OPC-MULTI
ENABLE_PZ_RESET=TRUE
ENABLE_PZ_RESET_ENDPROD=TRUE
ENABLE_PZ_RESET_stopSetup=TRUE
DISABLE_PZCOUNT=FALSE
ENABLE_SEND_PZC_BLOCK=TRUE
MIN_SEND_PZC_BLOCK=0
MAX_SEND_PZC_BLOCK=100
MAX_TRY_PING=5
ENABLE_DYN_DATA=FALSE
FORCE_DYN_DATA=TRUE
ENABLE_DATA_FILTER=TRUE
ENABLE_CLI_RESTART=TRUE
SEND_PZCNT_MODE=DIRECT
;SEND_PZCNT_MODE=TASK
VETO_SIG_IN=false
VETO_QUEUE_IN=5
DISABLE_SEND_WDST=TRUE
; conf parametri memoria READ/WRITE
OPC_PARAM_CONF=2016.json
; clock base (da 10ms)
timerIntMs=50

[BRANCH]
NAME=master
