Technical data
Drive functions
7.3 Function modules
Function Manual
Function Manual, 06/2012, 6SL3097-4AB10-0BP4
305
7.3.8.10 DIV (divider)
Brief description
REAL-type divider with two inputs
Mode of operation
This function block divides the value entered at input X
0
by the value entered at input X
1
. The
result is output at the outputs as follows:
● Y output: Quotient with places before and after the decimal point
● YIN output: Integer quotient
● MOD output: Division remainder (absolute remainder value, MOD = (Y - YIN) × X0)
The Y output is limited to a range of approx. -3.4E38 to +3.4E38.
If output value Y exceeds the permissible value range of approx. -3.4E38 to 3.4E38
(because divisor X
1
is very small or zero), the limit value of the output range with the correct
sign is output at the Y output. At the same time, digital output QF is set to 1.
With a division of 0/0, block output Y remains unchanged. Digital output QF is set to 1.
7.3.8.11 AVA (absolute value generator with sign evaluation)
Brief description
REAL-type arithmetic function block for generating absolute values
Mode of operation
This function block generates the absolute value of the value present at input X. The result is
output at output Y.
Y = |X|
If the input variable is negative, digital output SN is set to 1.










