Lenze · 8400 HighLine · Reference manual · DMS 12.0 EN · 06/2017 · TD23 1554
17 Function library
17.2 System blocks | LS_ParReadWrite_1-6
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
17.2.28.1 Arithmetic function
This function extension is available from version 06.00.00!
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 C01093
, 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 C01093
, the input value / read parameter value is
internally converted via parameterisable factors.
• Division is not
remainder considered.
[17-80] Internal conversion with write access
[17-81] 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
1In16Bit:
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
C01094
: Numerator
C01095
: Denominator
parameter value to be written Input value
[32]
Counter
[16]
Denominator
[16]
-------------------------------------------
⋅=
C01094: Numerator
C01095
: Denominator
Output value
[32]
Read parameter value
Counter
[16]
Denominator
[16]
-------------------------------------------
⋅=