Alarms
6.5 Example program for program alarms
Diagnostics
Function Manual, 11/2019, A5E03735838-AF
89
6.5.3
Example 2: Program alarm with associated value
Introduction
In this example, you create a shared program alarm for the maximum and the minimum fill
level. The program alarm is given an associated value. The program alarm uses the
associated value to access a text list entry and outputs a separate alarm text for the
minimum and the maximum fill level.
How the example works
The program alarm is output if either the minimum fill level is undershot or the maximum fill
level is exceeded.
The associated value 1 of the "Program_Alarm" instruction is assigned the tag for the
maximum fill level. The associated value references a text list with the entries "0" and "1".
The following scenarios are possible for output of the alarm text:
●
Associated value is "0": The entry "0" of the text list with the alarm text for the undershot
fill level is output.
●
Associated value is "1": The entry "1" of the text list with the alarm text for the excessive
fill level is output.
Steps
The following steps are necessary for this example:
1.
Define tags for signal acquisition
2.
Create function block
3.
Create program alarm
4.
Call function block
5.
Create a text list
6.
Edit alarm text
Содержание SIMATIC ET 200AL
Страница 2: ......
Страница 143: ......
Страница 218: ......
Страница 250: ......
Страница 296: ......
Страница 337: ......
Страница 365: ......
Страница 392: ......
Страница 419: ......
Страница 451: ......
Страница 483: ......
Страница 597: ......
Страница 648: ......
Страница 702: ......
Страница 739: ......
Страница 781: ......
Страница 804: ......
Страница 828: ......
Страница 853: ......
Страница 880: ......
Страница 906: ......
Страница 996: ...Diagnostics ...
Страница 1121: ......
Страница 1565: ......