Fixed ST generation bug with custom FB
authoretisserant
Thu, 30 Aug 2007 17:05:54 +0200
changeset 81 11ca9ad9e3c3
parent 80 c798a68c5560
child 82 119b62c73085
Fixed ST generation bug with custom FB
PLCControler.py
--- a/PLCControler.py	Mon Aug 27 17:37:50 2007 +0200
+++ b/PLCControler.py	Thu Aug 30 17:05:54 2007 +0200
@@ -842,7 +842,8 @@
                 pou_type = pou.pouType.getValue()
                 if pou_type != "program":
                     block_infos = {"name" : pou_name, "type" : pou_type, "extensible" : False,
-                                   "inputs" : [], "outputs" : [], "comment" : ""}
+                                   "inputs" : [], "outputs" : [], "comment" : "",
+                                   "generate" : generate_block}
                     if pou.getInterface():
                         for type, varlist in pou.getVars():
                             if type == "InOut":