System information
General Reference Guide Export Block Descriptors
RG-001-0-EN ver 1.5 eWON® - 20/03/2009 - ©ACT'L sa Page 184
8.3.10.3 Alarm type values
The table below lists the different values that the field AlType can have, depending on the type of threshold that has been stepped over by the
Tag value, depending on the configuration set in the Tag’s configuration page:
8.3.10.4 Writing Instant Values to the eWON
The instant values file can also be written to the eWON. The file must be written by FTP to the ftp root folder and must be written to the file.
All the Tags value present in the file will be used to change the corresponding Tag in the eWON. If a Tag is not found, then it will be ignored.
• Writing in binary format:
• The file format must comply exactly with the definition (see below) and all Tags are identified by their Tag ID.
• Writing in text format:
• When writing the instant value in text format, there are different possibilities to address the Tag:
• If a "TagName" column is present, then the Tags will be accessed by their name (even if a "TagId" column is present)
Example:
"TagId";"TagName";"Value";"AlStatus";"AlType"
1;"M1";10.000000;0;0
2;"M2";20.000000;0;0
If a "TagName" column is NOT present, the Tags will be accessed by their id:
"TagId";"Value";"AlStatus";"AlType"
1;10.000000;0;0
2;20.000000;0;0
WARNING:
Remember that the Tag Id is not an index, but a unique number that has been allocated to the Tag when created, and cannot be
reused unless the configuration is erased and a new configuration is created.
8.3.10.5 Binary file format
The file starts with a Header that can be represented by the following C structure:
struct InstantValueHeader
{
int Rev;
int RecSize; //Record size
int NbTag; //Number of Tags exported
int RecFlag; //Reserve (must be set to 0)
int Reserved2;
}
Alarm Type Alarm Type Value Alarm type explanations
NONE 0 The Tag value is inside of the limits beyond of which the alarm is triggered
HIGH 1
The Tag value exceeds the value entered in the Alarm Level High field from
the Tag configuration page
LOW 2
The Tag value is less than the value entered in the Alarm Level Low field
from the Tag configuration page
LEVEL 3
The Tag value matches the Boolean Alarm Level value defined in the Tag
configuration page
HIGH_HIGH 4
The Tag value exceeds the value entered in the Alarm Level HighHigh field
from the Tag configuration page
LOW_LOW 5
The Tag value is less than the value entered in the Alarm Level LowLow
field from the Tag configuration page
Table 168: inst_val.txt file - alarm type values