3 digital signal processing, 1 logical and (l_and), Digital signal processing – Lenze DDS Function library Drive User Manual

Page 39: Logical and (l_and), Function library lenzedrive.lib

Advertising
background image

Function library LenzeDrive.lib

Digital signal processing

2.3.1

Logical AND (L_AND)

2−29

L

LenzeDrive.lib EN 1.7

2.3

Digital signal processing

2.3.1

Logical AND (L_AND)

This FB implements the logical AND combination of binary signals. These operations can be used
for the control of functions or the generation of status information.

&

bIn1_b

bIn2_b

bOut_b

L_AND

bIn3_b

Fig. 2−32

Logical AND (L_AND)

VariableName

DataType

SignalType

VariableType

Note

bIn1_b

Bool

binary

VAR_INPUT

bIn2_b

Bool

binary

VAR_INPUT

bIn3_b

Bool

binary

VAR_INPUT

bOut_b

Bool

binary

VAR_OUTPUT

Truth table

bIn1_b

bIn2_b

bIn3_b

bOut_b

0

0

0

0

1

0

0

0

0

1

0

0

1

1

0

0

0

0

1

0

1

0

1

0

0

1

1

0

1

1

1

1

0 = FALSE

1 = TRUE

The function corresponds to a series connection of normally−open contacts in a contactor control.

bIn1_b

bIn2_b

bIn3_b

bOut_b

Fig. 2−33

AND function as a series connection of normally−open contacts

Note!

Use the inputs bIn1_b and bIn2_b if you only need two inputs. Fix input bIn3_b to TRUE.

Advertising