--- a/PLCControler.py Wed Apr 02 21:07:35 2014 +0200
+++ b/PLCControler.py Tue May 13 00:43:06 2014 +0200
@@ -2456,7 +2456,7 @@
var_type_obj.setcontent(derived_type)
return var_type_obj
- def AddEditedElementPouVar(self, tagname, var_type, name, location="", description=""):
+ def AddEditedElementPouVar(self, tagname, var_type, name,**args):
if self.Project is not None:
words = tagname.split("::")
if words[0] in ['P', 'T', 'A']:
@@ -2464,7 +2464,7 @@
if pou is not None:
pou.addpouLocalVar(
self.GetVarTypeObject(var_type),
- name, location, description)
+ name, **args)
def AddEditedElementPouExternalVar(self, tagname, var_type, name):
if self.Project is not None: