[ENG] 10.2. [DKSF 54.2 IU] How to Use the Module «Logic»?

Rules allow setting a flexible logic map for controlling a functionality of a device depending on changing external conditions.

1. Number of a Rule

The less a number of a line is, the higher a rule priority is. If two rules form a controversial outgoing command (switch on and switch off an output simultaneously), a rule with a higher priority will work. If rules do not conflict because they control different outputs, or form conflict-free commands, then a correlation of their priorities does not influence the operation.

Rules of «While» type always have a higher priority related to rules of «If» type, regardless their mutual location in the list.

A rule priority (position in the list) can be changed using buttons 8 («Move up» and «Move down») at the end of a line.

2. Checkbox for Activating a Rule

A rule can be activated by checking a checkbox. Inactive rules are displayed in gray.

3. Type of a Rule (Rule Operation Mode)

Possible values are: «While», «If». «While» rules react to the input status and work constantly. «If» rules react to changing in an input status.

A rule of «While» type is designed to program conditions, within which an output is constantly kept in a specified state until a condition is satisfied. When a condition is not satisfied, an input status can be changed by other rules.

A rule of «If» type is designed to program a momentary reaction to the specified condition, such as changing a logic level at an IO line or losing a response during the operation of Pinger. Until the input of a rule remains unchanged, an «If» rule does not influence a status of its output, even if a condition of a rule is satisfied.

«While» rules always have a higher priority, then «If» rules.

For example, while one of «While» rules keeps an output switched off, logic rules of «If» type, which switch on the input on a specified event, will not work.

4. Input

An input is an information source for a rule operation. Its possible values are represented in the table below:

 

Indication

Description

RESET

A signal, which is active 5 seconds after starting the module «Logic» or rebooting the module «Logic» by the button «Reset» at the web page. It is used for a primary hardware initialization. For example, it is possible to program a 5-second pulse for a relay at a logic start or issue an IR command to switch a device off

IO 1

IO line 1. It must be switched to the mode «input» at the page «INPUT-OUTPUT» before using

IO 2

IO line 2. It must be switched to the mode «input» at the page «INPUT-OUTPUT» before using

IO 3

IO line 3. It must be switched to the mode «input» at the page «INPUT-OUTPUT» before using

IO 4

IO line 4. It must be switched to the mode «input» at the page «INPUT-OUTPUT» before using

TSTAT 1

Thermostat 1. A thermostat must be configured at the page «LOGIC» before using

TSTAT 2

Thermostat 2. A thermostat must be configured at the page «LOGIC» before using

PINGER 1

Pinger 1. A pinger must be configured at the page «LOGIC» before using

PINGER 2

Pinger 2. A pinger must be configured at the page «LOGIC» before using

SMOKE 1Smoke sensor at the channel 1. It must be configured at the page «SMOKE» before using
SMOKE 2Smoke sensor at the channel 2. It must be configured at the page «SMOKE» before using
SMOKE 3Smoke sensor at the channel 3. It must be configured at the page «SMOKE» before using
SMOKE 4Smoke sensor at the channel 4. It must be configured at the page «SMOKE» before using

C.S. ALARM

An alert signal of a smoke sensor (current sensor). A signal «C.S.ALARM» operates when parameters of a sensor leave configured conditions «Alert» at the page «SMOKE» of a device web interface

C.S. FAIL

A signal of a failure of a smoke sensor (current sensor). A signal «C.S. FAIL» operates when parameters of a sensor leave configured conditions «Loop breakage» and «Loop Short Circuit» at the page «SMOKE» of a device web interface

C.S. NORMA signal of a normal operation of a smoke sensor (current sensor). A signal «C.S. NORM» operates when parameters of a sensor satisfy configured conditions of «Alert», «Loop Breakage», «Loop Short Circuit» at the page «SMOKE» of a device web interface
AC PWRAvailability of 220V power at an input of a device

5. Condition

A condition, within which a rule is used, and a command is issued, which changes an input status. An available set of conditions is changed depending on a selected type of a task. Conditions represent a sense of an input status:

  • for a reset signal «RESET» possible values are «logic 0», «logic 1»;
  • for an IO line possible values are«logic 0», «logic 1»; 
  • for a thermostat possible values are «Below Specified Т», «Above Specified Т»;
  • for a pinger possible values are «Silent», «Responds»;
  • for 1-wire smoke sensors – «= Normal», «= Alert», «= Off», «= Failure»;
  • for signals of a smoke sensor (a current sensor) – «logic 0», «logic 1»;
  • for a signal of an availability of 220 V power at an input of a device – «Absent», «Present»

A rule of an «If» type will work only in the moment of satisfying a condition.

A rule of a «While» type operates all the time when a condition is satisfied.

6. Command

A command, which is executed when a rule operates (a condition is fulfilled).

For an «If» rule possible values are – «On», «Off», «Switch». These commands operate in the moment of satisfying a condition.

For a «While» rule possible values are  – «Keep On», «Keep Off». These commands operate all the time while a condition is fulfilled.

7.  Output

An output, which is controlled by a rule. Its possible values are represented in the table below:

 

Inication

Description

IO 1

IO line 1. It must be switched to the mode «logic output» at the page «INPUT-OUTPUT» before using

IO 2

IO line 2. It must be switched to the mode «logic output» at the page «INPUT-OUTPUT» before using

IO 3

IO line 3. It must be switched to the mode «logic output» at the page «INPUT-OUTPUT» before using

IO 4

IO line 4. It must be switched to the mode «logic output» at the page «INPUT-OUTPUT» before using

RELAY 1

Relay 1, built into a body of a device. It must be set to the mode «Logic» at the page «RELAYS» before using

RELAY 2Relay 2, built into a body of a device. It must be set to the mode «Logic» at the page «RELAYS» before using
RELAY 3Relay 3, built into a body of a device. It must be set to the mode «Logic» at the page «RELAYS» before using
RELAY 4Relay 4, built into a body of a device. It must be set to the mode «Logic» at the page «RELAYS» before using

SNMP 1

SNMP Setter 1. It must be configured at the page «LOGIC» before using

SNMP 2

SNMP Setter 2. It must be configured at the page «LOGIC» before using

IR 1

IR command 1. A command must be recorded and saved into the cell 1 at the page «IR COMMANDS» before using

IR 2

IR command 2. A command must be recorded and saved into the cell 2 at the page «IR COMMANDS» before using

IR 3

IR command 3. A command must be recorded and saved into the cell 3 at the page «IR COMMANDS» before using

IR 4

IR command 4. A command must be recorded and saved into the cell 4 at the page «IR COMMANDS» before using

C.S. PWR

Before using the C.S. PWR output, there is a need to switch a power supply of a loop into the mode «Controlled by logic» at the page «SMOKE»

SMOKE RSTReset activation of all connected smoke sensors.

8. Buttons Move Up/Move Down

The buttons are designed for changing a position of a rule in the list and thus changing a rule priority. If rules form conflicting commands for an output, a rule that is located higher in the list will operate. However, «While» rules always have a higher priority regarding «If» rules regardless their mutual location in the list.

9. Controls

Controls operate directly when clicking them. There is no need to click the button «Apply changes» additionally.

Buttons «Start» and «Stop» control starting and stopping of rules operation. This status is kept when a device is switched off. If rules are stopped, a warning line of a logic status appears «10».

A button «Reset» switches the outputs, controlled by a logic module, to the specified intial status and initialtes a reset signal. The rules, which have a reset signal «RESET» as an input, may switch outputs into necessary required initial status. There is a need to note that if rules are not stopped before clicking the button «Reset», a status of outputs can be immediately changed, and a reset command will not have any external effect.

10. Status Line

If rules operation is stopped, then a warning line appears.

11. Button for Saving Changes

After setting all necessary parameters, click the button «Apply changes».

Restrictions

A logic module of a NetPing 4/PWR-220 v3/SMS device does not support the next «inputs» of a rule:

  • IO 1
  • IO 2
  • IO 3
  • IO 4
  • C.S. ALARM
  • C.S. FAIL
  • C.S. NORM

A logic module of a NetPing 4/PWR-220 v3/SMS device does not support the next «outputs» of a rule:

  • IO 1
  • IO 2
  • IO 3
  • IO 4
  • IR 1
  • IR 2
  • IR 3
  • IR 4
  • C.S. PWR