Alarm and message texts
12.4 Syntax for alarm text files
Manual
498
Commissioning Manual, 05/2008, 6FC5397–4CP10–4BA0
Display
This number defines the alarm display type:
0: Display in alarm line
1: Display in a dialog box
Help ID
The default assignment "0" means: The help file supplied by Siemens provides a detailed
description of the alarm.
A value between 1 and 9 uses an assignment entry in the MBDDE.INI file to refer to a help
file created by the user. Refer also to Chapter "Setting Alarm Log Properties" (Page 500),
Context Help Section.
Text or alarm number
The associated text is given in inverted commas with the position parameters.
●
Characters " and # must not be used in alarm texts.
The % character is reserved for displaying parameters.
●
If an existing text is to be used, this can be done with a reference to the corresponding
alarm. 5-digit alarm number instead of "text".
●
The alarm file can contain comment lines, these must start with "//". The maximum length
of the alarm text is 110 characters for a 2-line display. If the text is too long, it is truncated
and the symbol " * " is added to indicate missing text.
●
Parameter "%1": Channel number
Parameter "%2": Block number
Format of text file for PLC alarm texts
The ASCII file for PLC alarm texts has the following structure:
Table 12-4 Structure of text file for PLC alarm texts
Alarm no. Display
Help ID
Text
Text on MMC
510000
1
0
"Channel %K FDDIS all"
Channel 1 FDDIS all
600124
1
0
"Feed disable axis %A"
Feed disable axis 1
600224
1
0
600124
Feed disable axis 2
600324
1
0
600224
Feed disable axis 3
703210
1
1
"User Text"
User Text
...
703211
1
1
" User text%A ..."
User Text
Axis 1 ...
// Alarm text file for PLC alarm
References:
/FB/ Function Manual - Basic Functions; P3 Basic PLC Program