Siemens SINUMERIK 840DE sl Commissioning Manual page 277

Basesoftware and operating software
Hide thumbs Also See for SINUMERIK 840DE sl:
Table of Contents

Advertisement

13.2.3
Creating part program message texts
Message texts from the part program
In order to output message texts from the part program, use the MSG instruction in the part
program. The message texts are referenced via the number after the "$ character, e.g.
MSG("$4711"). You can configure channel-specific message texts for each NC channel.
Creating message texts
Procedure:
1. You can copy a sample message text file "oem_pp_messages_eng.ts" from the following
directory: /siemens/sinumerik/hmi/template/lng
2. Save or create the file in the /oem/sinumerik/hmi/lng or
/user/sinumerik/hmi/lng directory. Create a separate file for each country language that is
supported.
3. Assign a unique name to the file, e.g. "my_msgs_eng.ts". You can freely select the file
names with the exception of the language code and the extension.
The file name always ends with the language code of the particular language and always
has the ".ts" extension. For instance, "my_msgs_deu.ts" for German or "my_msgs_eng.ts"
for English.
4. Open the "oem_msgs_eng.ts" file and in the <name> tag enter the "partprogmsg01"
character string. This is the default for the part program message texts from all channels.
5. For each message text, a separate area must be inserted between the <message> and </
message> tags.
6. The <source> tag contains the number from the MSG command in the part program.
7. The <translation> tag contains the message text.
Example
<!DOCTYPE TS>
<TS>
<context>
</context>
</TS>
SINUMERIK Operate (IM9)
Commissioning Manual, 12/2017, 6FC5397-1DP40-6BA1
<name>partprogmsg01</name>
<message>
<source>4711</source>
<translation>part program message No. 4711</translation
</message>
13.2 Configuring alarm and message texts via alarm text files
Configuring alarms
263

Advertisement

Table of Contents
loading

This manual is also suitable for:

Sinumerik 840d sl

Table of Contents