--- a/Beremiz_service.py Wed Dec 07 19:25:58 2016 +0300 +++ b/Beremiz_service.py Wed Dec 07 19:28:13 2016 +0300 @@ -445,6 +445,7 @@ if self.plcobj.GetPLCstatus()[0] != "Empty": if self.autostart : self.plcobj.StartPLC() + self.plcobj.StatusChange() sys.stdout.flush()