1.5.3 IF/THEN Rules.
IF/THEN equations are used f.ex. to determine the reaction pattern of the various alarm types: Which alarms
should be transferred, by means of a relay output, to an external alarm system, and which alarms should
activate a siren or another alarm indicator.
The IF/THEN rule or equation determines the interdependence of one or more inputs and/or a number of logical
events - IF part, and outputs - THEN part.
IF (inputs) THEN (output)
or
(output) = (inputs)
The IF part, the right side of the equation, is an expression of input softtypes where the logical functions AND or
OR are used. AND represented by "*" and OR is represented by "+".
The THEN part, left side of the equation, is one output softtype that becomes activated when the conditions for
the IF part are fulfilled.
Example:
O = i1 + i2 + (i3 * i4)
Explanation: All outputs with softtype "O" are activated, once at least one input with softtype "i1" OR at least one
input with softtype "i2" OR a combination of at least one input with softtype "i3" AND at least one input with
softtype "i4", is activated.
The THOR Card Reader makes it possible to define up to 10 IF/THEN rules (one rule for each of the softtypes
90-99).
The following rules are implicit in the access unit and cannot be edited:
02 = 07
07 = 79
12 = 13
70 = 70
71 = 71
72 = 72
73 = 73
74 = 74
79 = 80
83 = 80
Only
the types
90-99
can be used as output types in
IF/THEN
rules.