# HG changeset patch # User etisserant # Date 1188486354 -7200 # Node ID 11ca9ad9e3c3e852c29405ba9ed1d00fdc52a42c # Parent c798a68c556069b919d14d695356c6707280d397 Fixed ST generation bug with custom FB diff -r c798a68c5560 -r 11ca9ad9e3c3 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":