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

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
Diagnostics
Function Manual, 11/2019, A5E03735838-AF
6.5 Example program for program alarms
Alarms
89

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents