beremiz
Clone
Summary
Browse
Changes
Graph
PLCObject : Ensure that PreStart is executed before starting PLC. Also, make sure that python thread doesn't enter in a start/stop loop when ordered to stop.
2021-02-23, Edouard Tisserant
971bb3503957
PLCObject : Ensure that PreStart is executed before starting PLC. Also, make sure that python thread doesn't enter in a start/stop loop when ordered to stop.
from __future__ import absolute_import
from etherlab.etherlab import *
from util.BitmapLibrary import AddBitmapFolder
import util.paths as paths
AddBitmapFolder(os.path.join(paths.AbsDir(__file__), "images"))