plc_preview_iec_xml_import
Preview PLCopen IEC XML imports into a local Sysmac Studio project transaction, showing POUs, variables, structures, enums, and LD rungs before any staging or PLC action.
Instructions
Preview PLCopen ST POUs, simple global variables, structures, unions, named DINT enumerations, fixed one-dimensional array aliases, nested DataType namespaces, and up to 1000 ordered LD rungs. Array aliases are expanded inline in variable and structure member types; they are not registered as named native DataTypes. Structures use Sysmac's automatic NJ member layout. PLCopen DataType namespaces are flattened into the selected native table's flat symbol scope; references to imported namespaced types are rewritten, and duplicate names after flattening are rejected. Each rung must be linear or have one two-path split/join, NO/NC contacts, and one standard final coil; multi-rung files require unique explicit evaluationOrder values. Nested branches, negated coils, complex LD, variable-length/multidimensional arrays, structured initial values, namespaced POUs, and namespace comments remain blocked. New data types must fit completely observed native DataType tables; pass data_type_table_id when the project has multiple tables. All edits stay in the local transaction; no staging or Sysmac action occurs.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| xml_path | Yes | ||
| schema_path | No | ||
| transaction_id | Yes | ||
| template_pou_ids | Yes | ||
| expected_revision | Yes | Project revision read before staging this change. | |
| data_type_table_id | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||