/// <summary>
        /// Generate XmlDocument to import manually into Tia Portal
        /// </summary>
        public XmlDocument GenerateManualImportXML()
        {
            XmlDocument doc = new XmlDocument();

            XElement tagTable = new XElement("Tagtable", new XAttribute("name", name));

            foreach (var o in robBase[0])   //Outputs
            {
                tagTable.Add(XmlParser.CreateTag(o.Symbolic, o.DataType, o.Comment, o.Address));
            }

            foreach (var i in robBase[1])   //Inputs
            {
                tagTable.Add(XmlParser.CreateTag(i.Symbolic, i.DataType, i.Comment, i.Address));
            }

            doc.Load(tagTable.CreateReader());
            XmlNode xmldecl = doc.CreateXmlDeclaration("1.0", "UTF-8", null);

            doc.PrependChild(xmldecl);
            return(doc);
        }