要求:项目打开时有文本列表或全局文本。
-
双击“GlobalTextList” 对象或“TextList” 对象类型。
物体打开。
-
单击“文本列表 导入/导出文本列表” 。
“Import/Export” 对话框将打开。
-
在“选择导出文件” ,单击
并选择目录和文件名。
例如
Text_lists_exported
-
选择“Export” 选项。
-
单击“OK” 关闭“Import/Export” 对话框。
CODESYS 将项目中所有文本列表的条目导出到文件中。表格中有一列包含文本列表名称。
示例
Text_lists_exported
文件的内容
TextList Id Default en_US Text_list_A A Information A Infrrmaiton A_en Text_list_A B Information B: OK Information B_en: OK Text_list_A C Information C Information C_en Text_list_A D Informaiton D Information D_en Text_list_A E Information E Infromation E_en Text_list_A F Information F Information F_en AlarmGroup 2 Warnung 2 AlarmGroup 1 Warnung 1 GlobalTextList Infomation B Information B_en GlobalTextList Information A Information A_en GlobalTextList Umschalten Switch GlobalTextList Zähler: %i Counter : %i