Technical data
Configuring Messages
16.6 Translating and Editing Text Libraries
Programming with STEP 7
368 Manual, 05/2010, A5E02789666-01
16.6 Translating and Editing Text Libraries
16.6.1 User Text Libraries
A user text library lets you view text or text segments dynamically, depending on the associated
value. Here, the associated value provides the text library index for the current text. A placeholder
is entered at the position were the dynamic text is to be displayed.
You can create user libraries for a program in which you can enter text and select your own index.
The application will automatically check the index in the user library for uniqueness. All messages
available for this CPU can contain a cross-reference to a user text library.
The number of text libraries in a text library folder is unlimited. It is therefore possible, for example,
to use the same program for different controlling tasks and merely adapt the text libraries to
application requirements.
Caution
When you copy a message-type block that contains a cross-reference to a text library into another
program, you must include the corresponding text libraries, or create a new text library of the same
name or edit the cross-reference in the message text.
An index is always assigned by default when you create a text entry. When you enter a new line,
the application proposes the next free index as the default. Ambiguous indexes are not permitted in
text library and are rejected by the application.
16.6.2 Creating User Text Libraries
To create a user text library, proceed as follows:
1. In SIMATIC Manager, select the program or the subordinate object within the program for
which you want to create a user text library. In SIMATIC Manager, select the menu command
Insert > Text Library > Text Library Folder.
Result: The "Text Library" folder is created.
2. Now, select the "Text Library" folder. Select the menu command Insert > Text Library > User
Text Library and name the text library.
3. To open the new text library, select menu command Options > Text Libraries > User Text
Library
4. Now you can enter your text.
Note
An index is always assigned by default when you create a text entry. When you enter a new line, the
application proposes the next free index as the default. Ambiguous indexes are not permitted in text
library and are rejected by the application.