Tags and the Project Database Note: IWS saves Alarm messages with the Translation Enabled attribute enabled in a file called Alarm.TXT located in your project's \DATABASE\ directory. • Off checkbox: Click (enable) to generate an alarm message always when the tag value is zero. • On checkbox: Click (enable) to generate an alarm message always when the tag value is one. • Changed checkbox: Click (enable) to generate an alarm message always when the tag value changes. • Text value pane: Use the Off , On , and Ack fields to configure mnemonics (for example, Closed or Open ) for the Off , On , and Ack alarm states (Boolean tags only).
During runtime, the Alarm Control object will display this text in the Value column of the alarm message. You can also access this text using the tag fields . Note: If you do not configure a mnemonic, the Alarm Control object displays the tag value ( 0 or 1 ) in the Value column. Using Tag Properties: History Use the Tag Properties dialog to view the history for a selected tag. IWS disables this command if there are open trend worksheets. Before using this dialog, you should have already created the trend groups. Note: History does not support string-type tags. See Recipes folder for information about storing string values.
Integer and Real Type History From the Tag Properties dialog, enable history for integer and real-type tags as follows: • History Enabled checkbox: Click (check) to enable storage of the selected tag value samples. • Group Number field: Specify the group number to which this tag is associated. • Log Dead Band field: Specify a value sample taken when the variation value is equal to, or greater than, the Log Dead Band . Boolean Type History From the Tag Properties dialog, enable history for Boolean-type tags as follows: • History Enabled checkbox: Click (check) to enable storage of the selected tag value samples. • Group Number field: Specify the group number to which this tag is associated.
List of Tag Properties Tag properties (also known as "tag fields") are metadata attached to each tag in the database. Most of these properties can be set using the Tag Properties dialog, which you can open by clicking the Tag Properties button on the Tag Properties toolbar. To access a tag property during runtime, use the following syntax (without spaces) anywhere that you would normally specify a tag: tag_name -> property_name You can access the following tag properties during runtime: InduSoft Web Studio Page 121 Tag Property Description R or R/ W Data Type Available on Data Type… Retain Bool Int Real Str Name The name of the tag, as configured in the Project Tags database.
R String, up to 32 chars Y Y Y Y n/a MemberName The name of the class member, in a properly configured Class. NOTE: The syntax must be: Class.Member->MemberName Example: Tank.Lvl- >MemberName = Lvl R String, up to 32 chars Y Y Y Y n/a