Skip to content

TIA Message TextList and TextListEntry

Within UP, users can generate a csv file containing a table with all messages and their corresponding translations. This file can be imported into Siemens TIA portal to be used as message text list.

Setting up the export folder

As a first step, create a new folder within your project, called, for example, genS7_Textlist. Make this folder an Actifsource target folder, and add to it the buildConfig "UPbuild__S7_TIA_MsgTextList". If you right-click on your folder and click generate Code, two new files named "TextList.csv" and "TextListEntry.csv" will be created. Both of them are needed for the import to Siemens. They are two individual sheets that will need to be added to an excel file.

TextList.csv is comparable to a configuration file that initialises all languages and contains the list name (visible in the TIA program later on) as well as comments made on the languageDefinitions.

TextListEntry.csv contains the messages and their translations. If there are messages without translations (or messages who were not translated to all languages), their regular simpleName will be used.

Manually making changes to these files is possible but not recommended, since TIA will only accept the file if it is in the exact format in which UP generates it.

Import in TIA

To import the message list, create an excel file, navigate to "Data" and click on "Import data from csv". Choose your TextList and TextListEntry files, edit the data to make your first row the header row and then import the data. It's important that your first sheet is the TextList sheet (it has to be named TextList) and the second sheet is the TextListEntry sheet. There may only be one TextList sheet in your file, but multiple TextListEntries are possible. There may not be a sheet with a different name.

Now head over to the TIA Portal. In your project, open up the PLC the messages belong to, open "PLC alarm text lists", click on "Import text lists" and select your excel file.