PLCControler.py
changeset 823 c6ed7b933617
parent 814 5743cbdff669
child 826 098f822ef308
equal deleted inserted replaced
822:050045c32d98 823:c6ed7b933617
  1466         if self.Project:
  1466         if self.Project:
  1467             name = ""
  1467             name = ""
  1468             if words[0] in ["P","T","A"]:
  1468             if words[0] in ["P","T","A"]:
  1469                 name = words[1]
  1469                 name = words[1]
  1470                 type = self.GetPouType(name, debug)
  1470                 type = self.GetPouType(name, debug)
  1471         if type == "function" or words[0] == "T":
  1471         if type == "function":
  1472             blocktypes = []
  1472             blocktypes = []
  1473             for category in BlockTypes + self.GetConfNodeBlockTypes():
  1473             for category in BlockTypes + self.GetConfNodeBlockTypes():
  1474                 cat = {"name" : category["name"], "list" : []}
  1474                 cat = {"name" : category["name"], "list" : []}
  1475                 for block in category["list"]:
  1475                 for block in category["list"]:
  1476                     if block["type"] == "function":
  1476                     if block["type"] == "function":