EasyManua.ls Logo

Siemens SIMATIC ET 200AL - Page 674

Siemens SIMATIC ET 200AL
1585 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
Alarms
6.5 Example program for program alarms
Diagnostics
Function Manual, 09/2016, A5E03735838-AD
89
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
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- 2 Tags for fill level alarms
Name
Data type
Description
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-11 Define tags
Create function block
To create a function block, follow these steps:
1. Open the "Program blocks" folder in the project tree.
2. Double-click "Add new block".
The "Add new block" dialog opens.

Table of Contents

Other manuals for Siemens SIMATIC ET 200AL

Related product manuals