1. Home
  2. Docs
  3. The WebApp
  4. Used Alarms
  5. Syntax of the Used Alarms file

Syntax of the Used Alarms file

The used alarms file can have two kind. One for store the message numbers (1, 3, 18, 37,…) and one the store the variable names (WRN_Hyraulic_MCB, ARA_SafeStop_Active,…).

Important for both kinds of files is, that is textfile with the file ending “.txt” and the structure follows the guidelines notes in the next lines.

Message numbers

As it is a textfile it is very easy to explain. The first two lines has to be:

#PLC-ALARM.com UsedAlarmList
#version 1.0

After that the information block is on it’s turn. It starts with the #information and ends with #endinformation. In this lines between that keywords you can place information to identify the time or place of creating. This lines are also shown in the PLC-Alarm.App after uploading the file.

The last block, of course is the block with the alarm numbers. It starts with #alarmlist and ends with #endalarmlist. In between this keywords the numbers are identified as used. Don’t forget the line break after every number.

Here is an example:

#PLC-ALARM.com UsedAlarmList
#version 1.0

#information
Project 1234 
2022-04-25
Preliminary Workshop Test 
#endinformation

#alarmlist
51
25
42
18
37
#endalarmlist

Variable names

The implementation of the feature is in beta mode. Contact us to get early access.

Thanks for inconvenience.

How can we help?