Modifications to tag lists can also be made via external program with support for editing csv files.
Examples of these are:
• Libre Office (open the file as; separated, UTF-8 encoded and " as text separator)
• Open Office (open the file as; separated, UTF-8 encoded and " as text separator)
• Microsoft Excel
Information
Web Port automatically tries to determine which encoding and separator is used. This makes it possible to change character encoding to something other than UTF-8 and separator. However, if problems occur, the advice is to return to the standard that Web Port normally uses.
When tag lists are opened for editing via external program, the following columns are available:
Columns: | Description: |
Name | The tag's name defined by prefix and suffix. |
Unit | Indicates the IO-device that the tag is attached to |
Address | Technical address (varies depending on communication protocol) |
Data type | Data type read from the IO-device |
Rawmin | Minimum value read from IO-device (used for scaling) |
Rawmax | Maximum value read from IO-device (used for scaling) |
Engmin | Minimum allowed value in Web Port (used for scaling and limited input) |
Engmax | Maximum allowed value in Web Port (used for scaling and limited input) |
Unit | Indicates any unit for the tag (example: ° C, Pa, %) |
Format | Indicates the formatting in Web Port, for example the number of decimals. |
Description | Tag description, used in dialogs, alarm texts etc. (NOTE! Important) |
Alarm options | Any alarm settings. See chapter "Tag Settings->Alarm Options" |
Trend option settings | Any trend settings. See chapter "Tag Settings->Trend Options" |
Alarm options
Alarm management is automatically activated for tags that end with any of the tag suffixed defined as alarms in the naming convention. It is also possible – regardless of the tag suffix – to manually set a tag as an alarm tag, by clicking the checkbox Alarm tag on the tag in a tag list. By default, alarms are classified according to the global alarm settings. To change these settings, the following parameters can be adjusted via the alarm options column.
Parameter | Example |
To change the alarm criteria for a tag enter: | |
c: [criteria] |
example c:2 (alerts when tag has value 2) c:=2 (alerts when tag has value 2) c:>1 (alerts when tag is greater than 1) c:<3 (alerts when tag is less than 3) |
To change the alarm priority for a tag, enter: | |
p: [priority] | example p:1 (gives the tag alarm priority 1) |
To change the alarm delay for a tag, enter: | |
d: [delay] | example d:60 (delays the alarm for 60 seconds) |
To change the alarm area for a tag, enter: | |
a: [area] | example a:80253 (in this case a postal code) |
Indicates whether an alarm should be automatically acknowledged: | |
autoack:1 | example autoack:1 (The alarm is auto- acknowledged when it occurs) |
To indicate action for acknowledgment of a tag, enter: | |
ack: [event] | example ack:TAG=1 (Sets the tag TAG to 1 when the alarm is acknowledged) |
To indicate acknowledge type, enter: | |
ackmode:[event] | example ackmode:1 is Default and ackmode:2 is Two way |
To indicate action for resetting a tag, enter: | |
rst: [event] | example rst:TAG=1 (Sets the tag TAG to 1 when the alarm is reset) |
To set alternative alarm address for a tag: | |
addr: [address] | example addr:ADDRESS (Connects an alarm to another technical address than the tag itself) |
To set which page the alarm tag should be able to navigate to, this is indicated by: | |
page: [page] | example page:PAGENAME_WPP |
To combine these settings, the respective setting is separated with a comma: | |
c: 2, p: 1, d: 60 | (alarm when the tag has the value 2 with priority 1 and delay 60s) |
Trend options
Trending is automatically enabled on tags that end with any of the SUFFIXES defined in the trend standard. By default, tags trend according to global trend settings. To change these settings, the following parameters can be adjusted via the trend options column. It is also possible – regardless of the tag suffix – to manually set a tag as trend tag, by clicking the checkbox Trend tag on the tag in a tag list.
Parameter | Example |
To change the trend interval for a tag, enter: | |
i: [interval] | example i:600 (the tag trends with 10 minute intervals) |
To change the trend type for a tag, enter: | |
t: [trend type] | example t:0 (indicates periodic trend) t:1 (indicates trending at changed value) |
To enable validation for a tag, enter: | |
es: [validation] | example es:0 (validation function is disabled) es:1 (validation function is enabled) |
In order to combine these settings, the respective setting is separated by commas. | |
i: 600, t: 1 | tag trends at change as well as when 10 minutes have passed since last trend point. |
To set an alternative trend address for a tag, enter: | |
addr:[address] |
example: addr:ADDRESS (Connects trend to other technical address than the tag itself.) |