Siemens SINUMERIK 840DE sl Commissioning Manual page 299

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

Advertisement

<Alarm AlarmID="700002">
<MSGTEXT>my_oem_plc_alarms_context|700002/PLC/PMC</MSGTEXT>
<HMIPROPARAMDESCR2>%1I0%1I2%1Y4</HMIPROPARAMDESCR2>
</Alarm>
<!-- Alarm 700003 with four parameters: BYTE -> WORD -> 32-bit INTEGER -> BYTE -->
<Alarm AlarmID="700003">
<MSGTEXT>my_oem_plc_alarms_context|700003/PLC/PMC</MSGTEXT>
<HMIPROPARAMDESCR2>%1Y0%1W1%1D3%1Y7</HMIPROPARAMDESCR2>
</Alarm>
</Alarms>
</Source>
</Sources>
</SlAeAlarmAttributes>
13.4.2
Definition of the language-dependent formatting
Format statement
The format statement is part of the alarm text and is used as a placeholder for a parameters
to be displayed.
Syntax
The following syntax applies for the format statement:
<Format directive> ::= @ <No. of the parameter description><Format specification> @
%[i]x
%[i]u
%[i]d
%[i]b
%[i][.y]f
If the optional digit specification i is not specified, then only the number of digits is used required
to completely display the number. The same applies when the number of digits specified by i
is not sufficient to completely display the number including sign, i.e. i is then ignored.
The number contained in the format statement does not relate to the position of the associated
value in the alarm PDU, but to the position of the parameter description in the parameter
statement. Any number of format statements can be present in an alarm text.
SINUMERIK Operate (IM9)
Commissioning Manual, 12/2017, 6FC5397-1DP40-6BA1
::= Hexadecimal number with i digits
::= Decimal number without sign with i digits
::= Decimal number with sign with i digits (incl. sign)
::= Binary number with i digits
::= Fixed-point number: Signed value of the form [-]xxx.yyyy, where i
specifies the total number of digits including sign and decimal point
and y specifies the number of digits after the decimal point. Missing
digits both before and after the decimal point are filled with 0. If there
are more places after the decimal point than permitted by y, this is
rounded off.
Configuring alarms
13.4 PLC alarms with parameters
285

Advertisement

Table of Contents
loading

This manual is also suitable for:

Sinumerik 840d sl

Table of Contents