18 function library – Lenze 8400 User Manual
Page 1218

18
Function library
18.1
Function blocks | L_ConvUnitsToIncr_1
1218
Lenze · 8400 protec HighLine · Reference manual · DMS 3.0 EN · 03/2013 · TD05
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
Conversion formula for modes 1 ... 3
[18-18] Conversion formula for [Unit] [increments]
Example
• All gearbox factors = 1
• Feed constant = 360°/revolution
: Gearbox factor (numerator)
: Gearbox factor (denominator)
: Encoder gearbox factor (numerator)
: Encoder gearbox factor (denominator)
: Feed constant
dnOut_p [incr.]
Input value [Unit] C01202/1
C01202/2
------------------------- C01203/2
C01203/1
------------------------- 65536 Incr./rev.
[
]
C01204
---------------------------------------------
⋅
⋅
⋅
=
Conversion mode
(
)
wInHWord
wInLWord
Input value
[Unit]
dnOut_p
[Increments
0 dnOut_p=HW+LW
(no conversion)
32-bit input value*
-32000
-32000
65535
33536
1 16 bits: LW=+/-32767
No meaning
16-bit input value*
-32000
-5825422
65535
33536
2 16 bits: HW=+/-; LW=0..65535
Sign
16-bit input value
-33536
-6105042
65535 ≡ negative
33536
3 32 bits: HW_LW=+/-214748_3647
32-bit input value**
-3.2000
-582
65535
33536
* Two's complement
** Two's complement with four decimal positions