First implementation of an Emu.
TODO: Review motor names.
This commit is contained in:
35
site_ansto/instrument/emu/hostport_config.tcl
Normal file
35
site_ansto/instrument/emu/hostport_config.tcl
Normal file
@@ -0,0 +1,35 @@
|
||||
# MOTOR HOST AND PORT
|
||||
foreach {mc host port} {
|
||||
MC1 mc1-emu 1034
|
||||
MC2 mc2-emu 1034
|
||||
} {
|
||||
dict set MOTOR_HOSTPORT $mc HOST $host
|
||||
dict set MOTOR_HOSTPORT $mc PORT $port
|
||||
}
|
||||
|
||||
# BEAM MONITOR HOST AND PORT
|
||||
foreach {bm host port} {
|
||||
MONITOR_1 das1-emu 30000
|
||||
} {
|
||||
dict set MONITOR_HOSTPORT $bm HOST $host
|
||||
dict set MONITOR_HOSTPORT $bm PORT $port
|
||||
}
|
||||
|
||||
# HISTOGRAM SERVER HOST AND PORT
|
||||
# TODO HV control
|
||||
foreach {key host port} {
|
||||
HMM das1-emu.nbi.ansto.gov.au 8080
|
||||
HMSTAT das1-emu.nbi.ansto.gov.au 8081
|
||||
} {
|
||||
dict set HISTMEM_HOSTPORT $key HOST $host
|
||||
dict set HISTMEM_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
|
||||
}
|
||||
Reference in New Issue
Block a user