From baa28e41d40fa9482b814a1274ff1fd50a7ebd99 Mon Sep 17 00:00:00 2001 From: Ferdi Franceschini Date: Mon, 3 Feb 2014 23:14:37 +1100 Subject: [PATCH] Added PLC config --- site_ansto/instrument/bilby/config/plc/plc.tcl | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 site_ansto/instrument/bilby/config/plc/plc.tcl 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 +