Instructions
Library
akYtec GmbH · Vahrenwalder Str. 269 A · 30179 Hannover · Germany · Tel.: +49 (0) 511 16 59 672-0 · www.akytec.de
46
Fig. 6.11
The output value may not exceed 4294967295 (32 bits). If it does happen, the extra bits
will be truncated.
6.1.2.4 Division (DIV, fDIV)
Fig. 6.12
The function DIV operates with INT variables, the function fDIV operates with REAL vari-
ables.
The output value Q is the quotient of the input values, where the value I1 is the dividend
and the value I2 is the divisor.
If the quotient is not an INT, it is rounded down to an INT.
In case of division by 0 the output value is 0xFFFFFFFF.
6.1.2.5 Modulo operation (MOD)
Fig. 6.13
The function MOD operates with INT variables. The output Q is a remainder of the divi-
sion of input values.
𝑄 = [
𝑉1
𝑉2
]
Example:
Fig. 6.14
6.1.2.6 REAL-Power function (fPOW)
Fig. 6.15
The function fPOW operates with REAL variables.










