Mechatronics Concept Designer > Assigning, changing, and controlling properties > Creating time-based and event-based behaviors > Export an operation to a PLCopen XML file and convert it to sequential function logic
Export an operation to a PLCopen XML file and convert it to sequential function logic
This example shows how to export an existing MCD operation to a PLCopen XML file, and then convert the operation to sequential function logic in SIMATIC.
Procedure
- On the Resource bar, in the Sequence Editor, right-click in the background and choose Export PLCopen XML.
- In the Export to group, click Browse and specify where to save the file, type a name for the file, and then click OK.
- (Optional) To make XML symbol names more descriptive, in the Setting group, select the Export with long symbol names check box.
- Click OK.
- Start SIMATIC.
- Create a new project.
- Specify a location and file name.
- In the left window, right-click the project name and do the following:
- Highlight Insert New Object.
- Select SIMATIC PC Station.
- Name the station your computer's name.
- Double-click Configuration.
- In the HW Config menu, select the runtime system from the library.
- Drag the runtime system into the station.
- Save and exit.
- Select External Source.
- In the Insert External Source dialog box, set the file type to MCD PLCOpenXML Chart and select the file you want to insert.
- Click Open.
- In the SIMATIC Manager window, in the right pane, right-click on the MCD data file and choose Compile.
- Return to the SIMATIC Manager.
- In the SIMATIC Manager window, in the right pane, right-click the sequential function logic file and choose Compile.
Results
Before you download the code to a real or virtual PLC, you can review the compiled code in the Blocks folder.
Related concepts
- Defining time-based and event-based behaviors
- Export PLCopen XML
Related tasks
- Create a time-based operation
- Create an event-based operation
- Select a curve during a simulation
- Pause a simulation on an event
- Convert an operation to sequential function logic
Source: https://docs.sw.siemens.com/en-US/doc/209349590/PL20250429951538534.mechatronics/xid463363 ยท retrieved 2026-07-07