![]() TextList_A D Information D Information D_en TextList_A B Information B: Ok Information B_en: Ok ![]() TwinCAT imports the text list entries from the file into the corresponding text lists.Ĭontent of the file Text_lists_corrected.csv TextList Id Default en-us Under Choose file to compare or to import, click on and select a directory and a file name, e.g. Select the command Import/Export Text Lists in the Textlist menu or the context menu. The Textlist menu appears in the menu bar, and the text list opens in the editor. In the PLC project tree, double-click on an object of type Textlist or GlobalTextList. For an existing ID with different source text, the source text in the text list is overwritten with the source text contained in the file.Ī project with a text list or a global text list is open.For a new ID, TwinCAT complements the corresponding text list with a corresponding text list entry.TwinCAT accepts changes to the translations.TwinCAT ignores modifications that affect the ID or the source text.If the ID is unknown, TwinCAT does not create and new text list entries.During the import, TwinCAT treats the text list entries for the GlobalTextList and for dynamic text lists differently. There you can edit the text list entries outside TwinCAT and then re-import the file. You obtain such a file when you export the text lists of the project to a file. The other lines contain text list entries. TC3 User Interface documentation: Command Import/Export Text ListsĪn importable file is a file with the format.GlobalTextList Information H Information H_en GlobalTextList Information G Information G_en TextList_A C Information C Information C_en TextList_A B Information B Information B_en: Ok TextList_A A Information A Information A_en The directory, in which the export files are stored automatically, can be defined in the project properties.Ĭontent of the file Text_lists_exported TextList Id Default en-us You can use the Export All command to export the text list entries as a. The table contains a column with the text list name. TwinCAT exports the text list entries of all text lists within a project to a. Under Choose export file click on, select the directory and enter a file names, e.g. TC3 User Interface documentation: TextlistĪ project with a text list or a global text list is open.The directories, which provide text lists for the visualization, are specified in the Visualization category of the project properties. The translations are the basis for language selection and language switching in visualizations. In a text list or a global text list, you can translate a source text into any number of languages. An entry consists of an ID for identification, the source text and its translations. For example, a text field can be configured such that it outputs an error text with an error number.īoth types of text list contain a table with text entries. This allows you to display varying text in a visualization element at runtime. The text ID remains fixed.ĭynamic texts can be controlled via an IEC variable containing the text ID. Static texts are texts within the visualization, which can only change their language at runtime. ![]() TwinCAT distinguishes between static text, which is managed in the “GlobalTextList” object, and dynamic text, which is managed in objects of type “Textlist”. Text lists can be exported and imported, so that the texts can be compiled outside the current project. You can enter the texts in Unicode format, so that all languages and characters are available. Text lists are used for providing visualization texts in several languages.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |