Added PLC config

This commit is contained in:
Ferdi Franceschini
2014-02-03 23:14:37 +11:00
parent c3f5087ea4
commit baa28e41d4

View File

@ -0,0 +1,7 @@
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