feat(tia): devices from a TIA AutomationML (CAx) export, no connector needed #1097

Open
opened 2026-12-01 13:17:45 +00:00 by sharang · 0 comments
Owner

Part of the TIA epic #1095. Priority 1 (Sharang, 2026-12-01): first customer path, no connector needed.

TIA Portal exports a station's hardware configuration itself: project tree → right-click the station → "CAx-Daten exportieren" → .aml (AutomationML). A customer uploads that file; Prüfwerk reads the device items and matches them against Siemens' advisories like the devices of a TIA export (#1090 / PR #1096).

  • New PlcFormat::TiaAml; the file is read on upload and refused with a code when it is not TIA's AML.
  • Device items with order number and firmware → the artifact's plc.devices (same model as #1096): SBOM, Siemens advisory matching, Steuerungen page. Modules (ET 200SP), drives (SINAMICS), HMIs and switches (SCALANCE) count as devices too, all Siemens 7-5-4 order numbers.
  • Items without order number or firmware (GSD devices, third-party) → the existing run note "nicht abgeglichen".
  • Position kept (station / rack / slot) as the device's label, so two identical modules stay apart.

Open, verify first: Siemens documents the AML export but not that every device item carries order number and firmware. First step after Sharang's TIA install: export our own demo project as AML and check. Fixtures: synthetic, modelled on that export (never a customer's file).

🤖 Generated with Claude Code

https://claude.ai/code/session_01Q9inRcu428A2iNjDHPEAT9

Part of the TIA epic #1095. **Priority 1** (Sharang, 2026-12-01): first customer path, no connector needed. TIA Portal exports a station's hardware configuration itself: project tree → right-click the station → "CAx-Daten exportieren" → `.aml` (AutomationML). A customer uploads that file; Prüfwerk reads the device items and matches them against Siemens' advisories like the devices of a TIA export (#1090 / PR #1096). - New `PlcFormat::TiaAml`; the file is read on upload and refused with a code when it is not TIA's AML. - Device items with order number and firmware → the artifact's `plc.devices` (same model as #1096): SBOM, Siemens advisory matching, Steuerungen page. Modules (ET 200SP), drives (SINAMICS), HMIs and switches (SCALANCE) count as devices too, all Siemens 7-5-4 order numbers. - Items without order number or firmware (GSD devices, third-party) → the existing run note "nicht abgeglichen". - Position kept (station / rack / slot) as the device's label, so two identical modules stay apart. **Open, verify first:** Siemens documents the AML export but not that every device item carries order number and firmware. First step after Sharang's TIA install: export our own demo project as AML and check. Fixtures: synthetic, modelled on that export (never a customer's file). 🤖 Generated with [Claude Code](https://claude.com/claude-code) https://claude.ai/code/session_01Q9inRcu428A2iNjDHPEAT9
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: platform/pruefwerk#1097