PLCGenerator.py
changeset 1863 46d9955e1101
parent 1862 c4ba411f8c89
child 1864 9e64afb38963
--- a/PLCGenerator.py	Tue Oct 10 14:01:46 2017 +0300
+++ b/PLCGenerator.py	Tue Oct 10 16:38:57 2017 +0300
@@ -1064,7 +1064,7 @@
                             if parameter in inout_variables:
                                 expression = self.ComputeExpression(body, connections, executionOrderId > 0, True)
                                 if expression is not None:
-                                    inout_variables[parameter] = value
+                                    inout_variables[parameter] = expression
                             else:
                                 expression = self.ComputeExpression(body, connections, executionOrderId > 0)
                             if expression is not None: