Example 2: Program Alarm With Associated Value - Siemens SIMATIC ET 200AL System Manual

Distributed i/o system
Hide thumbs Also See for SIMATIC ET 200AL:
Table of Contents

Advertisement

Alarms
6.5 Example program for program alarms
Edit alarm text
To edit the alarm text, follow these steps:
1. Double-click "PLC supervisions & alarms" in the project tree. Select the "Alarms" tab. The
alarm editor opens.
2. Select the type alarm for the maximum fill level.
3. Enter the alarm text for the maximum fill level in the "Alarm text" column.
4. Select the type alarm for the minimum fill level.
5. Enter the alarm text for the minimum fill level in the "Alarm text" column.
Figure 6-10
Edit alarm text
Result: You have created the alarm texts for both type alarms.
Additional information
You can learn how to create multilingual texts under "Multilingual alarms" in the section
Editing alarms in the alarm editor (Page 78).
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.
88
Function Manual, 09/2016, A5E03735838-AD
Diagnostics

Advertisement

Table of Contents
loading

Table of Contents