- Create a "Standard project" and select CODESYS Control Win V3 as the device.
- Define the target system by means of the Network scan.
- Insert an Alarm configuration in the device tree.
Here, the Error, Info and Warning alarm classes are created automatically, as well as the AlarmStorage object. In addition, another AlarmManagerTask is created.
Moreover, the AlarmManager library is added to the Library Manager:
Edit the PLC_PRG POU as follows:
- Insert a visualization in the device tree.
Then the Visualization Manager is inserted automatically with the TargetVisu and WebVisu visualization types.
In addition, another VISU_TASK is created.
- In the Visualization, set an element of type Alarm Table and configure the element as follows: