Creating rules based on events and arguments - Industrial IoT 5.0.1.1 | BACnet | Modbus | OPC Client | SNMP Manager

Industrial IoT Plugin Guide 5.0.1.1

Applies to
Industrial IoT 5.0.1.1 | BACnet | Modbus | OPC Client | SNMP Manager
Last updated
2023-02-09
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 data point event, with or without arguments, occurs, you can create a rule in Security Center.

What you should know

Event-based rules only apply to SNMP and TCP devices.

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 event 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 an event
    Select the device event that the rule applies to.
  6. (Optional) To add an argument to the rule, click Add an argument (), and select an argument, an operator, and a value.
  7. 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.

    If you added an argument to your event, the Auto-acknowledge option would also be available. Select this 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.
  8. (Optional) To add more actions to the rule, click Add action () and configure the action.
  9. Click Apply.

Results

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

Example

Suppose your company has printers that can send the SNMP trap Low ink when the ink level is low. You can create a rule for all your printers to convert the SNMP trap into the Security Center custom event, Toner level low, and trigger the alarm Replace toner, every time a printer reports that it is almost out of ink.