Importing/Exporting Logic
When you choose to perform an export and import of rungs, any referenced tags, Add-On Instructions, User-defined Data Types, and project documentation are imported along with the rungs that reference them.
To import a rung into a ladder routine from a previously saved .L5X File:
- Position your cursor on the rung where you want to place the imported content.If you are in Insert mode, the content is positioned above the rung with the caret; if you are in Append mode, it is positioned below the rung with the caret.You may also select multiple rungs, if you wish to overwrite the selected rungs.
- From the right mouse menu, choose theImport Rungsoption.The Import Rungs dialog box appears.
- In the File name field, enter the name (and full path) of the .L5X file that contains the content you want to import.Displays the name of the current tag. If desired, you can rename this tag.You may need to navigate to the appropriate directory to find the file if you do not know its full name and path.
- If you wish to overwrite the selected rungs, click the Overwrite Selected Rungs check box.
- ClickImportto import the content.The Import Configuration dialog box appears.
- Make the appropriate configuration changes, according to how you would like the content to be imported into your current project.
- ClickOKto import rungs.If you are offline, the rungs are imported. If you are online, a dialog box displays in which you can choose how the rungs are to be imported.
- Select whether you want the rungs to be imported as Pending, Accepted, or Finalized Edits, then clickOK.
To export a rung in the project to an .L5X file:
- From within an open project, select the rungs you wish to export.
- Click the right mouse button and choose theExport Rungsoption.The Export dialog box appears.
- In the File name field, enter the name you want to use for the content you are exporting.This is the name of the .L5X file.
- ClickExportto export the content.
Provide Feedback