docs(plc): the TIA hardware export (AML) upload
CI / Check (push) Skipped
CI / Detect Changes (pull_request) Skipped
CI / Deploy MCP (pull_request) Skipped
CI / Agent integration (pull_request) Successful in 5m43s
CI / Deploy Agent (pull_request) Skipped
CI / Deploy Dashboard (pull_request) Skipped
CI / Deploy Docs (pull_request) Skipped
CI / Check (pull_request) Successful in 23m12s

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Q9inRcu428A2iNjDHPEAT9
This commit is contained in:
Sharang ParnerkarandClaude Opus 5.5 committed 2026-12-01 15:15:31 +01:00
1 parent b08e398b66
commit 9cf0e493ad
1 file changed
+30
+30
View File
@@ -244,6 +244,36 @@ The API takes `devices` on `POST /api/v1/targets` and `PATCH
naming it, and `GET /api/v1/devices/lookup?order_number=` what the advisories
know of an order number.
## Siemens TIA Portal hardware export (AML)
Without installing anything, a TIA Portal project's hardware reaches Prüfwerk as
TIA Portal's own hardware export:
1. In TIA Portal, select the station (or the project) in the project tree.
2. Right-click, **CAx-Daten exportieren** (*Export CAx data*). TIA Portal writes
an AutomationML file, `*.aml`.
3. On the PLC/SPS target, upload the file as a **PLC project**. A file named
`*.aml` is read as a hardware export whatever format is picked.
Each device item with a Siemens order number and firmware (CPUs, I/O modules,
drives, HMIs, switches) joins the target's controllers, named
`station / device`, and is matched against Siemens' advisories. Devices
without either (GSD devices of other vendors) are listed on the run as not
matched. A file that is not a hardware export is refused with `422` and a
`code` (`not_aml`, `no_devices`; `413 too_large` above 64 MiB). Exporting the
same station again under the same file name replaces it; stations exported
one by one stay side by side.
Exported devices show on the **Steuerungen** page with the export they come
from; they change with the next export, not there.
::: warning Checked against the format, not yet a real export
The reader follows AutomationML's "Automation Project Configuration"
recommendation (`TypeIdentifier`, `FirmwareVersion` on each device item).
Whether every TIA version writes both for every device is being checked
against real exports.
:::
## Siemens TIA Portal projects (TIA export)
A TIA Portal project reaches Prüfwerk as a **TIA export**: a zip that a TIA