plc_generate_iec_xml
Generates IEC 61131-10 XML for ST or Ladder POUs and variables and validates it against a local XSD when available. Prepares import-ready PLC definitions without implying IDE import or build.
Instructions
Generate IEC 61131-10 ST or basic Ladder POUs and variables for import. Validate against a local XSD when available; never imply IDE import/build.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | ||
| pous | Yes | ||
| destination | Yes | ||
| schema_path | No | ||
| global_variables | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||