Alarms
6.5 Example program for program alarms
Diagnostics
84 Function Manual, 09/2016, A5E03735838-AD
The following steps are necessary for this example:
1. Define tags for signal acquisition
2. Create function block
3. Create program alarms
4. Call function block
5. Edit alarm text
Define tags for signal acquisition
The following table shows the tags that are used in this example. Define these tags in the
standard tag table. The standard tag table is available in the project tree under "PLC tags".
Table 6- 1 Tags for fill level alarms
max BOOL Tag for maximum fill level
If "max" = 1, the maximum fill level is exceeded.
min BOOL Tag for minimum fill level
If "min" = 1, the minimum fill level is undershot.
The figure below shows the standard tag table with the defined tags "max" and "min".
Figure 6-6 Define tags