Adding logic schemes (v2.0.1 - v2.2.5)

Logic schemes are used to specify automatic actions to events that occur in the system.

Logic schemes represent a set of conditions ( IF) and a set of actions that are executed ( THEN).  Conditions can be combined using AND and OR.  To  carry out the actions it is possible to set required action repeat timeout.  If timeout equals 0 the action will be executed once.

Logic scheme will work only if the combination of conditions is true.  Otherwise the logic scheme will be disabled.

If logic scheme is disabled the reverse actions of actions in THEN will not be executed.  To execute reverse actions you have to set up a new logic scheme.

 

To add, edit, deactivate or remove a logic scheme, go to "Preferences" , select "Logic schemes" and click on the item "Add", "Edit", "Deactivate" or "Delete".

When editing or adding a logic scheme, specify the logic scheme name. 

Create a set of conditions IF.  Select name of element in "Element" and state of element in "State" as a condition for logic.  To add an additional condition use AND or OR in the field "Operator". 

If a sensor with an analog output changes its state very rapidly ( e.g. vibration sensor), the state of the element can change from "Low" to "Alarm" and vice versa,  without going through the state of "Warning", and "Normal".

 

Create a set of executable actions THEN.  Select name of element in "Element" and state of element in "State" into which element goes after the logic is triggered.

If necessary,  in "Timeout" field, specify the time in seconds to create a pause before the element switches into the new state after the logic is triggered.

If, within the specified time-out logic is deactivated, the element will not change its state.


Save created logic.

Example of adding a logic scheme

For example you have a telecommunication rack with servers and equipment. You need to activate fans inside a rack when temperature reaches 36°C. If temperature reaches 44°C you need to activate second fan and to notify the administrator via e-mail and SMS.

You have:

#DeviceDescription
1"Temperature"Temperature sensor installed inside a rack
2"Relay 1"Controls fan #1
3"Relay 2"Controls fan #2
4"E-mail"Notification via e-mail. Created by user
5"SMS"Notification via SMS. Created by user

1. Edit the thresholds of "warning" and "alarm" levels for the temperature sensor.  Set "warning level" to 36°C and "alarm level" to 44°C.

2. Create "E-mail" and  "SMS" notifications.  Follow the steps in section Adding logic schemes (v2.0.1 - v2.2.5).

3. Go to "Preferences" . Select "Logic schemes".  Add 3 logic schemes as follows:

a. First logic scheme will turn on Fan#1 when temperature reaches 36°C.

b. Second logic scheme will turn on Fan#2 when temperature reaches 44°C.  SMS and e-mail notifications will be sent.

c. Third logic will turn off Fan#1 and Fan#2 when temperature falls into "normal" ("Normal" level is between "low" and "warning" levels. Thus below 36°C in this example).

 

To save the settings of elements and logic schemes in the flash memory of the device go to  System menu->Save setting to flash