19 function library – Lenze 8400 TopLine User Manual

Page 1451

Advertising
background image

Lenze · 8400 TopLine · Reference manual · DMS 6.0 EN · 06/2014 · TD05/TD14

1451

19

Function library

19.1

Function blocks

_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

Conversion formula for modes 1 ... 3

[19-18] Conversion formula for [Unit]  [increments]

Example

• All gearbox factors = 1
• Feed constant = 360°/revolution

C01202/1

: Gearbox factor (numerator)

C01202/2

: Gearbox factor (denominator)

C01203/1

: Encoder gearbox factor (numerator)

C01203/2

: Encoder gearbox factor (denominator)

C01204

: Feed constant

dnOut_p [incr.]

Input value [Unit] C01202/1

C01202/2

------------------------- C01203/2

C01203/1

------------------------- 65536 Incr./rev.

[

]

C01204

---------------------------------------------

=

Conversion mode

(

C01294

)

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

Advertising