If call to GetPLCstatus can't be executed in PLC, then obtained status is disconnected. Status on "None" is not relevant anymore, and is replaced by Disconnected.
from __future__ import absolute_importfrom etherlab.etherlab import *from util.BitmapLibrary import AddBitmapFolderimport util.paths as pathsAddBitmapFolder(os.path.join(paths.AbsDir(__file__), "images"))