Files
sics/site_ansto/instrument/bilby/config/plc/plc.tcl
2014-05-16 17:23:58 +10:00

8 lines
242 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