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).
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.
This complements the existing CSV/JSON import and the planned live browse (#681).