Files
sics/site_ansto/instrument/rsd/config/plc/plc.tcl
Ferdi Franceschini 75ae6a9445 Don't create a plc object when in the simulated plc mode.
r2235 | ffr | 2007-11-06 14:48:13 +1100 (Tue, 06 Nov 2007) | 2 lines
2012-11-15 13:29:18 +11:00

9 lines
201 B
Tcl

set sim_mode [SplitReply [plc_simulation]]
if {$sim_mode == "false"} {
MakeAsyncQueue plc_chan SafetyPLC 137.157.204.65 30002
MakeSafetyPLC plc plc_chan 0
}
source $cfPath(plc)/plc_common_1.tcl