diff -r 5508af39d1f7 -r 34eff05909b0 PLCControler.py --- a/PLCControler.py Thu Sep 11 14:55:49 2008 +0200 +++ b/PLCControler.py Fri Sep 12 16:23:40 2008 +0200 @@ -1653,6 +1653,7 @@ else: infos["executionOrder"] = 0 infos["negated"] = instance.getnegated() + infos["edge"] = instance.getedge() infos["storage"] = instance.getstorage() infos["connectors"] = {"input":{},"output":{}} infos["connectors"]["input"]["position"] = instance.connectionPointIn.getrelPositionXY() @@ -2177,15 +2178,27 @@ if value == COIL_NORMAL: coil.setnegated(False) coil.setstorage("none") + coil.setedge("none") elif value == COIL_REVERSE: coil.setnegated(True) coil.setstorage("none") + coil.setedge("none") elif value == COIL_SET: coil.setnegated(False) coil.setstorage("set") + coil.setedge("none") elif value == COIL_RESET: coil.setnegated(False) coil.setstorage("reset") + coil.setedge("none") + elif value == COIL_RISING: + coil.setnegated(False) + coil.setstorage("none") + coil.setedge("rising") + elif value == COIL_FALLING: + coil.setnegated(False) + coil.setstorage("none") + coil.setedge("falling") elif param == "height": coil.setheight(value) elif param == "width":