Appendix B - Table of Functions of Universal Blocks
Function
number
Output
(OUT of the block)
Description
17
If (a = H) OUT = b.
If (a = L) OUT remains
without changes.
Value OUT of the unit changes only if there is value H on an
a
input.
18
a OR b OR c
OUT of the unit is logical sum of values of input
a, b
and
c.
CAUTION: it is not an operation on bits! (0 means an input = 0, 1 means an input ≠ 0).
a
b
c
OUT
0
0
0
0
0
0
1
1
0
1
0
1
0
1
1
1
1
0
0
1
1
0
1
1
1
1
0
1
1
1
1
1
19
a AND b AND c
OUT of the unit is logic product of values of inputs
a, b
and
c
a
b
c
OUT
0
0
0
0
0
0
1
0
0
1
0
0
0
1
1
0
1
0
0
0
1
0
1
0
1
1
0
0
1
1
1
1
20
a XOR b
OUT of the unit is a result of operation XOR (exclusive OR) on inputs
a
and
b
a
b
OUT
0
0
0
0
1
1
1
0
1
1
1
0
21
NOT (a OR b OR c)
OUT of the unit is inversion of logical sum of values
a, b
and
c
. (NOR)
22
NOT (a AND b AND c)
OUT of the unit is inversion of logical product of values
a, b
and
c
. (NAND).
23
NOT (a)
Logic inversion of an input value
a
.
24
According to Truth Table
a = R, b = S
Trigger RS. Input R has the priority.
R
S
Q
R
S
OUT
0
0
n-1
R
0
1
1
1
0
0
1
1
0
25
According to Truth Table
a = D, b = CLK, c = R
Trigger D (Latch).
CLK
D
Q
R D
OUT
0 0
n-1
0
1
0 0
0
1 X
R
c
a
b
PCH
CLK
X
0
n-1
0
1
0
1
1
0
0
n-1
n-1
0 1 1
0
26
Current value of the
counter
a = CLK, b = CLR, c = DIR
Caution: the output of this
counter can assume
positive and negative
values in range.
<-32768...32767>.
The counter with reset and direction
inputs.
The minimal period for CLK is 20ms. It
concerns all counters.
27
Current value of the
counter:
a = CLK,
b = SET,
c = initial value
“One shot” counter type, counting down with an input setting on initial value (SET) and an
input of initial value.
74
Frequency converter MFC710 type. TWERD Power Electronics
CLK
DIR
CLR
OUT
0