Function library lenzedrive.lib, Analog signal processing, 2 loading of the ramp generator – Lenze DDS Function library Drive User Manual

Page 35

Advertising
background image

Function library LenzeDrive.lib

Analog signal processing

2.2.14

Ramp generator (L_RFG)

2−25

L

LenzeDrive.lib EN 1.7

2.2.14.1

Calculation and setting of the acceleration and deceleration times

The acceleration time and deceleration times refer to a change of the output value from 0 to 100 %
(100% = 16384). The times to be set: T

ir

and T

if

can be calculated from the formula in Fig. 2−27:

100%

0

tir

tif

T ir

T if

t

nOut_a

[%]

w1

w2

T

ir

+ t

ir

100%

w2

* w1

T

if

+ t

if

100%

w2

* w1

Fig. 2−27

Acceleration and deceleration times of L_RFG

w1, w2 Change of the main setpoint, depending on t

ir

resp. t

if

Here t

ir

and t

if

are the required times for the change between w1 and w2

.

The calculated values T

ir

and T

if

are entered under dnTir and dnTif.

2.2.14.2

Loading of the ramp generator

By using nSet_a and bLoad_b you can initialize the ramp generator with defined values.

·

As long as bLoad_b = TRUE, the signal at nSet_a is output to nOut_a.

·

If bLoad_b is set = FALSE, then the ramp generator runs with the preset T

i

−times from the

loaded value through nSet_a to the value at nIn_a.

Note!

16384

º 100 % º C0011 (n

max

)

Advertising