Files
sics/site_ansto/instrument/emu/config/plc/plc.tcl
2015-03-12 10:21:15 +11: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