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