Fix error about missing attribute 'timeout' that happens sometimes during compilation
The fix [1476:49f1763a5613] of the problem with following trace was wrong.
Traceback (most recent call last):
File "./Beremiz.py", line 1229, in run_with_except_hook
run_old(*args, **kw)
File
"/home/developer/WorkData/PLC/beremiz/beremiz/util/ProcessLogger.py",
line 68, in run
self.endcallback(self.Proc.pid, err)
File
"/home/developer/WorkData/PLC/beremiz/beremiz/util/ProcessLogger.py",
line 169, in finish
if self.timeout: self.timeout.cancel()
AttributeError: ProcessLogger instance has no attribute 'timeout'
The problem was that compilation process was finished before the timeout attribute is set.
Now timeout is set before launcing of compilation process.
IEC 61131-3
===========
IEC-61131 is a normative document provided by the standards organization IEC
(International Electrotechnical Commission) and describing a standard for
implementing programmable controllers.
The part 3 of this document (commonly named IEC 61131-3) specifies syntax and
semantics for programming language for programmable controllers. Beremiz
implements all the languages described in this document.
http://www.iec.eu
PLCopen TC6
===========
PLCopen is a vendor- and product-independent worldwide association defining
international standards for various topics related to control programming.
For this purpose, PLCopen has 6 technical committees.
The goal of the sixth committee (TC6) is to define a standard file format,
based on XML, for exchanging programmables controllers programmed using
IEC 61131-3 languages. Beremiz uses this file format for saving the PLC
programs of projects.
http://www.plcopen.org