Siemens SINUMERIK 840D sl Commissioning Manual page 210

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

Advertisement

Configuring alarms
13.2 Configuring alarm and message texts via alarm text files
Registering an index text file
You still have to register your index text file so that the system knows your index texts during
the program runtime. The registration is made in the "slaesvcadapconf.xml" file.
1. Open the file "slaesvcadapconf.xml" already created for the alarm texts
/oem/sinumerik/hmi/cfg or /user/sinumerik/hmi/cfg directory.
2. Remove the lines "<!-- Start of comment" and "End of comment -->".
3. Enter the so-called identifier, e.g. <Identifier type="QString" value="OEM"/>. The index
identifier is always specified in pointed brackets next to the parameter specification in the
alarm text, e.g. "%1&lt;OEM&gt;".
4. Enter the BaseName of the index text file, e.g.
<BaseName type="QString" value="my_indextexts"/>.
5. Enter the context name that you selected, e.g.
<ContextName type="QString" value="my_context"/>.
6. You can also use several different indices. Then, in this case, a dedicated section must
be created for every index between the <IndexTexts> and </IndexTexts> tags. The tags
for these sections are called, e.g.
<OEM_IndexText_01>, <OEM_IndexText_02>, <OEM_IndexText_03>, etc.
The tags <IndexText_01> to <IndexText_99> are reserved for Siemens.
Example
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<!- Configuration of the Solutionline Alarm & Event Service Adapter ->
<CONFIGURATION>
...
</CONFIGURATION>
204
<!-- The following narrated part of the configuration is used only when
'Indexparameters' (e.g. '%1&lt;OEM&gt;') are used within OEM alarm texts. In
this case the value of the parameter is used as an index into an additional text
list to reference another text which is placed into the alarm text instead of
the original parameter value. -->
<IndexTexts>
<OEM_IndexText_01>
<Identifier type="QString" value="OEM"/>
<BaseName type="QString" value="my_indextexts"/>
<ContextName type="QString" value="my_context"/>
<MetaTextID type="QString" value="%ParamValue%"/>
</OEM_IndexText_01>
</IndexTexts>
Commissioning Manual, 03/2013, 6FC5397-1DP40-3BA1
SINUMERIK Operate (IM9)

Advertisement

Table of Contents
loading

This manual is also suitable for:

Sinumerik 840de sl

Table of Contents