--- a/PLCGenerator.py Sat Aug 19 21:06:54 2017 +0300
+++ b/PLCGenerator.py Mon Aug 21 21:55:18 2017 +0300
@@ -85,18 +85,18 @@
else:
return mylist
-#-------------------------------------------------------------------------------
+# -------------------------------------------------------------------------------
# Specific exception for PLC generating errors
-#-------------------------------------------------------------------------------
+# -------------------------------------------------------------------------------
class PLCGenException(Exception):
pass
-#-------------------------------------------------------------------------------
+# -------------------------------------------------------------------------------
# Generator of PLC program
-#-------------------------------------------------------------------------------
+# -------------------------------------------------------------------------------
class ProgramGenerator:
@@ -480,9 +480,9 @@
return self.Program
-#-------------------------------------------------------------------------------
+# -------------------------------------------------------------------------------
# Generator of POU programs
-#-------------------------------------------------------------------------------
+# -------------------------------------------------------------------------------
[ConnectorClass, ContinuationClass, ActionBlockClass] = [
PLCOpenParser.GetElementClass(instance_name, "commonObjects")