The following variables must be declared in a global variable list (GVL):
bPartsShortage : BOOL;
iFillLevel : INT;
bPart1Empty : BOOL;
Step |
Action |
---|---|
1 |
In the Tools tree, right-click the node and execute the command . Result: The dialog box opens. |
2 |
Enter a Name (for example,
Result: The alarm class |
3 |
In the
|
In the next steps, configure that the variable bPartsShortage gets the value TRUE when alarm messages are generated: |
|
4 |
In the Notification Actions section of the editor, double-click the Action column, select the option Variable from the list and press Enter. Result: The action is added and the options are activated. |
5 |
Deselect the options Confirm and Deactivate. (Keep the Activate option selected.) |
6 |
In the Variable section of the editor:
Result: The statement |
7 |
In the Display Options for Alarm Table / Alarm Banner section of the editor: In the Active row select from the Background Color the entry Red. |
8 |
In the Display Options for Alarm Table / Alarm Banner section of the editor: In the Waiting for confirmation row select from the Background Color the entry Yellow.
Result: All messages in the |