;Configurazione IOB-WIN
[IOB]
CNCTYPE=FANUC

[MACHINE]
VENDOR=GHIRINGHELLI
MODEL=GMG-M200

[CNC]
; START Tornio a Fantina SV20R
IP=192.168.0.91
PORT=8193
GETPRGNAME=true

[SERVER]
MPIP=http://192.168.1.7
MPURL=/MP/IO
CMDBASE=/IOB/input/
CMDFLOG=/IOB/flog/
CMDALIVE=/IOB
CMDENABLED=/IOB/enabled/
CMDADV1=?valore=
CMDREBO=/sendReboot.aspx?idxMacchina=

; giallo --> 15000.0
; richiesta interv operatore --> R15000.1 --> mandare in BLU!!! è richiesta intervento operatore...
; RO tot pezzi vita macchina D128 (DW, 4 byte)
; RO contapezzi D132 (DW, 4 byte)
; RW richiesta pezzi D136 (DW, 4 byte) --> occhio scrittura con bitconverter

[MEMORY]
; Red: Y91.3 | Yellow: R15000.0 | Green Y91.4  | emerg 8.4
;BIT0=CONN
BIT1=Y91.4
BIT2=PZCOUNT.D.132
;BIT2=STD.MACRO.10100
BIT3=Y91.3
; poichè leggo da 15000 --> R0.0 --> R15000.0
BIT4=R0.0
; BIT5=!8.4 --> emg armata= true, 0 = attiva mettere !8.4 (da verificare)
BIT6=currPrgName|O513/Y91.4

BIT7=X8.4
AREAD_START=128
AREAD_SIZE=12
AREAG_SIZE=48
;AREAG_SIZE=48
AREAR_START=15000
AREAR_SIZE=4
AREAX_START=0
AREAX_SIZE=40
AREAY_START=0
AREAY_SIZE=92
PAR_START=6711
PAR_SIZE=3

[BLINK]
;MAX_COUNTER_BLINK = 30
MAX_COUNTER_BLINK = 60
;bit0 = 0
;bit1 = 1
;bit2 = 0
;bit3 = 0
;bit4 = 0
;bit5 = 0
;bit6 = 0
;bit7 = 0
; da gestire rosso lampeggiante?
BLINK_FILT=2
;BLINK_FILT=16

[OPTPAR]
;PZCOUNT_MODE=STD|BIT
PZCOUNT_MODE=STD.D.132.DW
PZREQ_MODE=STD.D.136.DW
PZGTOT_MODE=STD.D.128.DW
;PZCAD_MODE=STD.D.6408.DW 
ENABLE_PZ_RESET=TRUE  
ENABLE_PZ_RESET_stopSetup=TRUE
ENABLE_PZ_REQ=TRUE
;gestione invio pezzi in blocco
ENABLE_SEND_PZC_BLOCK=TRUE
MIN_SEND_PZC_BLOCK=0
MAX_SEND_PZC_BLOCK=100
DISABLE_SEND_WDST=TRUE
; bit da scrivere come trace ad ogni check
;MEM_2_TRACE=|BIT3|BIT4|BIT5|
PARAM_CONF=3028.json
; test timing & errori
timerIntMs=30
MachSingleThread=true
MAX_ERR_CHECK=10
;WAIT_REC_MSEC=15000


[BRANCH]
NAME=master

; Tags manuali
[TAGS]
Customer=JETCO
HostOS=WIN
HostName=IOB-WIN-09
HostAddr=192.168.1.133
