Added PLC config
This commit is contained in:
7
site_ansto/instrument/bilby/config/plc/plc.tcl
Normal file
7
site_ansto/instrument/bilby/config/plc/plc.tcl
Normal 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
|
||||||
|
|
Reference in New Issue
Block a user