Function library lenzedrive.lib, Digital signal processing, 2 evaluate falling edges – Lenze DDS Function library Drive User Manual

Page 47: 3 evaluate rising and falling edges

Advertising
background image

Function library LenzeDrive.lib

Digital signal processing

2.3.7

Edge evaluation (L_TRANS)

2−37

L

LenzeDrive.lib EN 1.7

2.3.7.2

Evaluate falling edges

byFunction = 1

t

t

bIn−b

bOut_b

wPulseTime

wPulseTime

Fig. 2−47

Evaluation of TRUE−FALSE transitions

Functional sequence

1. If a TRUE−FALSE or a FALSE−TRUE transition occurs at nIn_b, then bOut_b switches = TRUE.

2. After the time defined as wPulseTime has elapsed, then bOut_b switches = FALSE, provided

no further TRUE−FALSE transition has occurred at nIn_b.

2.3.7.3

Evaluate rising and falling edges

byFunction = 2

t

t

bIn_b

bOut_b

wPulsTime

wPulsTime

Fig. 2−48

Evaluation of both transitions

Functional sequence

1. If a TRUE−FALSE or a FALS−TRUE transition occurs at nIn_b, then bOut_b switches = TRUE.

2. After the time defined as wPulseTime has elapsed, then bOut_b switches = FALSE, provided

no further TRUE−FALSE or FALSE−TRUE transition has occurred at nIn_b.

Advertising