08/2005 Starting Up HMI Embedded (IM2)
5 Creating In-House Alarm Texts
© Siemens AG, 2005. All rights reserved
SINUMERIK 840D sl/840D/840Di/810D HMI Installation and Start-Up Guide (IAM) – 08/2005 Edition
IM2/5-101
Note
The alarm number is output by the PLC via basic program module FC 10 (this
uses PLC system function SFC 52 to send alarms to the HMI). Supplementary
information is not supported.
However, the alarm number can also be transferred to the HMI by means of PLC
system function SFC 17, SFC 18 (ALARM S, ALARM SQ). The mechanisms are
used, for example, by the PDIAG configuring tool.
The alarm number displayed on the HMI is transferred via SFC parameter EV_ID.
The supplementary information for the alarm number is transferred via SFC
parameter SD.
Format of text file for cycle-alarm texts
Range of freely assignable texts
Table 5-3 Freely assignable range, e.g., for cycle alarm texts
Alarm number Display Help ID Text or alarm number
065100 1 0 "No D number %1 is
programmed"
065101 1 0 600100
065202 0 0 "Axis %2 in channel %1 is still
moving"
The alarm number, display and help ID are as described in the previous example.
Text or alarm number
The structure of the alarm text/number is the same as that described in the
previous example, apart from the parameter assignment:
Parameter "%1": Channel number
Parameter "%2": Block number
Indexed alarm texts
Indexed alarms can be used to display additional comments in the alarm line, e.g.,
an explanation for "action =%"
Table 5-4 Examples:
Alarm no. Display Help ID Text
010203 0 0 "Channel %1 NC Start without reference point
(Action=%2<ALNX>)"
016903 1 0 "Channel %1 Action=%2<ALNX> not permitted in
current status"
016912 0 0 "Channel %1 Action=%2<ALNX> only possible in
reset state"
References: /DA/ Diagnostics Guide