Instructions

Library
akYtec GmbH · Vahrenwalder Str. 269 A · 30179 Hannover · Germany · Tel.: +49 (0) 511 16 59 672-0 · www.akytec.de
42
6 Library
If a project is open, the panel Library Box contains the following libraries:
Functions
Function blocks
Project macros
Select an icon in the lower part of the panel to show the respective content.
The library Project macros comprises the macros that have been created, imported or
included to the project from Online Database.
View options can be changed using the icons located in the toolbar of the panel.
6.1 Functions
The library contains the following function groups:
Logical operators
Mathematical operators
Relational operators
Bitshift operators
Bit operators
6.1.1 Logical operators
Conjunction (AND)
Disjunction (OR)
Negation (NOT)
Exclusive OR (XOR)
The logical operators can operate with BOOL or INT variables.
If the input values are INT, the operation is bitwise performed and the output is also an
INT.
6.1.1.1 Conjunction (AND)
Fig. 6.1
The output Q is True if both inputs are True. The function AND represents a serial con-
nection in an electrical circuit.
Table 6.1 Truth table
I1
I2
Q
0
0
0
0
1
0
1
0
0
1
1
1
Bitwise operation example with integer inputs:
0101 (decimal 5)
AND 0011 (decimal 3)
= 0001 (decimal 1)