1 arithmetic function, Arithmetic function 4, The integrated – Lenze 8400 TopLine User Manual
Page 1724: Arithmetic function, Factor, 19 function library
19
Function library
19.2
System blocks
1724
Lenze · 8400 TopLine · Reference manual · DMS 6.0 EN · 06/2014 · TD05/TD14
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
19.2.34.1 Arithmetic function
The implemented arithmetic function enables easy arithmetic conversion of the process values to
be written or read via parameterisable factors into the format of the target parameter without the
need of an additional arithmetic function block.
• In
, the interpretation of the wInHWord and wInLWord inputs can be set to be able to
write to parameters:
Internal conversion
If arithmetic modes 1 ... 3 are selected in
, the input value / read parameter value is
internally converted via parameterisable factors.
• Division is not remainder considered.
[19-82] Internal conversion with write access
[19-83] Internal conversion with read access
Arithmetic mode
wInHWord
wInLWord
Internal conversion
0 No arithmetic
(Lenze setting)
INTEGER_32
(4 bytes with sign)
No
(same behaviour as
before)
DataHigh portion
DataLow portion
1 In16Bit:
LW=+/-32767
-
INTEGER_16
(2 bytes with sign)
Yes
(see the following
section)
2 In16Bit: HW=+/-;
LW=0..65535
Sign
(0 ≡ positive value)
UNSIGNED_16
(2 bytes without sign)
3 In32Bit: HW_LW=
+/-2147483647
INTEGER_32
(4 bytes with sign)
DataHigh portion
DataLow portion
: Numerator
: Denominator
parameter value to be written
Input value
[32]
Counter
[16]
Denominator
[16]
-------------------------------------------
⋅
=
: Numerator
: Denominator
Output value
[32]
Read parameter value
Counter
[16]
Denominator
[16]
-------------------------------------------
⋅
=