beremiz

Adding support for updating PLC status when stopping
import time,sys
def myprintfunc(arg):
print arg
sys.stdout.flush()
return arg