From OpenSCADAWiki
Jump to: navigation, search

Such concept of accounting the actual violations allows you to use the standard mechanisms of the messages processing:

  • Alarm-violation registration: SYS.message("alCategory", -3, "Parameter: alarm");
  • The alarm-violation removing: SYS.message("alCategory", 1, "Parameter: normal");
  • Creating a list of the actual (active) alarms by means of the primitives "Protocol" or "Document", with the negative level for all — "-1".