Dynamic Alarm Attributes

Dynamic Setpoints

You can configure alarms with dynamic setpoints inside of a tag definition. It is similar to configuring an alarm, however configuring an alarm with a dynamic setpoint requires additional tags to serve as these setpoints.

To configure dynamic setpoints on an alarm

  1. Double-click on the tag to edit it.
    The Tag Editor window is displayed.

  2. Select the Alarming tab and the alarm that you want to edit to associate a setpoint with.

  3. Find the Setpoint property, click on the binding icon next to it, and select a Tag or Expression.
    This binds the Setpoint Property to a different tag or an expression.

  4. Click OK.


Dynamic Disabling

Enabling based on Machine State

Allowing a dynamic condition to determine if an alarm is enabled or disabled is possible inside the alarm's properties.

To configure the alarm's enabled property

  1. Select a tag that has the alarm you want to configure.

  2. Access the alarm properties by double-clicking on the tag and selecting the alarming properties tag.

  3. Bind the enabled property to a boolean tag or an expression that evaluates a true or false condition.

  4. Click OK.
    Now the alarm will only evaluate based upon the condition of the tag or expression.

Enabling based on Time of Day

You can set alarms to automatically enable and disable at certain times of the day.

To enable the alarm dynamically

Alarms can be set to be enabled for part of the day and disabled for the remainder of the day.

  1. From the Tag Browser, select the tag on which you want to configure the alarm.

  2. Double-click on the tag, and in the Tag Editor window go to the Alarming section.

  3. Bind the enabled property to an expression that evaluates a true or false condition based upon the current time.
    For example, the following expression would return true between the hours of 5 and 12.

    dateExtract(now(0), "hour" >= 5 && dateExtract(now(0), "hour" <= 12
  4. Click OK.