Each ICON can have four separate event data files. Each event file can record from 1 to 128 different events. An event is recorded when the low bit of the Status variable is a 1 (odd values). Each event record contains the date and time of the recording, the data value, the status value and the event number.
The file is circular. You may specify the length of the event file in records. The first time an event record is to be written, it is written to record 0. The next to record 1. This continues until all event records have been written. Now at the end of the next recording interval, the data in record 0 is overwritten. If the data is of long term importance it must be transferred from the ICON's event file to another file located on your main computer.
To configure event historical data files:
Parameter | Example | Description |
Create file: | Create | After setting or changing any of following
general or table parameters (or resizing the number of table
parameter entries) you must recreate the file.
You may delete all data records in an event file but retain all the general and table parameter configurations by setting the "Records" field to 0. Now make sure the "Create file" field is set to "No operation" and click the update button. Now set the "Create file" field to "Create" and click the update button again and all the data records will be deleted. |
Records: | 10000 | Enter number of records in file. |
Email 1: | 3 | Enter the index number for the first e-mail address. |
Email 2: | 5 | Enter the index number for the last e-mail address. |
Note: Set both email address indexes to 0 to disable the email function. If valid indexes are set, every time the ICON writes a new record of data to the event data file, this data is also sent to the email addresses configured for the range of indexes between Email 1 and Email 2. For example, entering "3" in Email 1 and "5" in Email 2 will send the same Email of event data to email addresses referenced by indexes under 3, 4 and 5. The actual Email addresses are configured as the table parameters under the "Internet Connections" selection in "System Parameter Config".
Table Parameters
Parameter | Example | Comment |
Event name: | greenhouse room 1 temperature alarm | Enter a description for the event. |
Decimal point: | 1 | Use the drop down list to select the number
of decimal places to be used in data display 0-5 or select "Digital 1"
or "Digital 2". If Digital 1 or 2 is selected then a a decimal position
of 0 is assumed.
For the Graph_bin object in the HMI, if Digital 1 or 2 is selected then a value of 0 will represent a logic 0 and a non zero value will represent a logic 1. For Digital 1 the first trace will toggle between 0 and 10% of full scale, the second between 20 and 30%, the third between 40 and 50%, the fourth between 60 and 70% and the fifth between 80 and 90%. Digital 2 works like digital 1 except that a logic 0 is at the bottom of the graph for all 5 traces. Digital 1 and Digital 2 allows easy creation of digital strip charts with up to five digital traces per graph.) |
Note: If you resize the table containing the event definitions you must recreate the file as described above under "General parameters"
Tip: You can determine how much
free disk space you have by going to the "File Transfer" tab and reading
the "Server's Available Disk Space:" value. Press the "Refresh" button
to ensure you have the latest value. You must not build a file bigger than
this number, and if you are going to be creating up to four periodic and
four event files you must allocate all files from this available disk space.
An event file takes up a little more than number_of_records X 14 bytes.
It is a "little more" because of the file header which includes record
pointers, description strings and decimal point positions.