Logger Tag Type Properties: Conditions Tab

The Conditions tab for the logger tag properties folder consists of the attributes used to identify the tag whose value should be recorded and the logging mode to use when logging the tag's data. The logging mode can be a time period or for whenever the monitored tag's value changes.

(Click title to expand text)

Log Data From

The Log Data From property indicates the name of the tag whose values will be recorded by this logger tag.

The Log Data From field can be used to associate this tag with a new or existing tag using the … button. The … button opens the Tag Browser, which displays only the existing tags for your application, and enables you to create a new tag using its New button. (Information on using the Tag Browser can be found in Tag Browser).

The Log Data From field can be cleared using the X button to its right.

Right-clicking the name of the tag that has been selected in the Log Data From field opens the tag properties folder for the selected tag.

Log On Change As Well As Time

The Log On Change As Well As Time checkbox enables you to specify whether the data for the specified tag will be recorded to the logger's .DAT file according to a specified time period alone, or also when the value of the tag being monitored changes.

If the Log On Change As Well As Time checkbox is selected, data will be logged to the .DAT file every time period as defined in the Interval property on this logger's Log Rate tab (see Logger Tag Type Properties: Log Rate Tab), as well as when the value of the tag being monitored changes.

Enable

The Enable field allows you to enable or disable the logging of tag data by this logger using a constant value (either a 0, or a 1), an expression, or the value of a second tag.

If the Constant checkbox beneath the Enable field is selected:

•    Enter a 1 to enable the logging of the data for the tag being monitored.

•    Enter a 0 to disable the logging of the data for the tag being monitored.

Any expression or tag that returns either a 0 or 1 (or non-zero) can also be used. Please see Constant, Expression or Tag for help selecting which option to use.

Note: In an Excel spreadsheet, this value must always be entered as a text value to avoid ODBC problems mixing numbers and text in the same column. To do this, type the apostrophe character (') before typing the number.