diff --git a/site_ansto/instrument/bilby/config/plc/plc.tcl b/site_ansto/instrument/bilby/config/plc/plc.tcl new file mode 100644 index 00000000..739abdb7 --- /dev/null +++ b/site_ansto/instrument/bilby/config/plc/plc.tcl @@ -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 +