Files
pruefwerk/docs/guide
Sharang ParnerkarandClaude Opus 5.5 0b13d56b92
CI / Check (push) Skipped
CI / Detect Changes (pull_request) Skipped
CI / Deploy Agent (pull_request) Skipped
CI / Deploy Dashboard (pull_request) Skipped
CI / Deploy Docs (pull_request) Skipped
CI / Deploy MCP (pull_request) Skipped
CI / Agent integration (pull_request) Successful in 4m1s
CI / Check (pull_request) Successful in 16m30s
feat(plc): a CODESYS script that exports PLCopen XML for Prüfwerk (#165)
Prüfwerk reads CODESYS control logic only from the PLCopen XML export
(decided: no parsing of the binary .project). Exporting by hand before
every upload or commit is easy to forget, so customers get a CODESYS
Script Engine script that does it, in the IDE or headless in CI:

- docs/public/downloads/codesys-export-plcopen.py, served with the docs:
  exports every top-level object with its children into one PLCopen XML
  file (projects.open / projects.primary, get_children, export_xml),
  creates the target folder, and exits with status 1 when the project is
  missing or the export holds no POU. IronPython 2.7 and Python 3.
- scripts/test_codesys_export.py runs it offline against a stand-in for
  the Script Engine's projects object; CI's Check job now runs the
  repository's offline script tests.
- guide/plc: "Exporting PLCopen XML automatically", with both ways to
  run it; guide/scanning points there from the native-project note.

Not yet run against a real CODESYS installation.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-04 11:27:58 +01:00
..