# HG changeset patch # User etisserant # Date 1190302707 -7200 # Node ID 4e3f5b320bc31b1ea84b087a8b8a1d398312b35b # Parent 2b18a72dcaf07a5f45caa9712c3c74414e3cd478 fixed code gen crash when using own FB/F in FBD diff -r 2b18a72dcaf0 -r 4e3f5b320bc3 PLCControler.py --- a/PLCControler.py Wed Sep 19 17:23:15 2007 +0200 +++ b/PLCControler.py Thu Sep 20 17:38:27 2007 +0200 @@ -843,7 +843,7 @@ if pou_type != "program": block_infos = {"name" : pou_name, "type" : pou_type, "extensible" : False, "inputs" : [], "outputs" : [], "comment" : "", - "generate" : generate_block} + "generate" : generate_block, "initialise" : initialise_block } if pou.getInterface(): for type, varlist in pou.getVars(): if type == "InOut":