How are Rules used?

When you add a sensor, there is one section with the heading Rules. Rules allow innius to define sensor data which is in a cautionary or emergency state and trigger notifications to users. You can refer to the articles on notifications for more information. Besides this, a rule can also create a task based on a task template (See articles on machine tasks for more information). You can setup as many rules per sensor as you need.

There are 2 places where you can define rules:

  1. On the sensor configuration page:
  2. From the rules overview page, which can be accessed via the machine menu:

Any or all of the cautionary and emergency states can be defined, but none are required. For all states the same options are available.

When setting up a rule, the first thing to do is to select one of the ten different conditions available.

Next, the values themselves need to be defined. This can be done in one of two ways: either by defining a value or by selecting another sensor. If you select a sensor, you use values generated by that sensor to create a variable threshold.

Tip: When using values to define rules, use the same number of decimal places as defined in the sensor definition.

You then need to set up how rules will be triggered. There are three options. 'Normal' will trigger the rule as soon as the sensor generates a value which meets the defined condition. 'Duration (in seconds)' will trigger the rule after a sensor generates values meeting the defined condition consecutively for a given number of seconds. 'Counter (consecutive)' will trigger the rule after a sensor consecutively generates values meeting the defined condition for a given number of occurrences.

On the sensor configuration page there is also the option to allow sensor state changes to change the state of the machine as a whole. Check this if you want to allow that to happen.

Have more questions? Submit a request

Comments