Configuring the HMI system
2.5 Configuring user alarms
HMI Advanced (IM4)
Commissioning Manual, 03/2009, 6FC5397-0DP10-3BA0
89
1.
The alarm text extension is inserted into the alarm text file (e.g. alp_gr.com) as follows:
700000 0 0 "Attention: %1<DUMMY> failed!"
The %1 parameter evaluates the first parameter transferred from the PLC and is linked to
the "dummy_gr.com" file with <DUMMY>. This was done during the previous steps (the
entry in MBDDE.INI).
2.
Calling the auxiliary value from the PLC via SFC17/18:
CALL SFC 18
SIG :=
ID :=
EV_ID :=
SD :=
RET_VAL:=
Parameter
Declaration Data type
Memory area
Description
SIG
INPUT
BOOL
I, Q, M, D, L
The signal triggering the message
ID
INPUT
WORD
I, Q, M, D, L
Data channel for messages:
W#16#EEEE
EV_ID
INPUT
DWORD
I, Q, M, D, L
Message number (not permitted: 0)
SD
INPUT
ANY
I, Q, M, D, T, C
Auxiliary value
•
Maximum length: 12 bytes
•
Only BOOL data types are
permitted (not permitted: bit
array), BYTE, CHAR, WORD, INT,
DWORD, DINT, REAL, DATE,
TOD, TIME, S5TIME,
DATE_AND_TIME
RET_VAL
OUTPUT
INT
I, Q, M, D, L
Error information
(Please take the exact structure of the SFC17/18 from the STEP 7 online help!)
Result
If the value "1" is transferred, the following message will be displayed:
700000 Attention: Valve 2 has failed!
Summary of Contents for SINUMERIK
Page 6: ...Preface Base software and HMI Advanced 6 Commissioning Manual 03 2009 6FC5397 0DP10 3BA0 ...
Page 96: ......
Page 562: ...Index Expanding the user interface Index 4 Commissioning Manual 11 2006 6FC5397 0DP10 0BA0 ...
Page 566: ...Table of contents Online Help HE1 4 Commissioning Manual 11 2006 6FC5397 0DP10 0BA0 ...
Page 598: ...Online Help HE1 Commissioning Manual 11 2006 6FC5397 0DP10 0BA0 36 ...