plcopen/types_enums.py
branchsearch_in_CTN
changeset 2524 c80b0d864475
parent 1953 5736d25bb393
child 2529 efb532295607
--- a/plcopen/types_enums.py	Fri Mar 15 14:11:49 2019 +0100
+++ b/plcopen/types_enums.py	Wed Mar 20 11:34:41 2019 +0100
@@ -117,6 +117,9 @@
 
 def GetElementType(tagname):
     words = tagname.split("::")
+    print("GetElementType",tagname, len(words))
+    if len(words) == 1:
+        return ITEM_CONFNODE
     return {
         "D": ITEM_DATATYPE,
         "P": ITEM_POU,