Files
sics/site_ansto/instrument/bilby/config/plc/plc.tcl
Ferdi Franceschini baa28e41d4 Added PLC config
2014-02-03 23:14:37 +11:00

8 lines
243 B
Tcl

set sim_mode [SplitReply [plc_simulation]]
if {$sim_mode == "false"} {
MakeAsyncQueue plc_chan SafetyPLC [dict get $::PLC_HOSTPORT HOST] [dict get $::PLC_HOSTPORT PORT]
MakeSafetyPLC plc plc_chan 0
}
source $cfPath(plc)/plc_common_1.tcl