Don't make plc object when in simulated mode.

r2248 | ffr | 2007-11-08 17:02:24 +1100 (Thu, 08 Nov 2007) | 2 lines
This commit is contained in:
Ferdi Franceschini
2007-11-08 17:02:24 +11:00
committed by Douglas Clowes
parent 0cf9f1d35f
commit a9617da982

View File

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