Creating rules based on data changes - Industrial IoT 5.0.2.0 | BACnet | Modbus | OPC Client | SNMP Manager

Industrial IoT Plugin Guide 5.0.2.0

Applies to
Industrial IoT 5.0.2.0 | BACnet | Modbus | OPC Client | SNMP Manager
Last updated
2023-03-20
Content type
Guides > Plugin and extension guides
Language
English
Product
Industrial IoT
Version
5.0

For a device or entity to automatically perform an action when the value of a data point changes, you can create a rule in Security Center.

Before you begin

  • Add your device.
  • Add data points to your devices and entities.

Procedure

  1. From the Config Tool home page, open the Plugins task.
  2. From the entity browser, select the Industrial IoT plugin role and click the Rules tab.
  3. In the Rules section, click Add a rule ().
  4. In the Information section, enter a name and description.
  5. In the Conditions section, select On data change from the Condition list and provide the following information:
    Select a source type
    Select whether the rule applies to a device, device type, entity, or entity type. Selecting a device or entity type means that the rule applies to all devices or entities that inherit the properties of that type.
    Select a source
    Based on the selected source type, select a specific device, device type, entity, or entity type to which the rule applies.
    Select a data point
    Select the data point that the rule applies to.
    Select an operator
    Select the operator and the value used to evaluate the data point.
    Always trigger
    If selected, the actions are executed each time the data point value changes and the condition involving the data point is true. If it is not selected, the actions are executed if the condition is true for the current data point value change and it was false for the previous data point value change.
  6. In the Actions section, select the action that you want to occur when the condition is met.
    The action can be one of the following:
    Raise an event
    Raise the custom event you select.
    Trigger an alarm
    Trigger the alarm you select.

    Select the Auto-acknowledge option if you want the system to automatically acknowledge the alarm when the condition that triggered the rule is no longer true.

    Change the state
    Change the state of the device to the state you select.
    Write on a data point
    Write a specified value to the data point you select.
  7. (Optional) To add more actions to the rule, click Add action () and configure the action.
  8. (Optional) To duplicate a rule, right-click on the rule and select Duplicate.
  9. Click Apply.

Results

The rule is enabled by default. To disable the rule, move the slider to OFF.

Example

If you have a temperature controller device configured in a room, you can create a rule to change the state of the device to Hot and trigger the Too hot event when the temperature reaches 22 degrees or higher.