From 47d3d0a7e853560145d2e2c40cfae38c8c1636a3 Mon Sep 17 00:00:00 2001 From: Ferdi Franceschini Date: Mon, 25 Aug 2014 08:44:08 +1000 Subject: [PATCH] Pelican doesn't seem to have a PLC interface. --- site_ansto/instrument/pelican/config/plc/plc.tcl | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/site_ansto/instrument/pelican/config/plc/plc.tcl b/site_ansto/instrument/pelican/config/plc/plc.tcl index 10635f3f..3fd03f03 100644 --- a/site_ansto/instrument/pelican/config/plc/plc.tcl +++ b/site_ansto/instrument/pelican/config/plc/plc.tcl @@ -1,7 +1,11 @@ +#FIXME Does pelican have a PLC interface? +plc_simulation false + set sim_mode [SplitReply [plc_simulation]] + if {$sim_mode == "false"} { -# MakeAsyncQueue plc_chan SafetyPLC 137.157.204.79 31001 -# MakeSafetyPLC plc plc_chan 0 + MakeAsyncQueue plc_chan SafetyPLC IP? PORT? + MakeSafetyPLC plc plc_chan 0 } source $cfPath(plc)/plc_common_1.tcl