Handle simulated PLC
r2486 | dcl | 2008-04-24 12:11:51 +1000 (Thu, 24 Apr 2008) | 2 lines
This commit is contained in:
@@ -1,5 +1,8 @@
|
|||||||
MakeAsyncQueue plc_chan SafetyPLC 137.157.204.65 30002
|
set sim_mode [SplitReply [plc_simulation]]
|
||||||
MakeSafetyPLC plc plc_chan 0
|
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
|
source $cfPath(plc)/plc_common_1.tcl
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user