Skip to content

TIA Portal XML import for SymbolTable #682

@gijzelaerr

Description

@gijzelaerr

Add SymbolTable.from_tia_xml() to parse the XML that TIA Portal generates when exporting DB source.

TIA Portal can export DB definitions via right-click > "Generate source from blocks", producing XML with the full type hierarchy (field names, offsets, data types). Many users already have these files.

from s7 import SymbolTable

symbols = SymbolTable.from_tia_xml("DB1.xml")

This complements the existing CSV/JSON import and the planned live browse (#681).

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions