2 delay (l_digdel), Delay (l_digdel), Function library lenzedrive.lib – Lenze DDS Function library Drive User Manual

Page 40: Digital signal processing, 1 on−delay

Advertising
background image

2.3.2

Delay (L_DIGDEL)

Function library LenzeDrive.lib

Digital signal processing

2−30

L

LenzeDrive.lib EN 1.7

2.3.2

Delay (L_DIGDEL)

This FB delays binary signals.

bIn_b

L_DIGDEL

byFunction

0

t

wDelayTime

bOut_b

Fig. 2−34

Delay element (L_DIGDEL)

VariableName

DataType

SignalType

VariableType

Note

bIn_b

Bool

binary

VAR_INPUT

bOut_b

Bool

binary

VAR_OUTPUT

byFunction

Byte

VAR CONSTANT RETAIN

Selection of the function

wDelayTime

Word

VAR CONSTANT RETAIN

Delay time

Parameter codes of the instances

VariableName

L_DIGDEL1

L_DIGDEL2

SettingRange

Lenze

byFunction

C0720

0 ... 2

2

C0725

0

wDelayTime

C0721

C0726

0.001 ... 60.000 s

1.000

Range of functions

·

On−delay

·

Dropout delay

·

General delay

2.3.2.1

On−delay

byFunction = 0

t

t

bIn_b

bOut_b

wDelayTime

wDelayTime

Fig. 2−35

On−delay

The FB L_DIGDEL operates like a retriggerable monostable circuit.

Functional sequence

1. A FALSE−TRUE transition at nIn_b starts the timer element.

2. If the delay time has elapsed, that is set by wDelayTim has elapsed, bOut_b switches

immediately = TRUE.

3. A TRUE−FALSE edge at nIn_b resets the timer element, and switches bOut_b = FALSE,

immediately.

Advertising