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:
|
|
Now, if you change the formatting of the constants, the default will be accepted when the alarm is triggered again.
The 'yyyy/MM/dd' and 'HH:mm tt' specifications result in a rotated date and a time display without seconds in English style.
Milliseconds can be specified with "ms":