Creating Part Program Message Texts - Siemens SINUMERIK 840D sl Commissioning Manual

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

Advertisement

Restart SINUMERIK Operate
The files must still be converted into a binary format so that the alarm texts can be displayed
during the program runtime. This data is only converted during power up.
To do this, restart SINUMERIK Operate. In the same directory where the .ts files are located,
files with the same name are created with the ".qm" file extension.
The result of the conversion is written to the "alarmtext_conversion.log" or
"oem_text_conversion.log" file. Errors that occur during the conversion, such as syntax
errors in a parameter file, are also written to the file.
This file is saved in the /user/sinumerik/hmi/log directory.
Note
The conversion is only made if the .ts file is newer than the associated .qm file.
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
2. Save or create the file in the /oem/sinumerik/hmi/lng or
3. Assign a unique name to the file, e.g. "my_msgs_eng.ts". You can freely select the file
4. Open the "oem_msgs_eng.ts" file and in the <name> tag enter the "partprogmsg01"
5. For each message text, a separate area must be inserted between the <message> and
6. The <source> tag contains the number from the MSG command in the part program.
7. The <translation> tag contains the message text.
SINUMERIK Operate (IM9)
Commissioning Manual, 03/2013, 6FC5397-1DP40-3BA1
directory: /siemens/sinumerik/hmi/template/lng
/user/sinumerik/hmi/lng directory. Create a separate file for each country language that is
supported.
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.
character string. This is the default for the part program message texts from all channels.
</message> tags.
13.2 Configuring alarm and message texts via alarm text files
Configuring alarms
205

Advertisement

Table of Contents
loading

This manual is also suitable for:

Sinumerik 840de sl

Table of Contents