diff --git a/site_ansto/instrument/rsd/config/plc/plc.tcl b/site_ansto/instrument/rsd/config/plc/plc.tcl index 80ff9dfb..d7e9d32c 100644 --- a/site_ansto/instrument/rsd/config/plc/plc.tcl +++ b/site_ansto/instrument/rsd/config/plc/plc.tcl @@ -1,5 +1,8 @@ -MakeAsyncQueue plc_chan SafetyPLC 137.157.204.65 30002 -MakeSafetyPLC plc plc_chan 0 +set sim_mode [SplitReply [plc_simulation]] +if {$sim_mode == "false"} { + MakeAsyncQueue plc_chan SafetyPLC 137.157.204.65 30002 + MakeSafetyPLC plc plc_chan 0 +} source $cfPath(plc)/plc_common_1.tcl