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:
committed by
Douglas Clowes
parent
0cf9f1d35f
commit
a9617da982
@@ -1,5 +1,8 @@
|
||||
MakeAsyncQueue plc_chan SafetyPLC 137.157.204.65 30002
|
||||
MakeSafetyPLC plc plc_chan 0
|
||||
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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user