-

Exporting and Importing Text Lists

You can export and import text lists to and from a csv file. This allows you to edit the text lists with a 3rd party tool and reuse the text lists in other PLCnext Engineer projects.

To export the text list entries entered in the 'Text List' editor to a comma separated csv file, click the button on the toolbar, specify a location and file name in the file open dialog, and click 'Save'. Alternatively, select the 'Export text list to CSV' command from the context menu of the text list in the COMPONENTS area.

Note
The delimiter (for example, comma or semicolon) used for the csv file is taken from the list separator setting defined in the Windows regional settings.

You can now edit the csv file in Excel or in any other text editor and then re-import the file. When editing the csv file, observe the following:

To import text list entries from a csv file back into your project, click the button on the toolbar and select the edited csv file in the 'Open' dialog. Alternatively, select 'File > Import Text List from CSV...' to import a text list as new list.

Note
When importing from a csv file, the start and end values of the value ranges are automatically set if the imported data does not contain start and end values.