Added PLC_HOSTPORT dictionary. TODO set IP PORT

This commit is contained in:
Ferdi Franceschini
2014-02-03 23:14:20 +11:00
parent f14b2c0a82
commit c3f5087ea4
2 changed files with 22 additions and 20 deletions

View File

@ -20,6 +20,7 @@ foreach {bm host port} {
}
# HISTOGRAM SERVER HOST AND PORT
# TODO HV control
foreach {key host port} {
HMM das1-bilby.nbi.ansto.gov.au 8080
HMSTAT das1-bilby.nbi.ansto.gov.au 8081
@ -30,19 +31,20 @@ foreach {key host port} {
dict set HISTMEM_HOSTPORT $key PORT $port
}
# SPIN FLIPPER HOST AND PORT
foreach {key host port} {
ANSFR83B 137.157.202.71 4002
} {
dict set ACGEN_HOSTPORT $key HOST $host
dict set ACGEN_HOSTPORT $key PORT $port
}
# VELOCITY SELECTOR HOST AND PORT
# TODO
foreach {key host port} {
NVS40 137.157.202.73 10000
NVS43 137.157.202.74 10000
NVS IP 10000
} {
dict set VELSEL_HOSTPORT $key HOST $host
dict set VELSEL_HOSTPORT $key PORT $port
}
# Safety Interlock System
# TODO
foreach {host port} {
IP PORT
} {
dict set PLC_HOSTPORT HOST $host
dict set PLC_HOSTPORT PORT $port
}

View File

@ -32,19 +32,19 @@ foreach {key host port} {
dict set HISTMEM_HOSTPORT $key PORT $port
}
# SPIN FLIPPER HOST AND PORT
foreach {key host port} {
ANSFR83B localhost 64001
} {
dict set ACGEN_HOSTPORT $key HOST $host
dict set ACGEN_HOSTPORT $key PORT $port
}
# VELOCITY SELECTOR HOST AND PORT
foreach {key host port} {
NVS40 localhost 10000
NVS43 localhost 10000
NVS localhost 10000
} {
dict set VELSEL_HOSTPORT $key HOST $host
dict set VELSEL_HOSTPORT $key PORT $port
}
# Safety Interlock System
# TODO
foreach {host port} {
NONE NONE
} {
dict set PLC_HOSTPORT HOST $host
dict set PLC_HOSTPORT PORT $port
}