πŸ”· PLCOpen XML – Export and import with Selmo

Inputs – What is done – Outputs


πŸ”Ή 1. Inputs – What is needed?

Category
Description

Fully defined Selmo model

Logic and system layer fully modeled (incl. zones, bit control, sequences, parameters, safety functions)

Project structure / target architecture

Target system defined (e.g. Siemens TIA Portal, Codesys, Beckhoff) with names, folder structure, PLC naming

PLC interface specifications

Specifications for PLC configuration (e.g. instance names, global/local, signal structure)

HMI binding (optional)

Optional: Mapping of signals, buttons and states for the HMI

Import project (only for re-import)

XML file from PLC tool for re-import (e.g. commissioning data, extensions)


πŸ”Ή 2. What is done? (Activities during export/import)

Step
Description

Generate PLCOpen XML export

The complete model is output as a standards-compliant .xmlfile

Generate structure

Automatic structuring into instances, function blocks, variables, types

Check naming & mapping

Validation of names, data types, paths, compatibility with the target PLC

Import into PLC environment

XML is imported into the PLC tool (e.g. Codesys, TIA Portal), where the following are created automatically:

β†’ Programs, variables, logic structure

Re-import XML (optional)

If changes are made in the PLC, the project can be exported as XML and read back into Selmo Studio (e.g. diagnostic optimization, signal additions)


πŸ”Ή 3. Outputs – What is the result?

Result
Description

βœ… PLCOpen-compliant XML file

Complete machine logic as a structured export

βœ… Automated control structure

Programs, blocks, variables automatically created in the target system

βœ… Reduced programming effort

No manual code creation required – model = code

βœ… Model ↔ PLC synchronization

Re-import and comparison possible, changes traceable

βœ… Error prevention through model fidelity

Deviations between planning and control are minimized

βœ… Basis for HMI, diagnostics, commissioning

Unified data basis for all further steps in the project lifecycle

Last updated

Was this helpful?