First implementation of an Emu.

TODO: Review motor names.
This commit is contained in:
Ferdi Franceschini
2015-03-10 14:13:11 +11:00
parent f72e20b120
commit a76f5d9143
15 changed files with 657 additions and 0 deletions

View 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
}